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

Gaetan Boismal
09.06.2016 1838a90c29465d5c6d08f5cc4c34ad9ca1477be8
Clean sdk-bom pom.xml

Move build related sections (build, reporting and profiles) from opendj-sdk-bom/pom.xml to opendj-sdk-parent/pom.xml
2 files modified
188 ■■■■ changed files
opendj-sdk/opendj-sdk-parent/pom.xml 90 ●●●●● patch | view | raw | blame | history
opendj-sdk/pom.xml 98 ●●●●● patch | view | raw | blame | history
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>
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>