| | |
| | | </configuration> |
| | | </plugin> |
| | | </plugins> |
| | | <pluginManagement> |
| | | <plugins> |
| | | <plugin> |
| | | <groupId>org.opendj</groupId> |
| | | <artifactId>opendj-maven-plugin</artifactId> |
| | | <version>${project.version}</version> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-surefire-plugin</artifactId> |
| | | <configuration> |
| | | <properties> |
| | | <property> |
| | | <name>useDefaultListeners</name> |
| | | <value>false</value> |
| | | </property> |
| | | <property> |
| | | <name>listener</name> |
| | | <value>org.opendj.buildtools.testng.OpenDJTestListener</value> |
| | | </property> |
| | | </properties> |
| | | </configuration> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-javadoc-plugin</artifactId> |
| | | <configuration> |
| | | <show>protected</show> |
| | | <quiet>true</quiet> |
| | | <excludePackageNames>com.*</excludePackageNames> |
| | | </configuration> |
| | | <executions> |
| | | <execution> |
| | | <goals> |
| | | <goal>jar</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-source-plugin</artifactId> |
| | | <executions> |
| | | <execution> |
| | | <goals> |
| | | <goal>jar</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-checkstyle-plugin</artifactId> |
| | | <dependencies> |
| | | <dependency> |
| | | <groupId>org.opendj</groupId> |
| | | <artifactId>opendj-maven-plugin</artifactId> |
| | | <version>${project.version}</version> |
| | | </dependency> |
| | | </dependencies> |
| | | <executions> |
| | | <execution> |
| | | <id>process-classes</id> |
| | | <configuration> |
| | | <configLocation>org/opendj/buildtools/maven/check-src.xml</configLocation> |
| | | <headerLocation>org/opendj/buildtools/maven/opendj.sourceheader</headerLocation> |
| | | <consoleOutput>true</consoleOutput> |
| | | <failsOnError>true</failsOnError> |
| | | <linkXRef>false</linkXRef> |
| | | </configuration> |
| | | <phase>process-classes</phase> |
| | | <goals> |
| | | <goal>checkstyle</goal> |
| | | </goals> |
| | | </execution> |
| | | <execution> |
| | | <id>process-test-classes</id> |
| | | <configuration> |
| | | <sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory> |
| | | <configLocation>org/opendj/buildtools/maven/check-unit-tests.xml</configLocation> |
| | | <headerLocation>org/opendj/buildtools/maven/opendj.sourceheader</headerLocation> |
| | | <consoleOutput>true</consoleOutput> |
| | | <failsOnError>true</failsOnError> |
| | | <linkXRef>false</linkXRef> |
| | | </configuration> |
| | | <phase>process-test-classes</phase> |
| | | <goals> |
| | | <goal>checkstyle</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | </plugins> |
| | | </pluginManagement> |
| | | </build> |
| | | <repositories> |
| | | <repository> |