-
-
2. Re: Maven Dependencies
suikast42 Nov 22, 2011 5:04 PM (in response to peterj)Peter thanks for reply. The link is only the configuration of the repositories if I'm not wrong. I need information about the dependenies that I need in my pom.xml. For Example for an EJB prohect, hibernate project or a client project.
-
3. Re: Maven Dependencies
sfcoy Nov 22, 2011 5:56 PM (in response to suikast42)Try running:
mvn archetype:generate
and try a few of the many JEE options.
-
4. Re: Maven Dependencies
suikast42 Nov 23, 2011 2:32 AM (in response to sfcoy)Thanks Stephen.
I forget to say that I use maven with Eclipse 3.7. This use maven in emebbeded mode. Can I run maven commands from eclipse or must I download install maven in standalone version?
Can you explain me what the command mvn archetype:generate does ? And where can I find the JEE options ?
-
5. Re: Maven Dependencies
sfcoy Nov 23, 2011 7:46 AM (in response to suikast42)Yes. Download and install the standalone version. It's a whole 3MB.
Then have a look at http://maven.apache.org/archetype/maven-archetype-plugin/.
And this page http://maven.apache.org/plugins/index.html is your friend. Maven is a plugin rich environment, and you will need to learn how to configue them.
I also just remembered that you can create a new "Maven" project using a wizard in Eclipse. This will use the archetype mechanism if you want too.
New -> Other... -> Maven -> Maven Project
-
6. Re: Maven Dependencies
suikast42 Nov 23, 2011 7:07 AM (in response to sfcoy)Tahnks Stephen,
I'll check this links out.