| | |
| | | This module includes OpenDJ core APIs for implementing LDAP Directory |
| | | client and server applications. |
| | | </description> |
| | | <packaging>bundle</packaging> |
| | | <packaging>jar</packaging> |
| | | <dependencies> |
| | | <dependency> |
| | | <groupId>org.forgerock.commons</groupId> |
| | | <artifactId>i18n-core</artifactId> |
| | | <groupId>org.forgerock.opendj</groupId> |
| | | <artifactId>opendj-core</artifactId> |
| | | <version>${project.version}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.glassfish.grizzly</groupId> |
| | | <artifactId>grizzly-framework</artifactId> |
| | | <version>${grizzlyFrameworkVersion}</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.slf4j</groupId> |
| | | <artifactId>slf4j-api</artifactId> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>org.forgerock</groupId> |
| | | <artifactId>forgerock-build-tools</artifactId> |
| | | <version>${forgerockBuildToolsVersion}</version> |
| | | <scope>test</scope> |
| | | <groupId>org.forgerock.opendj</groupId> |
| | | <artifactId>opendj-grizzly</artifactId> |
| | | <version>${project.version}</version> |
| | | </dependency> |
| | | </dependencies> |
| | | <properties> |
| | |
| | | </properties> |
| | | <build> |
| | | <plugins> |
| | | <!-- Unpack opendj-core and opendj-grizzly to rebuild an unified jar with bundle --> |
| | | <plugin> |
| | | <groupId>org.forgerock.commons</groupId> |
| | | <artifactId>i18n-maven-plugin</artifactId> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-dependency-plugin</artifactId> |
| | | <version>2.8</version> |
| | | <executions> |
| | | <execution> |
| | | <phase>generate-sources</phase> |
| | | <id>unpack-dependencies</id> |
| | | <phase>package</phase> |
| | | <goals> |
| | | <goal>generate-messages</goal> |
| | | <goal>unpack-dependencies</goal> |
| | | </goals> |
| | | <configuration> |
| | | <messageFiles> |
| | | <messageFile>com/forgerock/opendj/ldap/core.properties</messageFile> |
| | | </messageFiles> |
| | | <includeArtifactIds>opendj-grizzly, opendj-core</includeArtifactIds> |
| | | <includes>**/*.class,**\/services\/*</includes> |
| | | <excludes>**/*.properties</excludes> |
| | | <outputDirectory>${project.build.directory}/classes</outputDirectory> |
| | | <overWriteReleases>false</overWriteReleases> |
| | | <overWriteSnapshots>true</overWriteSnapshots> |
| | | <excludeTransitive>true</excludeTransitive> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | |
| | | <groupId>org.apache.felix</groupId> |
| | | <artifactId>maven-bundle-plugin</artifactId> |
| | | <extensions>true</extensions> |
| | | <executions> |
| | | <execution> |
| | | <phase>package</phase> |
| | | <goals> |
| | | <goal>bundle</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | <configuration> |
| | | <instructions> |
| | | <Include-Resource>META-INF/services=target/classes/META-INF/services</Include-Resource> |
| | | </instructions> |
| | | </configuration> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |