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

Nicolas Capponi
06.23.2015 ab902bb53498c8f806b40bcf5da17bd606dbbe17
OPENDJ-1741 Ensure build is compatible with maven 3.0.x

Add maven-plugin-plugin in pluginManagement section of
main pom.xml to ensure compatibility with maven 3.0.x

Update dependencies of opendj maven plugins

4 files modified
84 ■■■■ changed files
opendj-concat-schema-maven-plugin/pom.xml 13 ●●●● patch | view | raw | blame | history
opendj-logref-doc-maven-plugin/pom.xml 21 ●●●●● patch | view | raw | blame | history
opendj-manifest-classpath-maven-plugin/pom.xml 32 ●●●● patch | view | raw | blame | history
pom.xml 18 ●●●●● patch | view | raw | blame | history
opendj-concat-schema-maven-plugin/pom.xml
@@ -16,6 +16,10 @@
  </description>
  <packaging>maven-plugin</packaging>
  <properties>
    <mavenVersion>3.0.4</mavenVersion>
  </properties>
  <dependencies>
    <dependency>
      <groupId>org.twdata.maven</groupId>
@@ -23,16 +27,11 @@
      <version>2.2.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <version>2.0</version>
    </dependency>
    <!-- dependencies to annotations -->
    <dependency>
      <groupId>org.apache.maven.plugin-tools</groupId>
      <artifactId>maven-plugin-annotations</artifactId>
      <version>3.4</version>
        <version>3.2</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
</project>
opendj-logref-doc-maven-plugin/pom.xml
@@ -1,5 +1,6 @@
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
@@ -16,32 +17,26 @@
  </description>
  <packaging>maven-plugin</packaging>
    <properties>
        <mavenVersion>3.0.4</mavenVersion>
    </properties>
  <dependencies>
    <dependency>
        <groupId>org.forgerock.commons</groupId>
        <artifactId>forgerock-util</artifactId>
    </dependency>
    <dependency>
      <groupId>org.forgerock.commons</groupId>
      <artifactId>i18n-slf4j</artifactId>
    </dependency>
    <dependency>
      <groupId>org.twdata.maven</groupId>
      <artifactId>mojo-executor</artifactId>
      <version>2.2.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <version>2.0</version>
    </dependency>
    <!-- dependencies to annotations -->
    <dependency>
      <groupId>org.apache.maven.plugin-tools</groupId>
      <artifactId>maven-plugin-annotations</artifactId>
      <version>3.4</version>
            <version>3.2</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
</project>
opendj-manifest-classpath-maven-plugin/pom.xml
@@ -1,5 +1,6 @@
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
<project
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
@@ -16,39 +17,20 @@
  </description>
  <packaging>maven-plugin</packaging>
    <properties>
        <mavenVersion>3.0.4</mavenVersion>
    </properties>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-archiver</artifactId>
      <version>2.6</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-jar-plugin</artifactId>
      <version>2.5</version>
      <type>maven-plugin</type>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-assembly-plugin</artifactId>
      <version>2.5.3</version>
      <type>maven-plugin</type>
    </dependency>
    <dependency>
      <groupId>org.twdata.maven</groupId>
      <artifactId>mojo-executor</artifactId>
      <version>2.2.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <version>2.0</version>
    </dependency>
    <!-- dependencies to annotations -->
    <dependency>
      <groupId>org.apache.maven.plugin-tools</groupId>
      <artifactId>maven-plugin-annotations</artifactId>
      <version>3.4</version>
            <version>3.2</version>
      <scope>provided</scope>
    </dependency>
  </dependencies>
pom.xml
@@ -349,6 +349,24 @@
            </lifecycleMappingMetadata>
          </configuration>
        </plugin>
        <!-- This is needed to use annotations in maven plugins with maven 3.0.x -->
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-plugin-plugin</artifactId>
            <version>3.2</version>
            <configuration>
                <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
            </configuration>
            <executions>
                <execution>
                    <id>mojo-descriptor</id>
                    <phase>process-classes</phase>
                    <goals>
                        <goal>descriptor</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>