Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ldolan
Post subject: What version Maven in ME 8.5 ?  PostPosted: Jun 10, 2010 - 09:58 PM



Joined: Jun 10, 2010
Posts: 3

I've got a series of questions about the Maven support. I tried to search them before posting this thread.

1. What version of maven is "under the hood" in ME 8.5 ??

2. Where is the actual maven installation directory?? Is there one??
I have a need to build applications OUTSIDE of ME, from the command line, but when I have a different version of Maven installed on my machine than the one under the hood of ME, then I get some weird behaviors and clashes. So, I'll need to build from the command line using the same maven installation as ME is using. However, I cannot find the Maven installation anywhere in the ME installation. I'm looking for a mvn.bat or mvn.exe to add to the path, or else some directory to add to the M2_HOME environment variable. It would be nice if ME would add maven to the system PATH when installing instelf. Then, right now, I could just pop open a terminal and do mvn -version and I'd understand right away what version of Maven ME is using

Sorry for the long winded question!
 
 View user's profile Send private message  
Reply with quote Back to top
support-chakri
Post subject: RE: What version Maven in ME 8.5 ?  PostPosted: Jun 11, 2010 - 11:35 AM
Registered Member
Registered Member


Joined: Apr 05, 2010
Posts: 68

Hi ldolan,

Maven version in ME 8.5 is 0.10.0.
Coming to your second question, You are right that there will be some conflicts when we install other version of Maven in the system where ME 8.5 is installed. The Maven jars are located in one folder above the "ME installation directory/", you'll find "Common/Plugins" folders. In that folder you'll have 5 folders with the names starting from "org.maven.ide.eclipse.xxx".
Please let me know if you need anything else.
 
 View user's profile Send private message  
Reply with quote Back to top
ldolan
Post subject: RE: What version Maven in ME 8.5 ?  PostPosted: Jun 11, 2010 - 10:18 PM



Joined: Jun 10, 2010
Posts: 3

You are saying that Maven 0.10.0 is running inside MyEclipse 8.5?? Now I'm really confused, that doesn't make any sense. Maven 2.x.x must be running under the hood in order for anything to work. I've got Maven 2.0.5 installed on my machine. Is 0.10.0 the version of some proprietary re-implementation of Maven that the MyEclipse or Maven4MyEclipse team is developing/maintaining ?

What I'm looking for is something like mvn.bat which comes in the bin directory of any standard Maven installation to add to my PATH system variable, so that I can run Maven2 from the command line. I have not found any mvn.* file in the Common\plugins directory you directed me to.

You see, one of the major benefits of using Maven2 (or ANT or any other) as a build framework is that it is IDE independent. One developer can develop an app using MyEclipse, check it into CVS in Maven2 structure, and another developer can check it out in Maven2 structure and use NetBeans, JBuilder, or even Notepad++ if that's what they desire. So, it doesn't do a lot of good to use some proprietary version of Maven embedded in the IDE that doesn't work the same as an actual Maven installation. I need to test the build outside of the IDE.

Is it true that with ME 8.5 on my machine, I will not be able to do command line Maven builds external to the IDE ????
 
 View user's profile Send private message  
Reply with quote Back to top
ldolan
Post subject: RE: What version Maven in ME 8.5 ?  PostPosted: Jun 11, 2010 - 10:22 PM



Joined: Jun 10, 2010
Posts: 3

BTW, thanks for your time answering my questions, hehe
 
 View user's profile Send private message  
Reply with quote Back to top
support-chakri
Post subject: RE: What version Maven in ME 8.5 ?  PostPosted: Jun 14, 2010 - 11:13 AM
Registered Member
Registered Member


Joined: Apr 05, 2010
Posts: 68

Hi ldolan,

The version of the Maven is available at "Window-->Preference-->MyEclipse-->Maven4MyEclipse-->Maven-->installation". The best suggestion is to install the Maven 3 version in your system and try.
If you want to add your external Maven runtime to the existing MyEclipse, add your runtime in the above said Maven Installations and go to "Run-->Run Configurations..." and double click on the Maven Build. your runtime is available in the drop down of Maven Runtime select box.

Thanks,
Chakri Vedula.
 
 View user's profile Send private message  
Reply with quote Back to top
support-chakri
Post subject: RE: What version Maven in ME 8.5 ?  PostPosted: Jun 14, 2010 - 11:15 AM
Registered Member
Registered Member


Joined: Apr 05, 2010
Posts: 68

Hi ldolan,

Also you can refer some important information about m2eclipse at - http://m2eclipse.sonatype.org/m2eclipse-faq.html#16

Thanks,
Chakri Vedula.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits