Affects Version/s: 1.0
Fix Version/s: None
Environment:eclipse ganymede SR2, JDK 1.5
Number of attachments :
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:
brought in via: POM
While building project:
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.