[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] m2eclipse: run as... > package "Cannot copy a directory"

We have noticed that the m2eclipse run as... > package is unable to
execute within Eclipse using embedded or maven 2.0.9 installation. It
runs without an issue from the command line. Also, it was working before
the latest dev update last week. Any ideas?

ENVIRONMENT:
Maven Embedder Component (version: 2.1.0.20080530-2300)
Maven Integration for Eclipse (version: 0.9.7.200902051931)
Maven Integration for WTP (version: 0.9.7.200902051931)
Maven POM Editor (version: 0.9.7.200902051931)
Maven POM XML Editor (version: 0.9.7.200902051931)

ERROR MESSAGE:
The following mojo encountered an error while executing:
Group-Id: org.apache.maven.plugins
Artifact-Id: maven-ear-plugin
Version: 2.3.1
Mojo: ear
brought in via: packaging: ear

While building project:
Group-Id: org.nemours.findadoc
Artifact-Id: findadoc-ear
Version: 2.0.0-SNAPSHOT
>From file: C:\projects\findadoc-jee\findadoc-ear\pom.xml
Reason: Cannot copy a directory:
C:\projects\findadoc-jee\findadoc-jpa\target\classes; Did you
package/install active project artifact:
       artifact =
org.nemours.findadoc:findadoc-jpa:jar:2.0.0-SNAPSHOT:compile;
       project: MavenProject:
org.nemours.findadoc:findadoc-jpa:2.0.0-SNAPSHOT @
C:\projects\findadoc-jee\findadoc-jpa\pom.xml?