[ http://jira.codehaus.org/browse/MAPPASM-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=175728#action_175728 ]
Henrik Dohlmann commented on MAPPASM-82: ---------------------------------------- Same problem for me: Eclipse 3.4.2, m2eclipse 0.9.8, appassembler-maven-plugin 1.0. Same workaround: Disable Workspace Resolution. Attaching console output with and without Workspace Resolution enabled. Snippet of log when Workspace resolution is enabled: [INFO] [appassembler:create-repository] [INFO] Installing artifact C:\Users\hdohlmann\.m2\repository\log4j\log4j\1.2.14\log4j-1.2.14.jar to D:\3dwork\acadGenerator\acadGenerator-installer\target\staging\jsw\AcadGenerator\lib\log4j-1.2.14.jar [INFO] Installing artifact D:\3dwork\jobAgent\jobAgent-main\target\classes to D:\3dwork\acadGenerator\acadGenerator-installer\target\staging\jsw\AcadGenerator\lib\jobAgent-main-1.0.0-SNAPSHOT.jar [ERROR] The following mojo encountered an error while executing: Group-Id: org.codehaus.mojo Artifact-Id: appassembler-maven-plugin Version: 1.0 Mojo: create-repository brought in via: POM While building project: Group-Id: com._3dfacto Artifact-Id: acadGenerator-installer Version: 1.0.0-SNAPSHOT >From file: D:\3dwork\acadGenerator\acadGenerator-installer\pom.xml Reason: Failed to copy artifact > "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