Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Embedded maven version in m2eclipse plugin

Hi Adam,

m2eclipse-wtp doesn't follow the same release cycle as m2e-core, so the version number differs. 0.11.1 is the latest stable release. I plan to release 0.12 before the end of the month.

Concerning your issues :
- If you have a dependent project in the workspace, which might be dragging ant-launcher, make sure to update its maven project configuration (see
- m2eclipse-wtp doesn't interfere with Run As commands. At all. Only exploded deployments I know are caused by WTP deploying to an AS, using JBossTools. This is totally decoupled from Maven.

It'd be easier to troubleshoot your problems with some test projects to reproduce the issue(s). Could you please open 2 tickets and attach corresponding project samples to


Fred Bricon

2011/4/7 Adam Lau <adam@xxxxxxxxxx>
Hi Igor,

I updated the Maven Integration for Eclipse plugin to the one you pointed to ( I noticed that the Maven Integration for Eclipse WTP is still back at

I'm using Eclipse Helios on Mac OSX 10.6.7.

Here's what I found so far:
1) The dependency resolution works better, the 50+ transitive dependencies for the pom artifact (below) were correctly evaluated as "provided" as seen in the Dependency Hierarchy tab:

group id: org.jboss.jbossas
artifact id: jboss-as-client
version: 6.0.0.Final
type: pom
scope: provided

However there was one dependency ant-launcher: 1.8.0 [] that didn't evaluate to any scope and so got deployed to the WEB-INF/lib of my war project when published to the app server. It's interesting to note that the ant-launcher dependency is the first leaf node of the first branch node in the dependency tree.

2) I have an ear file which contains a ejb 2.1 jar, an ejb 3.1 jar , a war and two standard jars. When running mvn package outside of eclipse the ear gets packaged correctly with 4 jars, a packaged war and a correctly generated application.xml. When using the Run As Maven Package command in eclipse the resultant ear file ends up with the ejb3.1 module and the war module being exploded. 
Adam Lau
Ademin Pty. Ltd.
Melbourne, Australia
m: +61 (0) 419 003 292
skype: adam.j.lau

On 07/04/2011, at 10:07 AM, Igor Fedorenko wrote:

For m2e 0.13, we plan to provide embedded maven runtime based on maven
3.0.3 as a separate item available from m2e marketplace. All external
dependencies are already locked for 3.7/Indigo release, so we won't be
able update "standard" m2e until after June.

We are also considering release m2e 0.12.2 to include maven 3.0.3 and
updated version of http transport layer. If you want to help us test
this new version, "warm-up" build is available from [1]. We will
appreciate any feedback, positive and otherwise.



On 11-04-06 07:53 PM, Adam Lau wrote:
Is there a plan to move the embedded maven version from 3.0.2 to 3.0.3?
I'm currently being bitten by a bug in 3.0.2 to do with transitive
dependencies []. I think my only
work around is to put in explicit exclusions for 50+ transitive
dependencies. The problem manifests itself when m2eclipse/wtp is used to
deploy my war project to the app server (jboss). The war has a
dependency on my app server library pom jboss-as-client . The result is
that even though the jboss-as-client dependency is scoped as provided
some of the transitive dependencies get evaluated as scope compile and
get bundled in the WEB-INF/lib directory.



m2e-users mailing list
m2e-users mailing list

m2e-users mailing list

"Have you tried turning it off and on again" - The IT Crowd

Back to the top