XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0, 2.0
    • Fix Version/s: 1.1, 2.1
    • Component/s: QA

      Description

      The following Maven warnings are visible on QA;

      https://qa.nuxeo.org/jenkins/view/reports/job/master/job/nuxeo-java-client-master/17/consoleFull

      16:58:56 [WARNING] 
      16:58:56 [WARNING] Some problems were encountered while building the effective model for org.nuxeo.client:nuxeo-java-client:jar:2.1-SNAPSHOT
      16:58:56 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.nuxeo.ecm.platform:nuxeo-platform-filemanager-api:jar -> duplicate declaration of version ${nuxeo.version} @ org.nuxeo.client:nuxeo-java-client-parent:2.1-SNAPSHOT, /opt/jenkins/workspace/master/nuxeo-java-client-master/pom.xml, line 217, column 19
      16:58:56 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ org.nuxeo.client:nuxeo-java-client:[unknown-version], /opt/jenkins/workspace/master/nuxeo-java-client-master/nuxeo-java-client/pom.xml, line 68, column 15
      16:58:56 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.nuxeo.client:nuxeo-java-client:[unknown-version], /opt/jenkins/workspace/master/nuxeo-java-client-master/nuxeo-java-client/pom.xml, line 80, column 15
      16:58:56 [WARNING] 
      16:58:56 [WARNING] Some problems were encountered while building the effective model for org.nuxeo.client:nuxeo-java-client-test:jar:2.1-SNAPSHOT
      16:58:56 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.nuxeo.ecm.platform:nuxeo-platform-filemanager-api:jar -> duplicate declaration of version (?) @ org.nuxeo.client:nuxeo-java-client-test:[unknown-version], /opt/jenkins/workspace/master/nuxeo-java-client-master/nuxeo-java-client-test/pom.xml, line 57, column 17
      16:58:56 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.nuxeo.ecm.platform:nuxeo-platform-filemanager-api:jar -> duplicate declaration of version ${nuxeo.version} @ org.nuxeo.client:nuxeo-java-client-parent:2.1-SNAPSHOT, /opt/jenkins/workspace/master/nuxeo-java-client-master/pom.xml, line 217, column 19
      16:58:56 [WARNING] 
      16:58:56 [WARNING] Some problems were encountered while building the effective model for org.nuxeo.client:nuxeo-java-client-parent:pom:2.1-SNAPSHOT
      16:58:56 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.nuxeo.ecm.platform:nuxeo-platform-filemanager-api:jar -> duplicate declaration of version ${nuxeo.version} @ line 217, column 19
      16:58:56 [WARNING] 
      16:58:56 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
      16:58:56 [WARNING] 
      16:58:56 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
      16:58:56 [WARNING] 
      

      and later in the build:

      16:58:59 [WARNING] Report plugin org.apache.maven.plugins:maven-project-info-reports-plugin has an empty version.
      16:58:59 [WARNING] 
      16:58:59 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
      16:58:59 [WARNING] 
      16:58:59 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
      

      Also the following warnings:

      17:04:34 [WARNING] Javadoc Warnings
      17:04:34 [WARNING] /opt/jenkins/workspace/master/nuxeo-java-client-master/nuxeo-java-client/src/main/java/org/nuxeo/client/internals/util/DateParser.java:95: warning - @return tag has no arguments.
      17:04:34 [WARNING] /opt/jenkins/workspace/master/nuxeo-java-client-master/nuxeo-java-client/src/main/java/org/nuxeo/client/api/objects/Document.java:154: warning - Tag @link: reference not found: org.nuxeo.client.test.objects.DataSet
      

      The following configuration also takes a lot of time, maybe fixing the project-info-reports-plugin configuration would help:

      17:06:07 [INFO] Generating "Dependencies" report    --- maven-project-info-reports-plugin:2.9
      17:06:11 [INFO] Downloading: http://maven.nuxeo.org/nexus/content/groups/public-snapshot/org/nuxeo/connect/nuxeo-connect-client-parent/1.4.25-SNAPSHOT/nuxeo-connect-client-parent-1.4.25-20160330.154823-11.pom
      17:06:12 [INFO] Downloaded: http://maven.nuxeo.org/nexus/content/groups/public-snapshot/org/nuxeo/connect/nuxeo-connect-client-parent/1.4.25-SNAPSHOT/nuxeo-connect-client-parent-1.4.25-20160330.154823-11.pom (0 B at 0.0 KB/sec)
      17:07:00 [WARNING] The repository url 'http://www.terracotta.org/download/reflector/releases' is invalid - Repository 'terracotta-releases' will be blacklisted.
      17:07:00 [WARNING] The repository url 'http://repository.codehaus.org' is invalid - Repository 'codehaus' will be blacklisted.
      17:07:01 [WARNING] The repository url 'http://people.apache.org/repo/m2-snapshot-repository' is invalid - Repository 'apache-snapshots' will be blacklisted.
      17:07:01 [WARNING] The repository url 'http://jbig2-imageio.googlecode.com/svn/maven-repository/' is invalid - Repository 'jbig2.googlecode' will be blacklisted.
      17:07:02 [WARNING] The repository url 'http://snapshots.repository.codehaus.org' is invalid - Repository 'codehaus.snapshots' will be blacklisted.
      17:07:02 [WARNING] The repository url 'http://people.apache.org/repo/m2-incubating-repository/' is invalid - Repository 'apache-incubator' will be blacklisted.
      17:07:08 [WARNING] The repository url 'http://download.java.net/maven/2/' is invalid - Repository 'maven2-repository.dev.java.net' will be blacklisted.
      17:07:08 [WARNING] The repository url 'http://nexus.codehaus.org/snapshots' is invalid - Repository 'codehaus-snapshots' will be blacklisted.
      17:07:09 [WARNING] The repository url 'http://download.java.net/maven/2' is invalid - Repository 'Java.net Maven 2' will be blacklisted.
      17:23:11 [INFO] Generating "Dependency Convergence" report    --- maven-project-info-reports-plugin:2.9
      

      Indeed, sometimes the build shows timeout errors "Unknown host" on this last operation, on https://qa.nuxeo.org/jenkins/view/reports/job/master/job/nuxeo-java-client-master/13/console for intance:

      16:45:17 [INFO] Generating "Dependencies" report    --- maven-project-info-reports-plugin:2.9
      16:46:06 [WARNING] The repository url 'http://www.terracotta.org/download/reflector/releases' is invalid - Repository 'terracotta-releases' will be blacklisted.
      16:46:06 [WARNING] The repository url 'http://repository.codehaus.org' is invalid - Repository 'codehaus' will be blacklisted.
      16:46:07 [WARNING] The repository url 'http://people.apache.org/repo/m2-snapshot-repository' is invalid - Repository 'apache-snapshots' will be blacklisted.
      16:46:07 [WARNING] The repository url 'http://jbig2-imageio.googlecode.com/svn/maven-repository/' is invalid - Repository 'jbig2.googlecode' will be blacklisted.
      16:46:08 [WARNING] The repository url 'http://snapshots.repository.codehaus.org' is invalid - Repository 'codehaus.snapshots' will be blacklisted.
      16:46:08 [WARNING] The repository url 'http://people.apache.org/repo/m2-incubating-repository/' is invalid - Repository 'apache-incubator' will be blacklisted.
      16:46:17 [WARNING] The repository url 'http://download.java.net/maven/2/' is invalid - Repository 'maven2-repository.dev.java.net' will be blacklisted.
      16:46:17 [WARNING] The repository url 'http://nexus.codehaus.org/snapshots' is invalid - Repository 'codehaus-snapshots' will be blacklisted.
      16:46:20 [WARNING] The repository url 'http://download.java.net/maven/2' is invalid - Repository 'Java.net Maven 2' will be blacklisted.
      17:04:09 [ERROR] Unknown host www.terracotta.org - ignored it
      17:04:20 [ERROR] Unknown host www.eclipse.org - ignored it
      17:04:56 [INFO] Generating "Dependency Convergence" report    --- maven-project-info-reports-plugin:2.9
      17:05:01 [INFO] Generating "Dependency Information" report    --- maven-project-info-reports-plugin:2.9
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: