subash-canapathy / maven-confluence-plugin

Automatically exported from code.google.com/p/maven-confluence-plugin
0 stars 0 forks source link

Cannot change the download information for an attached artifact #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Multi-module build. Top-level pom configured for maven-confluence-plugin.

What is the expected output? What do you see instead?
I expect all of the modules to upload to the server.
The parent pom and the first module transfer -- then the build aborts with:
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.1:site (default-cli) on project 
uibinder-test: Execution default-cli of goal 
org.apache.maven.plugins:maven-site-plugin:3.1:site failed: Cannot change the 
download information for an attached artifact. It is derived from the main 
artifact. -> [Help 1]

What version of the product are you using? On what operating system?
3.2.2
LMDE

Please provide any additional information below.
I think this is where the error is coming from:
AttachedArtifact:
     public void setDownloadUrl( String downloadUrl )
     {
         throw new UnsupportedOperationException( "Cannot change the download information for an attached artifact. It is derived from the main artifact." );
     }

Original issue reported on code.google.com by malac...@gmail.com on 7 Aug 2012 at 2:52

GoogleCodeExporter commented 9 years ago
It appears that this is a problem with 'mvn clean install site:site' but not a 
problem with 'mvn clean install' then 'mvn site:site'

Original comment by malac...@gmail.com on 7 Aug 2012 at 3:08

GoogleCodeExporter commented 9 years ago
Hi, thanks for feedbacks

I'll check soon

Original comment by bartolom...@gmail.com on 7 Aug 2012 at 7:47

GoogleCodeExporter commented 9 years ago
This issue could be considered solved using direct goal 
confluence-reporting:deploy  available from 3.4.0

Original comment by bartolom...@gmail.com on 5 Dec 2013 at 9:35