- This topic has 183 replies, 92 voices, and was last updated 16 years, 12 months ago by
Riyad Kalla.
-
AuthorPosts
-
October 26, 2007 at 11:53 am #277568
Stephen CooperMemberQuick update to anyone using “my” solution above:
I’ve given up on the m2eclipse plugin – it’s too unstable. I instead use mvn eclipse:eclipse and manually tweak the build path. It’s a bit of a bother having to help a large team navigate doing that, but it’s better than the stability issues of the m2eclipse plugin.MyEclipse team – I think the m2eclipse plugin approach is the “correct” way to go about it, but it’s a plugin which is in serious need of some help.
a) on restart of eclipse, it will randomly fail to put any jar files in the “Maven dependencies” classpath library. The fastest way to get them back is to disable then re-enable the maven integration
b) in a nested project structure, where the parent pom changes, the changes aren’t picked up until you do a secrent incantation of ‘reindex local’ and disabling and re-enabling maven on every child project.October 29, 2007 at 8:54 am #277617
Knut Erik BallestadMemberThis message has not been recovered.
November 1, 2007 at 8:50 am #277876
James CarrollMemberThis message has not been recovered.
November 6, 2007 at 6:42 am #278042
Knut Erik BallestadMemberThis message has not been recovered.
November 6, 2007 at 10:53 am #278075
Riyad KallaMemberThis message has not been recovered.
November 7, 2007 at 4:29 am #278130
Aaron DigullaMemberThis message has not been recovered.
November 10, 2007 at 9:43 am #278370
lynnwMemberThis message has not been recovered.
November 10, 2007 at 10:40 am #278374
Stephen CooperMemberThis message has not been recovered.
November 19, 2007 at 4:51 am #278704
msquaredMember@digulla wrote:
Apart from that, the maven integration still won’t buy us much unless ME learns a way to say “deploy/do not deploy” on a per-file basis like IntelliJ does.
The maven scope and ME deployment issue is easily solved, see my post
https://www.genuitec.com/forums/topic/maven-integration/#post-270346This thread is now FOUR (4) YEARS OLD but still MyEclipse doesn’t know a pom from a lollipop
The WTP project is a far better choice than MyEclipse for maven users:
http://docs.codehaus.org/display/M2ECLIPSE/Integration+with+WTP
Note that m2eclipse plugin already has an attribute now that MyEclipse could use with the following simple patch to com.genuitec.eclipse.ast.deploy.core.DeploymentUtil:boolean deploy=true;
if (“org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER”.equals(iclasspathcontainer.getPath().toPortableString())){
for (int a=0; a<iclasspathentry1.getExtraAttributes().length; a++) {
IClasspathAttribute cpa = iclasspathentry1.getExtraAttributes()[a];
if (“org.eclipse.jst.component.nondependency”.equals(cpa.getName())) {
DeploymentCore.getDefault().log(“nondependency for ” + ipath2);
deploy = false;
break;
}
}
}
if (! deploy)
continue; // dont deploy this JARDecember 3, 2007 at 12:23 pm #279298
Knut Erik BallestadMemberThis message has not been recovered.
December 3, 2007 at 1:39 pm #279299
Riyad KallaMemberThis message has not been recovered.
December 3, 2007 at 3:40 pm #279309
Knut Erik BallestadMemberThis message has not been recovered.
December 3, 2007 at 4:08 pm #279311
Riyad KallaMemberThis message has not been recovered.
December 6, 2007 at 2:42 pm #279419
jacorobMemberLittle late, but just to keep the requests coming.. +6 from my team for Maven2 integration.
Bob
ERGDecember 6, 2007 at 2:45 pm #279420
Riyad KallaMemberBob,
Never too late.Can you be more specific about your team’s requirements for Maven? Just the dependnecy management? Build management? etc.
-
AuthorPosts