-
Notifications
You must be signed in to change notification settings - Fork 44
Using
Philip Helger edited this page May 27, 2020
·
3 revisions
Note: x.y.z always denotes the version you need. See Home for the most current version.
Add the following to your pom.xml to use this artifact:
<dependency>
<groupId>com.helger.as2</groupId>
<artifactId>as2-lib</artifactId>
<version>x.y.z</version>
</dependency>For the MongoDB partnership factory, add the following to your pom.xml:
<dependency>
<groupId>com.helger.as2</groupId>
<artifactId>as2-partnership-mongodb</artifactId>
<version>x.y.z</version>
</dependency>For the receive servlet, add the following to your pom.xml:
<dependency>
<groupId>com.helger.as2</groupId>
<artifactId>as2-servlet</artifactId>
<version>x.y.z</version>
</dependency>For the standalone socket server, add the following to your pom.xml:
<dependency>
<groupId>com.helger.as2</groupId>
<artifactId>as2-server</artifactId>
<version>x.y.z</version>
</dependency>Note: prior to v4.6.0 the Maven groupId was com.helger.
Alternatively you can use the parent POM as a BOM to have all dependencies included "automagically". Please note, that this only works inside the <dependencyManagement> part of your pom.xml:
<dependencyManagement>
<dependencies>
...
<dependency>
<groupId>com.helger.as2</groupId>
<artifactId>as2-lib-parent-pom</artifactId>
<version>x.y.z</version>
<type>pom</type>
<scope>import</scope>
</dependency>
...
</dependencies>
</dependencyManagement>Note: prior to v4.6.0 the Maven groupId was com.helger.