XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.9.2
    • Component/s: Dev Tools
    • Upgrade notes:
      Hide

      Maven 3.1.1 is required.
      The plugin org.nuxeo.build:nuxeo-distribution-tools is replaced by org.nuxeo.build:ant-assembly-maven-plugin (see NXBT-258).
      The deprecated plugin org.apache.maven.plugins:maven-nuxeo-plugin was removed from the pluginManagement.
      The following dependencies were upgraded:

      • com.google.gwt:gwt-user 2.4 to 2.5.1
      • com.google.gwt:gwt-dev 2.4 to 2.5.1
      • com.google.gwt:gwt-servlet 2.4 to 2.5.1
        The following plugins were upgraded:
      • org.codehaus.mojo:gwt-maven-plugin 2.4.0 to 2.5.1
      • org.apache.maven.plugins:maven-release-plugin 2.0 to 2.4.2
      • buildnumber-maven-plugin 1.0-beta-3 to 1.2
      • maven-shade-plugin 1.3.3 to 2.2
      • maven-ejb-plugin 2.2.1 to 2.3
      • org.apache.maven.plugins:maven-antrun-plugin 1.3 to 1.7
      • org.codehaus.mojo:jboss-packaging-maven-plugin 2.1.1 to 2.2
      • org.apache.maven.plugins:maven-rar-plugin 2.2 to 2.3
      • org.apache.maven.plugins:maven-javadoc-plugin 2.7 to 2.9.1
      • org.apache.maven.plugins:maven-jxr-plugin 2.1 to 2.4
      • org.apache.maven.plugins:maven-dependency-plugin 2.1 to 2.8
      • org.apache.maven.plugins:maven-clean-plugin 2.4 to 2.5
      • org.jvnet.maven-antrun-extended-plugin:maven-antrun-extended-plugin 1.40 to 1.43
      • org.apache.maven.plugins:maven-pmd-plugin 2.5 to 3.0.1
      • org.apache.maven.plugins:maven-checkstyle-plugin 2.6 to 2.11
      • org.jacoco:jacoco-maven-plugin 0.6.3.201306030806 to 0.6.4.201312101107
      • org.apache.maven.plugins:maven-surefire-plugin 2.10 to 2.16
      • org.apache.maven.plugins:maven-surefire-report-plugin 2.10 to 2.16
      • org.apache.maven.plugins:maven-failsafe-plugin 2.7.2 to 2.16
      • org.apache.myfaces.tobago:maven-apt-plugin 1.0.25 to 1.0.40
      • org.codehaus.mojo:build-helper-maven-plugin 1.7 to 1.8
      • org.apache.maven.plugins:maven-compiler-plugin 2.3 to 3.1
      • org.apache.maven.plugins:maven-source-plugin 2.1.1 to 2.2.2
      • org.apache.maven.plugins:maven-idea-plugin 2.2 to 2.2.1
      • org.codehaus.mojo:xml-maven-plugin 1.0-beta-3 to 1.0
      • org.apache.felix:maven-bundle-plugin 2.1.0 to 2.4.0
      • maven-assembly-plugin 2.2-beta-1 to 2.4
      • maven-help-plugin 2.1.1 to 2.2
      • org.codehaus.mojo:cobertura-maven-plugin 2.4 to 2.6
      • org.codehaus.mojo:versions-maven-plugin 1.1 to 2.1
      • org.apache.maven.plugins:maven-deploy-plugin 2.5 to 2.8.1
      • org.apache.maven.plugins:maven-install-plugin 2.3 to 2.5.1
      • org.apache.maven.plugins:maven-site-plugin 2.1 to 3.3
      • org.apache.maven.plugins:maven-enforcer-plugin 1.0.1 to 1.3.1
      • org.apache.maven.plugins:maven-resources-plugin 2.4 to 2.6
      • net.java.maven-incremental-build:incremental-build-plugin 1.5 to 1.6
      • maven-jarsigner-plugin 1.2 to 1.3.1
      • org.apache.maven.plugins:maven-war-plugin 2.1.1 to 2.4
      • org.jboss.tattletale:tattletale-maven 1.2.0.Beta1 to 1.2.0.Beta2
      • org.codehaus.mojo:sonar-maven-plugin 1.0 to 2.2
      • org.codehaus.mojo:license-maven-plugin 1.4 to 1.5
        The following reporting plugins were upgraded:
      • org.apache.maven.plugins:maven-jxr-plugin 2.1 to 2.4
      • org.apache.maven.plugins:maven-pmd-plugin 2.5 to 3.0.1
      • org.apache.maven.plugins:maven-checkstyle-plugin 2.6 to 2.11
      • org.apache.maven.plugins:maven-surefire-report-plugin 2.10 to 2.16
      • org.codehaus.mojo:cobertura-maven-plugin 2.4 to 2.6
      • org.codehaus.mojo:license-maven-plugin 1.4 to 1.5
      • org.apache.maven.plugins:maven-javadoc-plugin from "auto" to 2.9.1

      Changes related to Maven 3:

      • "relativePath" to parent POM
        << Some problems were encountered while building the effective model for (...) 'parent.relativePath' points at (...) instead of (...), please verify your project structure >>
        The relativePath defaults to the value "../pom.xml" and this value, whether explicitly written or not, is in the effective POM.
        => When "../pom.xml" is not the declared parent POM, either specify the proper path or set "<relativePath />" (empty) if the parent isn't supposed to be resolved locally.
      • Unused or missing dependencies
        << Used undeclared dependencies found (...) >>
        << Unused declared dependencies found (...) >>
        => All direct dependencies must be declared. Unused dependencies must be removed (except rare cases).
      • Missing plugin versions
        << Report plugin (...) has an empty version. >> or << 'build.plugins.plugin.version' for (...) is missing. >>
        << It is highly recommended to fix these problems because they threaten the stability of your build.
        For this reason, future Maven versions might no longer support building such malformed projects. >>
        => For build reproducibility, all versions must be set. Note the reporting.plugins section doesn't inherit the versions from build.pluginManagement.

      Changes related to ant-assembly-maven-plugin:

      • "artifact:attach" Ant task
        << The target parameter is deprecated and ignored. The attach task now only applies to the current project. >>
        => Simply remove the target parameter.
        <artifact:attach file="${outdir}/${maven.project.artifactId}-${maven.project.version}.zip" type="zip" />
      • "echo" Ant task
        << [WARNING] [echo] (...) >>
        Ant echo is at WARNING level by default.
        => specify the relevant level parameter
        <echo level="info">(...)</echo>
      • "artifact:resolveFile" Ant task
        << The classifier parameter is deprecated, put it in the key. >>
        << Unexpected child node >> and a few others like << Missing scope, node accepted >>
        Those are detected issues in the graph, fixed by the plugin. Some of them may be later logged at a lower level.
      Show
      Maven 3.1.1 is required. The plugin org.nuxeo.build:nuxeo-distribution-tools is replaced by org.nuxeo.build:ant-assembly-maven-plugin (see NXBT-258 ). The deprecated plugin org.apache.maven.plugins:maven-nuxeo-plugin was removed from the pluginManagement. The following dependencies were upgraded: com.google.gwt:gwt-user 2.4 to 2.5.1 com.google.gwt:gwt-dev 2.4 to 2.5.1 com.google.gwt:gwt-servlet 2.4 to 2.5.1 The following plugins were upgraded: org.codehaus.mojo:gwt-maven-plugin 2.4.0 to 2.5.1 org.apache.maven.plugins:maven-release-plugin 2.0 to 2.4.2 buildnumber-maven-plugin 1.0-beta-3 to 1.2 maven-shade-plugin 1.3.3 to 2.2 maven-ejb-plugin 2.2.1 to 2.3 org.apache.maven.plugins:maven-antrun-plugin 1.3 to 1.7 org.codehaus.mojo:jboss-packaging-maven-plugin 2.1.1 to 2.2 org.apache.maven.plugins:maven-rar-plugin 2.2 to 2.3 org.apache.maven.plugins:maven-javadoc-plugin 2.7 to 2.9.1 org.apache.maven.plugins:maven-jxr-plugin 2.1 to 2.4 org.apache.maven.plugins:maven-dependency-plugin 2.1 to 2.8 org.apache.maven.plugins:maven-clean-plugin 2.4 to 2.5 org.jvnet.maven-antrun-extended-plugin:maven-antrun-extended-plugin 1.40 to 1.43 org.apache.maven.plugins:maven-pmd-plugin 2.5 to 3.0.1 org.apache.maven.plugins:maven-checkstyle-plugin 2.6 to 2.11 org.jacoco:jacoco-maven-plugin 0.6.3.201306030806 to 0.6.4.201312101107 org.apache.maven.plugins:maven-surefire-plugin 2.10 to 2.16 org.apache.maven.plugins:maven-surefire-report-plugin 2.10 to 2.16 org.apache.maven.plugins:maven-failsafe-plugin 2.7.2 to 2.16 org.apache.myfaces.tobago:maven-apt-plugin 1.0.25 to 1.0.40 org.codehaus.mojo:build-helper-maven-plugin 1.7 to 1.8 org.apache.maven.plugins:maven-compiler-plugin 2.3 to 3.1 org.apache.maven.plugins:maven-source-plugin 2.1.1 to 2.2.2 org.apache.maven.plugins:maven-idea-plugin 2.2 to 2.2.1 org.codehaus.mojo:xml-maven-plugin 1.0-beta-3 to 1.0 org.apache.felix:maven-bundle-plugin 2.1.0 to 2.4.0 maven-assembly-plugin 2.2-beta-1 to 2.4 maven-help-plugin 2.1.1 to 2.2 org.codehaus.mojo:cobertura-maven-plugin 2.4 to 2.6 org.codehaus.mojo:versions-maven-plugin 1.1 to 2.1 org.apache.maven.plugins:maven-deploy-plugin 2.5 to 2.8.1 org.apache.maven.plugins:maven-install-plugin 2.3 to 2.5.1 org.apache.maven.plugins:maven-site-plugin 2.1 to 3.3 org.apache.maven.plugins:maven-enforcer-plugin 1.0.1 to 1.3.1 org.apache.maven.plugins:maven-resources-plugin 2.4 to 2.6 net.java.maven-incremental-build:incremental-build-plugin 1.5 to 1.6 maven-jarsigner-plugin 1.2 to 1.3.1 org.apache.maven.plugins:maven-war-plugin 2.1.1 to 2.4 org.jboss.tattletale:tattletale-maven 1.2.0.Beta1 to 1.2.0.Beta2 org.codehaus.mojo:sonar-maven-plugin 1.0 to 2.2 org.codehaus.mojo:license-maven-plugin 1.4 to 1.5 The following reporting plugins were upgraded: org.apache.maven.plugins:maven-jxr-plugin 2.1 to 2.4 org.apache.maven.plugins:maven-pmd-plugin 2.5 to 3.0.1 org.apache.maven.plugins:maven-checkstyle-plugin 2.6 to 2.11 org.apache.maven.plugins:maven-surefire-report-plugin 2.10 to 2.16 org.codehaus.mojo:cobertura-maven-plugin 2.4 to 2.6 org.codehaus.mojo:license-maven-plugin 1.4 to 1.5 org.apache.maven.plugins:maven-javadoc-plugin from "auto" to 2.9.1 Changes related to Maven 3: "relativePath" to parent POM << Some problems were encountered while building the effective model for (...) 'parent.relativePath' points at (...) instead of (...), please verify your project structure >> The relativePath defaults to the value "../pom.xml" and this value, whether explicitly written or not, is in the effective POM. => When "../pom.xml" is not the declared parent POM, either specify the proper path or set "<relativePath />" (empty) if the parent isn't supposed to be resolved locally. Unused or missing dependencies << Used undeclared dependencies found (...) >> << Unused declared dependencies found (...) >> => All direct dependencies must be declared. Unused dependencies must be removed (except rare cases). Missing plugin versions << Report plugin (...) has an empty version. >> or << 'build.plugins.plugin.version' for (...) is missing. >> << It is highly recommended to fix these problems because they threaten the stability of your build. For this reason, future Maven versions might no longer support building such malformed projects. >> => For build reproducibility, all versions must be set. Note the reporting.plugins section doesn't inherit the versions from build.pluginManagement. Changes related to ant-assembly-maven-plugin: "artifact:attach" Ant task << The target parameter is deprecated and ignored. The attach task now only applies to the current project. >> => Simply remove the target parameter. <artifact:attach file="${outdir}/${maven.project.artifactId}-${maven.project.version}.zip" type="zip" /> "echo" Ant task << [WARNING] [echo] (...) >> Ant echo is at WARNING level by default. => specify the relevant level parameter <echo level="info">(...)</echo> "artifact:resolveFile" Ant task << The classifier parameter is deprecated, put it in the key. >> << Unexpected child node >> and a few others like << Missing scope, node accepted >> Those are detected issues in the graph, fixed by the plugin. Some of them may be later logged at a lower level.

      Description

      Make the build use Maven 3 instead of Maven 2.2.1.
      Switch from nuxeo-distribution-tools to ant-assembly-maven-plugin is required.
      Other plugins must/can be updated in the mean time.
      There may be some dependencies issues (such as with servlet-api).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: