You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ian Brandt (JIRA)" <ji...@codehaus.org> on 2012/08/14 22:09:21 UTC

[jira] (MPIR-251) Artifact ###### has no file error regression.

Ian Brandt created MPIR-251:
-------------------------------

             Summary: Artifact ###### has no file error regression.
                 Key: MPIR-251
                 URL: https://jira.codehaus.org/browse/MPIR-251
             Project: Maven 2.x Project Info Reports Plugin
          Issue Type: Bug
          Components: dependencies
    Affects Versions: 2.5
            Reporter: Ian Brandt
            Priority: Minor


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MPIR-251) Artifact ###### has no file error regression.

Posted by "Myron (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MPIR-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myron updated MPIR-251:
-----------------------

    Attachment: pom.xml

I reduced my POM to the minimum... and it only happens when i include my uploaded oracle ojdbc driver and use PIR v2.4+

(Has been uploaded to our local Nexus 1.8.x months ago and has only the generated POM)

Removing that doesn't display the "errors"...
                
> Artifact ###### has no file error regression.
> ---------------------------------------------
>
>                 Key: MPIR-251
>                 URL: https://jira.codehaus.org/browse/MPIR-251
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.5
>            Reporter: Ian Brandt
>            Priority: Minor
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MPIR-251) Artifact ###### has no file error regression.

Posted by "Hannes Kogler (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPIR-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317930#comment-317930 ] 

Hannes Kogler edited comment on MPIR-251 at 1/24/13 5:52 AM:
-------------------------------------------------------------

I got the same error messages too. (Maven version 3.0.4; Plugin versions: maven-site-plugin3.2 & maven-project-info-reports-plugin 2.6)

Hoping that there is anybody who creates a bugfix for it!

A suitable workaround if waiting for a bugfix is not a eal option, just try to config the maven-project-info-reports-plugin with less message details:
{code:title=Bar.java|borderStyle=solid}
        <reporting>
		<plugins> ...
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<version>2.6</version>
				<configuration>
					<dependencyDetailsEnabled>false</dependencyDetailsEnabled>
					<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
				</configuration>
			</plugin>
                        ...
		</plugins>
	</reporting>
{code} 
it works for me!
                
      was (Author: ntshko):
    I got the same error messages too. (Maven version 3.0.4; Plugin versions: maven-site-plugin3.2 & maven-project-info-reports-plugin 2.6)

Hoping that there is anybody who creates a bugfix for it!

A suitable workaround if waiting for a bugfix is not a eal option, just try to config the maven-project-info-reports-plugin with less message details:
	<reporting>
		<plugins> ...
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<version>2.6</version>
				<configuration>
					<dependencyDetailsEnabled>false</dependencyDetailsEnabled>
					<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
				</configuration>
			</plugin>
                        ...
		</plugins>
	</reporting>

it works for me!
                  
> Artifact ###### has no file error regression.
> ---------------------------------------------
>
>                 Key: MPIR-251
>                 URL: https://jira.codehaus.org/browse/MPIR-251
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.5
>            Reporter: Ian Brandt
>            Priority: Minor
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MPIR-251) Artifact ###### has no file error regression.

Posted by "Myron (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPIR-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307128#comment-307128 ] 

Myron commented on MPIR-251:
----------------------------

Thanks Hervé for looking into this.

What exactly does "has no file" mean?
It's a regular upload, with jar, javadooc, pom, ....

Just an addendum
With the uploaded ojdbc driver it complains about the following:
{quote}
[INFO] Generating "Dependencies" report    --- maven-project-info-reports-plugin:2.4
[ERROR] Artifact: dom4j:dom4j:jar:1.6.1 has no file.
[ERROR] Artifact: javax.transaction:jta:jar:1.1 has no file.
[ERROR] Artifact: stax:stax-api:jar:1.0.1 has no file.
[ERROR] Artifact: xml-apis:xml-apis:jar:1.0.b2 has no file.
[WARNING] The repository url 'http://mycompany.com/nexus/content/groups/public' is invalid - Repository 'nexus' will be blacklisted.
{quote}
Note that the ojdbc is NOT included?!?
Without the ojdbc, the errors are gone.

Could the temporary nexus-offline warning be a culprit?
Dunno why Maven sees this as offline; it works for everything else so far...
                
> Artifact ###### has no file error regression.
> ---------------------------------------------
>
>                 Key: MPIR-251
>                 URL: https://jira.codehaus.org/browse/MPIR-251
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.5
>            Reporter: Ian Brandt
>            Priority: Minor
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] (MPIR-251) Artifact ###### has no file error regression.

Posted by "Myron (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPIR-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306893#comment-306893 ] 

Myron commented on MPIR-251:
----------------------------

FYI
I'm seeing the same with version 2.4
But NOT with 2.3!
(mvn 3.0.4)
                
> Artifact ###### has no file error regression.
> ---------------------------------------------
>
>                 Key: MPIR-251
>                 URL: https://jira.codehaus.org/browse/MPIR-251
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.5
>            Reporter: Ian Brandt
>            Priority: Minor
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MPIR-251) Artifact ###### has no file error regression.

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPIR-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307080#comment-307080 ] 

Herve Boutemy commented on MPIR-251:
------------------------------------

I tried but cannot reproduce the issue
sorry, can't help...
                
> Artifact ###### has no file error regression.
> ---------------------------------------------
>
>                 Key: MPIR-251
>                 URL: https://jira.codehaus.org/browse/MPIR-251
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.5
>            Reporter: Ian Brandt
>            Priority: Minor
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MPIR-251) Artifact ###### has no file error regression.

Posted by "Ian Brandt (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPIR-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306179#comment-306179 ] 

Ian Brandt commented on MPIR-251:
---------------------------------

The original fix:

http://svn.apache.org/viewvc?diff_format=h&view=revision&revision=1036825
                
> Artifact ###### has no file error regression.
> ---------------------------------------------
>
>                 Key: MPIR-251
>                 URL: https://jira.codehaus.org/browse/MPIR-251
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.5
>            Reporter: Ian Brandt
>            Priority: Minor
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MPIR-251) Artifact ###### has no file error regression.

Posted by "Fred Cooke (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPIR-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317931#comment-317931 ] 

Fred Cooke commented on MPIR-251:
---------------------------------

One additional note which may help, the oracle jars do not *appear* to have manifests in them, output from one-jar:

{noformat}
JarClassLoader: Warning: Null manifest from input stream associated with: lib/xmlcomp-1.0.jar
JarClassLoader: Warning: Null manifest from input stream associated with: lib/xdb-1.0.jar
JarClassLoader: Warning: Null manifest from input stream associated with: lib/xmlparserv2-1.0.jar
{noformat}

Which doesn't appear to be true, but could be related:

{noformat}
fred@:~/.m2/repository/com/oracle/xmlcomp/1.0$ cat META-INF/MANIFEST.MF
Manifest-Version: 1.0
Sealed: true
Created-By: 1.4.2_08 (Sun Microsystems Inc.)

Name: oracle/xml/async/
Sealed: false

Name: oracle/xml/transviewer/
Sealed: false

Name: oracle/xml/schemavalidator/
Sealed: false

Name: oracle/xml/differ/
Sealed: false

Name: oracle/xml/dbaccess/
Sealed: false
{noformat}
                
> Artifact ###### has no file error regression.
> ---------------------------------------------
>
>                 Key: MPIR-251
>                 URL: https://jira.codehaus.org/browse/MPIR-251
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.5
>            Reporter: Ian Brandt
>            Priority: Minor
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MPIR-251) Artifact ###### has no file error regression.

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPIR-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307075#comment-307075 ] 

Herve Boutemy edited comment on MPIR-251 at 8/25/12 9:29 AM:
-------------------------------------------------------------

IIUC, you have an artifact in your repository that has no file, then the message would be consistent for this one
but the problem would be that when one artifact is found without any file, every artifact is reported as having no file

I'll try to reproduce such conditions
                
      was (Author: hboutemy):
    IIUC, you have an artifact in your repository that has no file, then the message would be consistent for this one
but thze problem here would be that when one artifact is foudn without any file, every artifact is reported as having no file

I'll try to reproduce such conditions
                  
> Artifact ###### has no file error regression.
> ---------------------------------------------
>
>                 Key: MPIR-251
>                 URL: https://jira.codehaus.org/browse/MPIR-251
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.5
>            Reporter: Ian Brandt
>            Priority: Minor
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MPIR-251) Artifact ###### has no file error regression.

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPIR-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306947#comment-306947 ] 

Herve Boutemy commented on MPIR-251:
------------------------------------

do you have a reproducible test case?
                
> Artifact ###### has no file error regression.
> ---------------------------------------------
>
>                 Key: MPIR-251
>                 URL: https://jira.codehaus.org/browse/MPIR-251
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.5
>            Reporter: Ian Brandt
>            Priority: Minor
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MPIR-251) Artifact ###### has no file error regression.

Posted by "Hannes Kogler (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPIR-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317930#comment-317930 ] 

Hannes Kogler commented on MPIR-251:
------------------------------------

I got the same error messages too. (Maven version 3.0.4; Plugin versions: maven-site-plugin3.2 & maven-project-info-reports-plugin 2.6)

Hoping that there is anybody who creates a bugfix for it!

A suitable workaround if waiting for a bugfix is not a eal option, just try to config the maven-project-info-reports-plugin with less message details:
	<reporting>
		<plugins> ...
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<version>2.6</version>
				<configuration>
					<dependencyDetailsEnabled>false</dependencyDetailsEnabled>
					<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
				</configuration>
			</plugin>
                        ...
		</plugins>
	</reporting>

it works for me!
                
> Artifact ###### has no file error regression.
> ---------------------------------------------
>
>                 Key: MPIR-251
>                 URL: https://jira.codehaus.org/browse/MPIR-251
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.5
>            Reporter: Ian Brandt
>            Priority: Minor
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MPIR-251) Artifact ###### has no file error regression.

Posted by "Fred Cooke (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPIR-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=314461#comment-314461 ] 

Fred Cooke commented on MPIR-251:
---------------------------------

I also get this with Maven 3.0.4, maven-project-info-reports-plugin 2.6 and oracle artifacts in the dependency tree. Additionally, I noticed that my CPU usage went low for a while while Dependencies report just hung waiting for something. Through the rest of the build it hogged a core (which is fine). If I can help by testing snapshots of the plugin, I'll gladly do so.
                
> Artifact ###### has no file error regression.
> ---------------------------------------------
>
>                 Key: MPIR-251
>                 URL: https://jira.codehaus.org/browse/MPIR-251
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.5
>            Reporter: Ian Brandt
>            Priority: Minor
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MPIR-251) Artifact ###### has no file error regression.

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPIR-251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307075#comment-307075 ] 

Herve Boutemy commented on MPIR-251:
------------------------------------

IIUC, you have an artifact in your repository that has no file, then the message would be consistent for this one
but thze problem here would be that when one artifact is foudn without any file, every artifact is reported as having no file

I'll try to reproduce such conditions
                
> Artifact ###### has no file error regression.
> ---------------------------------------------
>
>                 Key: MPIR-251
>                 URL: https://jira.codehaus.org/browse/MPIR-251
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependencies
>    Affects Versions: 2.5
>            Reporter: Ian Brandt
>            Priority: Minor
>         Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira