"Failed to Copy Aritfact" in Eclipse Ganymede with Workspace Resolution Enabled -------------------------------------------------------------------------------
Key: MAPPASM-82 URL: http://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 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 contact one of the administrators: http://jira.codehaus.org/secure/Administrators.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