Hello,

I'm facing a problem with dependency-plugin copy mojo and m2e (latest Oxygen).

Instead of to copy the artifact's attached resource file (with type and classifier) it is copying the artifact's pom.xml.

This is strange, because it used to work about a year ago, last time I used eclipse ide.

When running out of eclipse or calling the maven launcher it is working as expected.

When I imported the project the dependency-plugin extension was installed.

I'm using this:

                    <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
                        <inherited>true</inherited>
                        <executions>
                            <execution>
                                <id>cp-neon</id>
<phase>validate</phase>
                                <goals>
                                    <goal>copy</goal>
                                </goals>
                                <configuration>
<overWriteIfNewer>true</overWriteIfNewer>
                                    <artifactItems>
                                        <artifactItem>
<groupId>com.c8tech.releng.maven</groupId>
<artifactId>fpom-node-equinox</artifactId>
<version>${com.c8tech.releng.version}</version>
<type>properties</type>
<classifier>equinox_neon</classifier>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}</outputDirectory>
<destFileName>dependencies-neon.properties</destFileName>
                                        </artifactItem>
                                    </artifactItems>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>

Am I missing something ?

thanks,

Cristiano

_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to