Uploaded image for project: 'Build'
  1. Build
  2. BUILD-282

JDepend plugin logs errors when locating dependencies

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: POMs 33
    • Fix Version/s: POMs 34
    • Component/s: Poms
    • Labels:
      None
    • Sprint:
      Saigon 120
    • Story Points:
      2

      Description

      Upon generation of sites, I've come across loads of these, for every single dependency of every module.

      [INFO] <<< jdepend-maven-plugin:2.0:generate < compile @ magnolia-security-app <<<
      [INFO] ...
      [INFO] Skipped "Surefire Report" report (maven-surefire-report-plugin:2.18.1:report-only), file "surefire-report.html" already exists for the English version.
      [INFO] Skipped "JDepend" report (jdepend-maven-plugin:2.0:generate), file "jdepend-report.html" already exists for the English version.
      [INFO] Generating "About" report                --- maven-project-info-reports-plugin:2.8:index
      [INFO] Generating "Project Summary" report      --- maven-project-info-reports-plugin:2.8:summary
      [INFO] Generating "Project License" report      --- maven-project-info-reports-plugin:2.8:license
      [INFO] Generating "Dependency Information" report --- maven-project-info-reports-plugin:2.8:dependency-info
      [INFO] Generating "Dependencies" report         --- maven-project-info-reports-plugin:2.8:dependencies
      [ERROR] Artifact: org.apache.httpcomponents:httpclient:jar:4.3.5 has no file.
      [ERROR] Artifact: org.apache.httpcomponents:httpcore:jar:4.3.2 has no file.
      [ERROR] Artifact: org.apache.httpcomponents:httpmime:jar:4.3.5 has no file.
      [ERROR] Artifact: org.apache.jackrabbit:jackrabbit-api:jar:2.8.0 has no file.
      
      [WARNING] The repository url 'http://download.java.net/maven/2' is invalid - Repository 'maven2-repository.dev.java.net' will be blacklisted.
      [WARNING] The repository url 'https://maven.vaadin.com/vaadin-addons/' is invalid - Repository 'vaadin.addons' will be blacklisted.
      [WARNING] The repository url 'https://nexus.magnolia-cms.com/content/groups/staff' is invalid - Repository 'magnolia.nexus' will be blacklisted.
      [WARNING] The repository url 'http://people.apache.org/repo/m2-snapshot-repository' is invalid - Repository 'apache.snapshots' will be blacklisted.
      
      [ERROR] Unable to determine if resource aopalliance:aopalliance:jar:1.0:compile exists in http://oss.sonatype.org/content/repositories/vaadin-releases/
      [ERROR] Unable to determine if resource aopalliance:aopalliance:jar:1.0:compile exists in http://oss.sonatype.org/content/repositories/vaadin-releases
      [ERROR] Unable to determine if resource asm:asm:jar:3.1:compile exists in http://oss.sonatype.org/content/repositories/vaadin-releases/
      [ERROR] Unable to determine if resource asm:asm:jar:3.1:compile exists in http://oss.sonatype.org/content/repositories/vaadin-releases
      [ERROR] Unable to determine if resource cglib:cglib:jar:2.2:compile exists in http://oss.sonatype.org/content/repositories/vaadin-releases/
      [ERROR] Unable to determine if resource cglib:cglib:jar:2.2:compile exists in http://oss.sonatype.org/content/repositories/vaadin-releases
      [ERROR] Unable to determine if resource cglib:cglib-nodep:jar:3.1:compile exists in http://oss.sonatype.org/content/repositories/vaadin-releases/
      [ERROR] Unable to determine if resource cglib:cglib-nodep:jar:3.1:compile exists in http://oss.sonatype.org/content/repositories/vaadin-releases
      [ERROR] Unable to determine if resource com.google.code.findbugs:annotations:jar:2.0.1:compile exists in http://oss.sonatype.org/content/repositories/vaadin-releases/
      [ERROR] Unable to determine if resource com.google.code.findbugs:annotations:jar:2.0.1:compile exists in http://oss.sonatype.org/content/repositories/vaadin-releases
      

      That's 280+ lines overall for security-app;
      And that's not only "cosmetic", but also super slow. Each line in the previous block comes at a rate of about 1 per sec.

      On the one hand, it might relate to our "bogus central" setup in our maven settings; on the other hand, it looks like the dependency plugin is performing those location checks, and that this can be disabled.

      Sources:

      Ideally we can maybe do that just for the JDepend plugin goal; or for the release profile.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mgeljic Mikaël Geljić
              Reporter:
              mgeljic Mikaël Geljić
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Checklists

                  Bug DoR
                  DoD