| | |
| | | </executions> |
| | | </plugin> |
| | | |
| | | |
| | | <plugin> |
| | | <groupId>org.forgerock.opendj</groupId> |
| | | <artifactId>opendj-maven-plugin</artifactId> |
| | |
| | | </execution> |
| | | |
| | | <!-- Generate configuration classes from XML definitions --> |
| | | <!-- Leave default lifecycle phase once new config framework migration |
| | | is done --> |
| | | <!-- Leave default lifecycle phase once new config framework migration is done --> |
| | | <execution> |
| | | <id>generate-config</id> |
| | | <phase>generate-sources</phase> |
| | |
| | | <outputDirectory>${project.build.directory}/docgen/logref</outputDirectory> |
| | | <logMessageReferenceFilePath>${basedir}/resource/log-message-reference.xml</logMessageReferenceFilePath> |
| | | <messageFileNames> |
| | | <!-- for xxx_yyy.properties generates a log-ref-xxx-yyy.xml |
| | | file --> |
| | | <!-- for xxx_yyy.properties generates a log-ref-xxx-yyy.xml file --> |
| | | <messageFileName>admin</messageFileName> |
| | | <messageFileName>backend</messageFileName> |
| | | <messageFileName>config</messageFileName> |
| | |
| | | <messageFileName>tool</messageFileName> |
| | | <messageFileName>utility</messageFileName> |
| | | |
| | | <!-- Ignore following message files as we document only serious |
| | | errors. --> |
| | | <!-- Ignore following message files as we document only serious errors. --> |
| | | <!-- <messageFileName>access_control</messageFileName> --> |
| | | <!-- <messageFileName>admin_tool</messageFileName> --> |
| | | <!-- <messageFileName>quicksetup.properties</messageFileName> --> |
| | |
| | | </sources> |
| | | </configuration> |
| | | </execution> |
| | | <!-- Parse version to generate properties (major.version, minor.version, |
| | | ...) --> |
| | | <!-- Parse version to generate properties (major.version, minor.version, ...) --> |
| | | <execution> |
| | | <id>parse-version</id> |
| | | <goals> |
| | |
| | | </executions> |
| | | </plugin> |
| | | |
| | | <!-- Disable surefire plugin because all tests are run with failsafe |
| | | plugin --> |
| | | <!-- Disable surefire plugin because all tests are run with failsafe plugin --> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-surefire-plugin</artifactId> |
| | |
| | | <plugin> |
| | | <artifactId>maven-jar-plugin</artifactId> |
| | | <executions> |
| | | <!-- Package boostrap jar - contains only a manifest with classpath |
| | | for the server --> |
| | | <!-- Package boostrap jar - contains only a manifest with classpath for the server --> |
| | | <execution> |
| | | <id>build-bootstrap-jar</id> |
| | | <phase>prepare-package</phase> |
| | |
| | | </archive> |
| | | </configuration> |
| | | </execution> |
| | | <!-- Package boostrap-client jar - contains only a manifest with |
| | | classpath for clients --> |
| | | <!-- Package boostrap-client jar - contains only a manifest with classpath for clients --> |
| | | <execution> |
| | | <id>build-bootstrap-client-jar</id> |
| | | <phase>prepare-package</phase> |
| | |
| | | <artifactId>maven-antrun-plugin</artifactId> |
| | | <executions> |
| | | <execution> |
| | | <!-- Temporary solution for configuration classes until migration |
| | | to new config framework --> |
| | | <!-- Temporary solution for configuration classes until migration to new config framework --> |
| | | <id>generate-config</id> |
| | | <phase>generate-sources</phase> |
| | | <configuration> |
| | |
| | | unit-tests |
| | | |
| | | Tests are not run by default due to running time (average of 8-10 minutes). |
| | | |
| | | --> |
| | | <profile> |
| | | <id>precommit</id> |
| | |
| | | integration (with server), by using respectively surefire and failsafe plugin |
| | | to run them, but it will require identifying them. |
| | | We could use an "unit" marker in TestNG groups to do so. |
| | | |
| | | --> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | |
| | | <artifactId>build-helper-maven-plugin</artifactId> |
| | | <version>1.7</version> |
| | | <executions> |
| | | <!-- Add snmp source directory and snmp generated directory |
| | | as sources --> |
| | | <!-- Add snmp source directory and snmp generated directory as sources --> |
| | | <execution> |
| | | <id>snmp-java-sources</id> |
| | | <phase>generate-sources</phase> |