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

Lukasz Szelag edited comment on MAPPASM-82 at 2/23/12 8:22 AM:
---------------------------------------------------------------

I found out that this issue is not necessarily specific to Eclipse, as I'm 
getting the same error from the command line.

Nevertheless, -*the above error occurs only when running the build on 
Linux*-^corrected below^ and works on Windows. Eclipse is not even installed on 
the Linux server.

{code:title=Windows 7 SP1}
Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.7.0_01
Java home: C:\programs\jse-1.7.0_01\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"

java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
{code}

{code:title=Linux Ubuntu 2.6.18-238.12.1.el5}
Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.7.0
Java home: /data/riskengine2/jse-1.7.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.18-238.12.1.el5" arch: "amd64" Family: "unix"
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
{code}

                
      was (Author: lukasz74nj):
    I found out that this issue is not necessarily specific to Eclipse, as I'm 
getting the same error from the command line.

Nevertheless, the above error occurs only when running the build on Linux and 
works on Windows. Eclipse is not even installed on the Linux server.

{code:title=Windows 7 SP1}
Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.7.0_01
Java home: C:\programs\jse-1.7.0_01\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"

java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
{code}

{code:title=Linux Ubuntu 2.6.18-238.12.1.el5}
Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.7.0
Java home: /data/riskengine2/jse-1.7.0/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.18-238.12.1.el5" arch: "amd64" Family: "unix"
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
{code}

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