Barcode Xpress for Java v14.0 - Updated
Developer Guide / Licensing & Distributing / Deployment / Distributing / Distributing Barcode Xpress for Java
In This Topic
    Distributing Barcode Xpress for Java
    In This Topic

    Regardless of your deployment model, the first step in deploying your application is to package the required Barcode Xpress for Java runtime components.

    The contents of the “bin” directory of your Barcode Xpress for Java installation are the Barcode Xpress for Java runtime components. The following files are required for deployment:

    • barcodexpressjava-14.0.jar

    Distributing with Maven

    Accusoft hosts a public maven repository at http://mvn.accusoft.com that can be used to distribute the required dependencies. The samples include a POM file that uses this repository. In order to use this, first add the Accusoft repository to your list:

    pom.xml

    …
      <repositories>
        <repository>
          <releases>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
            <checksumPolicy>warn</checksumPolicy>
          </releases>
          <snapshots>
            <enabled>false</enabled>
            <updatePolicy>never</updatePolicy>
            <checksumPolicy>fail</checksumPolicy>
          </snapshots>
          <id>accusoft-group</id>
          <name>Accusoft Maven Caching Proxy</name>
          <url>http://mvn.accusoft.com/</url>
          <layout>default</layout>
        </repository>
      </repositories>
    …
    
    

    Once the repository is added, the only required dependency can be added to the project:

    pom.xml

    …
      <dependencies>
        <dependency>
            <groupId>com.accusoft.barcodexpress</groupId>
            <artifactId>barcodexpressjava</artifactId>
            <version>MAJOR.MINOR</version>
        </dependency>    
      </dependencies>
    …