[ 
https://jira.codehaus.org/browse/MAPPASM-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=292538#comment-292538
 ] 

Lukasz Szelag commented on MAPPASM-82:
--------------------------------------

I did some more testing and found out that the above error shows up when 
generating a site ({{*mvn site*}}). {color:red}*This is not isolated to Linux 
as I assumed before*{color} (we generate site only from the Linux build server, 
not from a Windows-based developer PC). Building and deploying the artifact 
works without an error ({{*mvn clean deploy*}}).

{code:title=mvn -Dplugin=site help:describe}
Name: Maven Site Plugin 3
Description: The Maven Site Plugin is a plugin that generates a site for the
  current project.
Group Id: org.apache.maven.plugins
Artifact Id: maven-site-plugin
Version: 3.0
{code}

Also (I'm not sure if that matters), but the appassembler plugin goals are 
invoked from {{genenerate-reources}} phase.

When I have some more time I will try to recreate this issue and then will post 
an example project.

                
> "Failed to Copy Aritfact" in Eclipse Ganymede with Workspace Resolution 
> Enabled
> -------------------------------------------------------------------------------
>
>                 Key: MAPPASM-82
>                 URL: https://jira.codehaus.org/browse/MAPPASM-82
>             Project: Mojo AppAssembler Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: eclipse ganymede SR2, JDK 1.5
>            Reporter: Joseph S. Butler
>            Priority: Minor
>         Attachments: appassembler_debug.txt, 
> appassembler-without-workspace-resolution.txt, 
> appassembler-with-workspace-resolution.txt
>
>
> With Workspace resolution enabled in Eclipse Ganymede RC2, and the 
> appassembler mojo in a module of a multi-module project - the following error 
> occured while installing jars into the appassembler target lib.
> The following mojo encountered an error while executing:
> Group-Id: org.codehaus.mojo
> Artifact-Id: appassembler-maven-plugin
> Version: 1.0
> Mojo: assemble
> brought in via: POM
> While building project:
> Group-Id: package.name.changed.rcu.fdmd
> Artifact-Id: package.name.changed.rcu.fdmd
> Version: 1.0-SNAPSHOT
> From file: C:\devel\workspaces\ganymede-sr2-workspace\fdio-rcu\fdmd\pom.xml
> Reason: Failed to copy artifact.
> org.apache.maven.artifact.installer.ArtifactInstallationException: Error 
> installing artifact: 
> C:\devel\workspaces\ganymede-sr2-workspace\fdio-rcu\common\target\classes 
> (Access is denied)
> As a work around, I disabled workspace resolution and appassembler worked as 
> expected, however I noticed that a difference on the Installing printout. 
> With workspace resolution turned off, appassembler correctly attempts to copy 
> the correct jar.  With workspace resolution turned on, appassembler attempts 
> to copy the classes associated to the module - which I believe to be 
> incorrect, and the reason why the copy failed.
> I have included the full printout from the console.

--
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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to