-
1. Error building Simplesthelloworld w/ Maven & Eclipse
mwringe May 11, 2011 9:46 AM (in response to scottymac)Which version of maven are you using? Have you tried with 2.1.1 ? I believe somethings changed in maven 3 with regards to the parent pom location...
-
2. Re: Error building Simplesthelloworld w/ Maven & Eclipse
scottymac May 11, 2011 9:50 AM (in response to mwringe)I am using Maven 3.0.3 (3.6.2 in eclipse details)...I will try and use the version you suggested. Thanks.
-
3. Re: Error building Simplesthelloworld w/ Maven & Eclipse
scottymac May 11, 2011 10:08 AM (in response to scottymac)Thanks Matt. It worked using the 2.2.1 version through the command line. Is there a Eclipse plugin of Maven for version 2.2.1 (currently I've only found 3.0.2 which doesn't build)? Thanks again!
-
4. Re: Error building Simplesthelloworld w/ Maven & Eclipse
mwringe May 11, 2011 11:38 AM (in response to scottymac)you can tell the eclipse maven pluging to use a maven install on your system instead of using an embedded version. Just point the plugin to the 2.1.1 version you just installed and it should work.
-
5. Re: Error building Simplesthelloworld w/ Maven & Eclipse
scottymac May 12, 2011 10:51 AM (in response to scottymac)Got it to work. Thanks Matt for pointing me in the right direction...
If anyone is interested, for eclipse to use Maven 2.1.1 instead of the embedded plugin (which doesn't build GateIn), go to Window -> Preferences and add the path of the Maven 2.2.1 install to 'Installations'. Also, when building ('Run As -> Maven Build'), select the Maven runtime for the external install.