mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
23.54.2011 a68e18f5608da329c65aef0589046b1bc7c76b2f
Fix for issue OpenDJ-141: migration OpenDJ3 to Maven 3 - add back checkstyle, TestNG config, Javadoc, and src.zip generation
1 files modified
94 ■■■■■ changed files
opendj-sdk/opendj3/pom.xml 94 ●●●●● patch | view | raw | blame | history
opendj-sdk/opendj3/pom.xml
@@ -84,6 +84,100 @@
        </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>