Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] dependency:unpack fails in m2e with workspace resolution

I ran across another incarnation of this rather old bug today:
http://jira.codehaus.org/browse/MDEP-187

With this in our pom:
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-dependency-plugin</artifactId>
    <executions>
        <execution>
            <id>unpack</id>
            <phase>process-resources</phase>
            <goals>
                <goal>unpack</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <artifactItems>
            <artifactItem>
                <groupId>com.elasticpath</groupId>
                <artifactId>ep-search</artifactId>
                <overWrite>true</overWrite>
                <outputDirectory>target/</outputDirectory>
                <includes>...</includes>
            </artifactItem>
        </artifactItems>
    </configuration>
</plugin>

and com.elasticpath:ep-search open in Eclipse, and workspace resolution enabled, I get this error:
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.1:unpack (unpack) on project ep-search-itest: Error unpacking file: /home/dlewis/projects/maven-migration-testing/ep/ep-search/target/classes to: /home/dlewis/projects/maven-migration-testing/ep/ep-search-itest/target

Is there any possibility of getting this fixed before the final 1.0.0 goes out in Eclipse 3.7, or is it too late for that?

Back to the top