From 1838a90c29465d5c6d08f5cc4c34ad9ca1477be8 Mon Sep 17 00:00:00 2001
From: Gaetan Boismal <gaetan.boismal@forgerock.com>
Date: Thu, 10 Mar 2016 15:59:27 +0000
Subject: [PATCH] Clean sdk-bom pom.xml
---
opendj-sdk/opendj-sdk-parent/pom.xml | 90 ++++++++++++++++++++++
opendj-sdk/pom.xml | 98 ------------------------
2 files changed, 90 insertions(+), 98 deletions(-)
diff --git a/opendj-sdk/opendj-sdk-parent/pom.xml b/opendj-sdk/opendj-sdk-parent/pom.xml
index f739537..c0e2c8a 100644
--- a/opendj-sdk/opendj-sdk-parent/pom.xml
+++ b/opendj-sdk/opendj-sdk-parent/pom.xml
@@ -290,6 +290,24 @@
</executions>
</plugin>
+ <plugin>
+ <groupId>org.forgerock.opendj</groupId>
+ <artifactId>opendj-copyright-maven-plugin</artifactId>
+ <version>${project.version}</version>
+ <configuration>
+ <!-- Disable copyright on README and legal files -->
+ <disabledFiles>
+ <disabledFile>README</disabledFile>
+ <disabledFile>**/README</disabledFile>
+ <disabledFile>README.txt</disabledFile>
+ <disabledFile>**/README.txt</disabledFile>
+ <disabledFile>**/THIRDPARTYREADME.txt</disabledFile>
+ <disabledFile>legal-notices/CDDLv1_0.txt</disabledFile>
+ <disabledFile>**/tests/unit-tests-testng/resource/config-changes.ldif</disabledFile>
+ </disabledFiles>
+ </configuration>
+ </plugin>
+
<!-- Provides build capabilities for docs in DocBook XML format. -->
<plugin>
<groupId>org.forgerock.commons</groupId>
@@ -305,4 +323,76 @@
</plugins>
</pluginManagement>
</build>
+
+ <profiles>
+ <profile>
+ <id>precommit</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.forgerock.opendj</groupId>
+ <artifactId>opendj-copyright-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>check-copyright</id>
+ <goals>
+ <goal>check-copyright</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <profile>
+ <id>update-copyrights</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.forgerock.opendj</groupId>
+ <artifactId>opendj-copyright-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>check-copyright</id>
+ <phase>none</phase>
+ <goals>
+ <goal>check-copyright</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>update-copyright</id>
+ <goals>
+ <goal>update-copyright</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.4</version>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>index</report>
+ <report>mailing-list</report>
+ <report>issue-tracking</report>
+ <report>license</report>
+ <report>scm</report>
+ <report>cim</report>
+ <report>distribution-management</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
</project>
diff --git a/opendj-sdk/pom.xml b/opendj-sdk/pom.xml
index d4c9331..d9bef60 100644
--- a/opendj-sdk/pom.xml
+++ b/opendj-sdk/pom.xml
@@ -204,102 +204,4 @@
</dependency>
</dependencies>
</dependencyManagement>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.forgerock.opendj</groupId>
- <artifactId>opendj-copyright-maven-plugin</artifactId>
- <version>${project.version}</version>
- <configuration>
- <!-- Disable copyright on README and legal files -->
- <disabledFiles>
- <disabledFile>README</disabledFile>
- <disabledFile>**/README</disabledFile>
- <disabledFile>README.txt</disabledFile>
- <disabledFile>**/README.txt</disabledFile>
- <disabledFile>**/THIRDPARTYREADME.txt</disabledFile>
- <disabledFile>legal-notices/CDDLv1_0.txt</disabledFile>
- <disabledFile>**/tests/unit-tests-testng/resource/config-changes.ldif</disabledFile>
- </disabledFiles>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <version>2.4</version>
- <reportSets>
- <reportSet>
- <reports>
- <report>index</report>
- <report>mailing-list</report>
- <report>issue-tracking</report>
- <report>license</report>
- <report>scm</report>
- <report>cim</report>
- <report>distribution-management</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
- </plugins>
- </reporting>
-
- <profiles>
- <profile>
- <id>precommit</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.forgerock.opendj</groupId>
- <artifactId>opendj-copyright-maven-plugin</artifactId>
- <version>${project.version}</version>
- <executions>
- <execution>
- <id>check-copyright</id>
- <goals>
- <goal>check-copyright</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
-
- <profile>
- <id>update-copyrights</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.forgerock.opendj</groupId>
- <artifactId>opendj-copyright-maven-plugin</artifactId>
- <version>${project.version}</version>
- <executions>
- <execution>
- <id>check-copyright</id>
- <phase>none</phase>
- <goals>
- <goal>check-copyright</goal>
- </goals>
- </execution>
- <execution>
- <id>update-copyright</id>
- <goals>
- <goal>update-copyright</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
</project>
--
Gitblit v1.10.0