Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] maven-dependency-plugin (goals "copy-dependencies", "unpack") is not supported by m2e.

It's a feature, but we should probably get rid of it.

"copy-dependencies" and "unpack" maven-dependency-plugin goals fall into
the category of "known unknowns" ;-) They can be used for something
imported inside IDE, like pulling test data used by unit tests, or can
be used for some less important (for IDE scenarios). So we put explicit
<error/> mapping in default lifecycle mapping metadata, which disabled
the quick fix.

--
Regards,
Igor

On 11-06-27 4:44 PM, Milos Kleint wrote:
AFAIK the "not supported by m2e" warning doesn't have the ignore resolution hint associated. Is that a bug?

Milos

On Jun 27, 2011, at 2:38 PM, Igor Fedorenko wrote:

http://wiki.eclipse.org/M2E_plugin_execution_not_covered

As a guess, the legal files may not be needed when launching test
application instances from within IDE. If that's the case, then you need
to add<ignore/>  build lifecycle mapping for dependency:unpack maven
plugin goal.

--
Regards,
Igor

On 11-06-27 3:24 PM, Robert.Klaus@xxxxxxxxxxxx wrote:
Hi all,

we are using the dependency plugin in our build. It extracts a zip file containing legal information that is to be included into a war file. This is mandatory :/

After trying out Eclipse 3.7 with the new 1.0 version of m2e we got an error marker with the message in the subject. Build worked in older versions and also on command line with pure Maven.

I did some research and found the following discussions on the mailing list:

http://dev.eclipse.org/mhonarc/lists/m2e-users/msg00678.html
http://dev.eclipse.org/mhonarc/lists/m2e-users/msg00099.html

However there is no workaround or advice what to do in this case. This hinders switching to the new m2e version as we don't want to change the build.

Does anybody have a hint what we can do?

Mit freundlichen Grüßen / Best regards

Robert Klaus

Bosch Software Innovations GmbH
Development - Technology (INST/EST)
Ziegelei 7
88090 Immenstaad
GERMANY
www.bosch-si.de

Tel. +49 7545 202-339
Fax +49 7545 202-301
robert.klaus@xxxxxxxxxxxx

Registered office: Immenstaad, Register court: Amtsgericht Ulm, HRB 631888;
Executives: Heinz Derenbach; Achim Berger, Thomas Cotic, Thomas Schmid

This message may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please inform us immediately and destroy this message including all copies thereof.


_______________________________________________
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

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top