maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (MPIR-251) Artifact ###### has no file error regression
Date Mon, 28 Dec 2015 10:42:49 GMT

    [ https://issues.apache.org/jira/browse/MPIR-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14614962#comment-14614962
] 

Hervé Boutemy edited comment on MPIR-251 at 12/28/15 10:41 AM:
---------------------------------------------------------------

Just got the same error:

{noformat}[INFO] Generating "Dependencies" report         --- maven-project-info-reports-plugin:2.7:dependencies
[ERROR] Artifact: com.rsa:kmsclient:jar:2.1.3.2 has no file.
[ERROR] Artifact: // bunch of artifacts from our company's Nexus repository
[ERROR] Artifact: com.tibco:tibjms:jar:4.4.3 has no file.
[ERROR] Artifact: commons-codec:commons-codec:jar:1.6 has no file.
[ERROR] Artifact: commons-io:commons-io:jar:2.4 has no file.
[ERROR] Artifact: commons-logging:commons-logging:jar:1.1 has no file.
[ERROR] Artifact: concurrent:concurrent:jar:1.3.2 has no file.
[ERROR] Artifact: dom4j:dom4j:jar:1.6.1 has no file.
[ERROR] Artifact: javax.jms:jms:jar:1.1 has no file.
[ERROR] Artifact: javax.resource:connector:jar:1.0 has no file.
[ERROR] Artifact: javax.transaction:jta:jar:1.1 has no file.
[ERROR] Artifact: junit:junit:jar:4.12 has no file.
[ERROR] Artifact: log4j:log4j:jar:1.2.17 has no file.
[ERROR] Artifact: logkit:logkit:jar:1.2 has no file.
[ERROR] Artifact: org.antlr:antlr-runtime:jar:3.3 has no file.
[ERROR] Artifact: org.antlr:stringtemplate:jar:4.0 has no file.
[ERROR] Artifact: org.apache.commons:commons-lang3:jar:3.3.2 has no file.
[ERROR] Artifact: org.apache.jcs:jcs:jar:1.3 has no file.
[ERROR] Artifact: org.hamcrest:hamcrest-core:jar:1.3 has no file.
[ERROR] Artifact: org.jacorb:jacorb:jar:P6:2.3.0 has no file.
[ERROR] Artifact: org.javassist:javassist:jar:3.19.0-GA has no file.
[ERROR] Artifact: org.mockito:mockito-all:jar:1.10.19 has no file.
[ERROR] Artifact: org.objenesis:objenesis:jar:2.1 has no file.
[ERROR] Artifact: org.osgi:osgi_R4_core:jar:1.0 has no file.
[ERROR] Artifact: org.powermock:powermock-api-mockito:jar:1.6.2 has no file.
[ERROR] Artifact: org.powermock:powermock-api-support:jar:1.6.2 has no file.
[ERROR] Artifact: org.powermock:powermock-core:jar:1.6.2 has no file.
[ERROR] Artifact: org.powermock:powermock-module-junit4:jar:1.6.2 has no file.
[ERROR] Artifact: org.powermock:powermock-module-junit4-common:jar:1.6.2 has no file.
[ERROR] Artifact: org.powermock:powermock-reflect:jar:1.6.2 has no file.
[ERROR] Artifact: org.projectlombok:lombok:jar:1.16.2 has no file.
[ERROR] Artifact: xerces:xercesImpl:jar:2.11.0 has no file.
[ERROR] Artifact: xml-apis:xml-apis:jar:1.4.01 has no file.{noformat}

We use dedicated build machine for release activities. Yesterday I got above errors when I
chcked out new version from SVN and executed "{{mvn clean package deploy site}}". I tried
adding {{-U}} to the command, with no effect. When I executed with {{-X}} switch, I got:

{noformat}[DEBUG] Using mirror mirrorId (http://maven.company.com/content/repositories/central)
for central (https://repo.maven.apache.org/maven2). // repeated couple times
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:40 min
[INFO] Finished at: 2015-07-06T04:49:29-05:00
[INFO] Final Memory: 72M/675M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site)
on project <<project>>: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.4:site
failed. NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site
(default-site) on project <<project>>: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.4:site
failed.
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-site of goal
org.apache.maven.plugins:maven-site-plugin:3.4:site failed.
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 19 more
Caused by: java.lang.NullPointerException
        at com.sun.security.ntlm.Client.type3(Client.java:161)
        at sun.net.www.protocol.http.ntlm.NTLMAuthentication.buildType3Msg(NTLMAuthentication.java:241)
        at sun.net.www.protocol.http.ntlm.NTLMAuthentication.setHeaders(NTLMAuthentication.java:216)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1606)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
        at org.apache.maven.report.projectinfo.ProjectInfoReportUtils.getContent(ProjectInfoReportUtils.java:189)
        at org.apache.maven.report.projectinfo.ProjectInfoReportUtils.getContent(ProjectInfoReportUtils.java:105)
        at org.apache.maven.report.projectinfo.ProjectInfoReportUtils.getContent(ProjectInfoReportUtils.java:90)
        at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.blacklistRepositoryMap(DependenciesRenderer.java:701)
        at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionDependencyRepositoryLocations(DependenciesRenderer.java:748)
        at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody(DependenciesRenderer.java:269)
        at org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:79)
        at org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:186)
        at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:190)
        at org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:224)
        at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:311)
        at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:129)
        at org.apache.maven.plugins.site.render.SiteMojo.renderLocale(SiteMojo.java:182)
        at org.apache.maven.plugins.site.render.SiteMojo.execute(SiteMojo.java:141)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
        ... 20 more{noformat}

I moved to the directory which contained sources of preceding release, which was deployed
without any issues using standard command ({{mvn clean package deploy site}). This build failed
as well (and sources, POM including, were frozen since previous successful build). 
I've been executing failing builds with JDK 1.8.0_u45. I tried with 1.8.0_u40, but it also
failed. After switching to 1.7.0_u45 the build passed. This machine runs on 64 bit RedHat
linux.
The same build passes on my local machine on Win7, JDK 1.8.0_u11.


was (Author: nachteil):
Just got the same error:

[INFO] Generating "Dependencies" report         --- maven-project-info-reports-plugin:2.7:dependencies
[ERROR] Artifact: com.rsa:kmsclient:jar:2.1.3.2 has no file.
[ERROR] Artifact: // bunch of artifacts from our company's Nexus repository
[ERROR] Artifact: com.tibco:tibjms:jar:4.4.3 has no file.
[ERROR] Artifact: commons-codec:commons-codec:jar:1.6 has no file.
[ERROR] Artifact: commons-io:commons-io:jar:2.4 has no file.
[ERROR] Artifact: commons-logging:commons-logging:jar:1.1 has no file.
[ERROR] Artifact: concurrent:concurrent:jar:1.3.2 has no file.
[ERROR] Artifact: dom4j:dom4j:jar:1.6.1 has no file.
[ERROR] Artifact: javax.jms:jms:jar:1.1 has no file.
[ERROR] Artifact: javax.resource:connector:jar:1.0 has no file.
[ERROR] Artifact: javax.transaction:jta:jar:1.1 has no file.
[ERROR] Artifact: junit:junit:jar:4.12 has no file.
[ERROR] Artifact: log4j:log4j:jar:1.2.17 has no file.
[ERROR] Artifact: logkit:logkit:jar:1.2 has no file.
[ERROR] Artifact: org.antlr:antlr-runtime:jar:3.3 has no file.
[ERROR] Artifact: org.antlr:stringtemplate:jar:4.0 has no file.
[ERROR] Artifact: org.apache.commons:commons-lang3:jar:3.3.2 has no file.
[ERROR] Artifact: org.apache.jcs:jcs:jar:1.3 has no file.
[ERROR] Artifact: org.hamcrest:hamcrest-core:jar:1.3 has no file.
[ERROR] Artifact: org.jacorb:jacorb:jar:P6:2.3.0 has no file.
[ERROR] Artifact: org.javassist:javassist:jar:3.19.0-GA has no file.
[ERROR] Artifact: org.mockito:mockito-all:jar:1.10.19 has no file.
[ERROR] Artifact: org.objenesis:objenesis:jar:2.1 has no file.
[ERROR] Artifact: org.osgi:osgi_R4_core:jar:1.0 has no file.
[ERROR] Artifact: org.powermock:powermock-api-mockito:jar:1.6.2 has no file.
[ERROR] Artifact: org.powermock:powermock-api-support:jar:1.6.2 has no file.
[ERROR] Artifact: org.powermock:powermock-core:jar:1.6.2 has no file.
[ERROR] Artifact: org.powermock:powermock-module-junit4:jar:1.6.2 has no file.
[ERROR] Artifact: org.powermock:powermock-module-junit4-common:jar:1.6.2 has no file.
[ERROR] Artifact: org.powermock:powermock-reflect:jar:1.6.2 has no file.
[ERROR] Artifact: org.projectlombok:lombok:jar:1.16.2 has no file.
[ERROR] Artifact: xerces:xercesImpl:jar:2.11.0 has no file.
[ERROR] Artifact: xml-apis:xml-apis:jar:1.4.01 has no file.

We use dedicated build machine for release activities. Yesterday I got above errors when I
chcked out new version from SVN and executed "mvn clean package deploy site". I tried adding
-U to the command, with no effect. When I executed with -X switch, I got:

[DEBUG] Using mirror mirrorId (http://maven.company.com/content/repositories/central) for
central (https://repo.maven.apache.org/maven2). // repeated couple times
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:40 min
[INFO] Finished at: 2015-07-06T04:49:29-05:00
[INFO] Final Memory: 72M/675M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site)
on project <<project>>: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.4:site
failed. NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site
(default-site) on project <<project>>: Execution default-site of goal org.apache.maven.plugins:maven-site-plugin:3.4:site
failed.
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-site of goal
org.apache.maven.plugins:maven-site-plugin:3.4:site failed.
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 19 more
Caused by: java.lang.NullPointerException
        at com.sun.security.ntlm.Client.type3(Client.java:161)
        at sun.net.www.protocol.http.ntlm.NTLMAuthentication.buildType3Msg(NTLMAuthentication.java:241)
        at sun.net.www.protocol.http.ntlm.NTLMAuthentication.setHeaders(NTLMAuthentication.java:216)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1606)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
        at org.apache.maven.report.projectinfo.ProjectInfoReportUtils.getContent(ProjectInfoReportUtils.java:189)
        at org.apache.maven.report.projectinfo.ProjectInfoReportUtils.getContent(ProjectInfoReportUtils.java:105)
        at org.apache.maven.report.projectinfo.ProjectInfoReportUtils.getContent(ProjectInfoReportUtils.java:90)
        at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.blacklistRepositoryMap(DependenciesRenderer.java:701)
        at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionDependencyRepositoryLocations(DependenciesRenderer.java:748)
        at org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody(DependenciesRenderer.java:269)
        at org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:79)
        at org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:186)
        at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:190)
        at org.apache.maven.plugins.site.render.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:224)
        at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:311)
        at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:129)
        at org.apache.maven.plugins.site.render.SiteMojo.renderLocale(SiteMojo.java:182)
        at org.apache.maven.plugins.site.render.SiteMojo.execute(SiteMojo.java:141)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
        ... 20 more

