Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] M2E problems with maven-dependency-plugin copy goal

Igor,

I have had the same problem and used the "ignore instead of execute" band-aid.

Is there any update or indication that anyone is working on making the dependency plugin be supported? In general, how does one find out what the progress (if any) is being made on making any particular plugin? There is a table on (I believe) eclipsepedia which lists a few plugins that are supported, but that's all I've found.

I'm particularly interested in figuring out the status of maven-dependency-plugin, maven-jaxb2-plugin, and cxf-codegen-plugin, just to be specific.

Thanks,

Dave Lebling

-----Original Message-----
From: m2e-users-bounces@xxxxxxxxxxx [mailto:m2e-users-bounces@xxxxxxxxxxx] On Behalf Of Igor Fedorenko
Sent: Thursday, December 06, 2012 7:00 AM
To: m2e-users@xxxxxxxxxxx
Subject: Re: [m2e-users] M2E problems with maven-dependency-plugin copy goal

Dependency plugin is not supported by m2e. Just forcing m2e to run the plugin during incremental build is not enough to make it supported (as you've found out). Somebody has to understand what exact behaviour you want, which is trickier than you might expect, and make necessary changes to the dependency plugin or write m2e project configurator to make this work.

--
Regards,
Igor

On 12-12-06 4:10 AM, Flavio Campana wrote:
> Hello everyone,
> i'm having some trouble with m2e and maven-dependency-plugin and its 
> copy goal.
> i have configured the maven plugin to copy the jars needed for an 
> applet in the correct directory, and it works wonders from the command 
> line:
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-dependency-plugin</artifactId>
>                  <version>2.4</version>
>                  <executions>
>                      <execution>
>                          <id>copy-dependencies</id> 
> <phase>generate-resources</phase>
>                          <goals>
>                              <goal>copy</goal>
>                          </goals>
>                          <configuration>
>                              <artifactItems>
>                                  <!-- CUT -->
>                              </artifactItems> 
> <outputDirectory>${project.build.directory}/TestProject/applets</outpu
> tDirectory>
>
> <overWriteReleases>true</overWriteReleases>
> <overWriteSnapshots>true</overWriteSnapshots>
> <overWriteIfNewer>true</overWriteIfNewer>
>                          </configuration>
>                      </execution>
>                  </executions>
>              </plugin>
> I configured the lifecycle mappings for m2e like this:
> <pluginExecution>
>                                      <pluginExecutionFilter>
>                                          <groupId>
>                                              org.apache.maven.plugins
>                                          </groupId>
>                                          <artifactId>
>                                              maven-dependency-plugin
>                                          </artifactId>
>                                          <versionRange>
>                                              [2.1,)
>                                          </versionRange>
>                                          <goals>
>                                              <goal>
>                                                  copy
>                                              </goal>
>                                          </goals>
>                                      </pluginExecutionFilter>
>                                      <action>
>                                          <execute> 
> <runOnIncremental>true</runOnIncremental>
>                                          </execute>
>                                      </action>
>                                  </pluginExecution>
>
> but the jars are not copied in the webapp for debug in the internal 
> eclipse server.
> What can i do?
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top