| | |
| | | This module includes Administration APIs for implementing LDAP Directory |
| | | client and server applications. |
| | | </description> |
| | | <packaging>bundle</packaging> |
| | | <!-- Change to bundle when/if we have a need --> |
| | | <packaging>jar</packaging> |
| | | <dependencies> |
| | | <dependency> |
| | | <groupId>org.forgerock.commons</groupId> |
| | |
| | | <build> |
| | | <plugins> |
| | | <plugin> |
| | | <groupId>org.codehaus.mojo</groupId> |
| | | <artifactId>build-helper-maven-plugin</artifactId> |
| | | <version>1.8</version> |
| | | <executions> |
| | | <!-- Parse the maven version to get version parts (major, minor, ...) --> |
| | | <execution> |
| | | <id>parse-version</id> |
| | | <goals> |
| | | <goal>parse-version</goal> |
| | | </goals> |
| | | </execution> |
| | | <!-- Add generated source directories to build --> |
| | | <execution> |
| | | <id>add-source</id> |
| | | <phase>generate-sources</phase> |
| | | <goals> |
| | | <goal>add-source</goal> |
| | | </goals> |
| | | <configuration> |
| | | <sources> |
| | | <source>${project.build.directory}/generated-sources/java</source> |
| | | <source>${project.build.directory}/generated-sources/admin</source> |
| | | </sources> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <!-- Retrieve the SVN revision number and the build timestamp --> |
| | | <plugin> |
| | | <groupId>org.codehaus.mojo</groupId> |
| | | <artifactId>buildnumber-maven-plugin</artifactId> |
| | | <version>1.2</version> |
| | | <executions> |
| | | <execution> |
| | | <id>generate-buildnumber</id> |
| | | <goals> |
| | | <goal>create</goal> |
| | | </goals> |
| | | <configuration> |
| | | <useLastCommittedRevision>true</useLastCommittedRevision> |
| | | <buildNumberPropertyName>buildRevision</buildNumberPropertyName> |
| | | </configuration> |
| | | </execution> |
| | | <execution> |
| | | <id>generate-timestamp</id> |
| | | <goals> |
| | | <goal>create</goal> |
| | | </goals> |
| | | <configuration> |
| | | <format>{0,date,yyyyMMddHHmmss}</format> |
| | | <items> |
| | | <item>timestamp</item> |
| | | </items> |
| | | <buildNumberPropertyName>buildDateTime</buildNumberPropertyName> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <plugin> |
| | | <artifactId>maven-resources-plugin</artifactId> |
| | | <executions> |
| | | <execution> |
| | | <id>copy-resources</id> |
| | | <phase>generate-sources</phase> |
| | | <goals> |
| | | <goal>copy-resources</goal> |
| | | </goals> |
| | | <configuration> |
| | | <outputDirectory>${project.build.directory}/generated-sources/java</outputDirectory> |
| | | <resources> |
| | | <resource> |
| | | <directory>src/main/java-templates</directory> |
| | | <filtering>true</filtering> |
| | | </resource> |
| | | </resources> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.forgerock.commons</groupId> |
| | | <artifactId>i18n-maven-plugin</artifactId> |
| | | <executions> |
| | |
| | | </executions> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.felix</groupId> |
| | | <artifactId>maven-bundle-plugin</artifactId> |
| | | <extensions>true</extensions> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-surefire-plugin</artifactId> |
| | | </plugin> |
| | |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-source-plugin</artifactId> |
| | | </plugin> |
| | | <!-- Parse the maven version to get version parts (major, minor, ...) --> |
| | | <plugin> |
| | | <groupId>org.codehaus.mojo</groupId> |
| | | <artifactId>build-helper-maven-plugin</artifactId> |
| | | <version>1.8</version> |
| | | <executions> |
| | | <execution> |
| | | <id>parse-version</id> |
| | | <goals> |
| | | <goal>parse-version</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <!-- Retrieve the SVN revision number and the build timestamp --> |
| | | <plugin> |
| | | <groupId>org.codehaus.mojo</groupId> |
| | | <artifactId>buildnumber-maven-plugin</artifactId> |
| | | <version>1.2</version> |
| | | <executions> |
| | | <execution> |
| | | <id>generate-buildnumber</id> |
| | | <phase>validate</phase> |
| | | <goals> |
| | | <goal>create</goal> |
| | | </goals> |
| | | <configuration> |
| | | <useLastCommittedRevision>true</useLastCommittedRevision> |
| | | <buildNumberPropertyName>buildRevision</buildNumberPropertyName> |
| | | </configuration> |
| | | </execution> |
| | | <execution> |
| | | <id>generate-timestamp</id> |
| | | <phase>validate</phase> |
| | | <goals> |
| | | <goal>create</goal> |
| | | </goals> |
| | | <configuration> |
| | | <format>{0,date,yyyyMMddHHmmss}</format> |
| | | <items> |
| | | <item>timestamp</item> |
| | | </items> |
| | | <buildNumberPropertyName>buildDateTime</buildNumberPropertyName> |
| | | </configuration> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <!-- Filter java sources located in src/main/java-templates --> |
| | | <plugin> |
| | | <groupId>org.codehaus.mojo</groupId> |
| | | <artifactId>templating-maven-plugin</artifactId> |
| | | <version>1.0-alpha-3</version> |
| | | <executions> |
| | | <execution> |
| | | <id>filter-src</id> |
| | | <goals> |
| | | <goal>filter-sources</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | </plugins> |
| | | </build> |
| | | <reporting> |
| | |
| | | </plugin> |
| | | </plugins> |
| | | </reporting> |
| | | </project> |
| | | </project> |