I moved to the directory which contained sources of preceding release, which was deployed
without any issues using standard command (mvn clean package deploy site). This build failed
as well (and sources, POM including, were frozen since previous successful build). 
I've been executing failing builds with JDK 1.8.0_u45. I tried with 1.8.0_u40, but it also
failed. After switching to 1.7.0_u45 the build passed. This machine runs on 64 bit RedHat
linux.
The same build passes on my local machine on Win7, JDK 1.8.0_u11.

> Artifact ###### has no file error regression
> --------------------------------------------
>
>                 Key: MPIR-251
>                 URL: https://issues.apache.org/jira/browse/MPIR-251
>             Project: Maven Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.5
>            Reporter: Ian Brandt
>            Assignee: Michael Osipov
>            Priority: Minor
>             Fix For: 2.8.2
>
>         Attachments: pom.xml, pom.xml
>
>
> It appears that MPIR-158 has regressed.  I'm seeing the same exact issue in 2.5 with
Maven 3.0.4:
> {noformat}
> [INFO] Generating "Dependencies" report    --- maven-project-info-reports-plugin:2.5
> [ERROR] Artifact: com.sun:tools:jar:1.5.0 has no file.
> [ERROR] Artifact: com.thoughtworks.xstream:xstream:jar:1.3 has no file.
> [ERROR] Artifact: commons-beanutils:commons-beanutils:jar:1.8.0 has no file.
> [ERROR] Artifact: commons-cli:commons-cli:jar:1.1 has no file.
> [ERROR] Artifact: commons-codec:commons-codec:jar:1.3 has no file.
> [ERROR] Artifact: commons-collections:commons-collections:jar:3.2.1 has no file.
> [ERROR] Artifact: commons-digester:commons-digester:jar:2.0 has no file.
> [ERROR] Artifact: commons-fileupload:commons-fileupload:jar:1.2.2 has no file.
> ...{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message