-
Bug
-
Resolution: Fixed
-
Neutral
-
POMs 33
-
None
-
-
Empty show more show less
-
Saigon 120
-
2
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:
- https://stackoverflow.com/questions/26144541/why-am-i-getting-maven-error-unable-to-determine-if-resource-x-exists-in-http
- https://maven.apache.org/plugins/maven-project-info-reports-plugin/dependencies-mojo.html#dependencyLocationsEnabled
Ideally we can maybe do that just for the JDepend plugin goal; or for the release profile.
Acceptance criteria
- mentioned in
-
Page Loading...