I have to import a project with Maven2. So far i installed eclipse gallelio then installed the software eclipse IAM and apache maven.
Then i create an new maven2 project with quickstart maven architecture. After that i import my java project into this maven architecture folder.
Now i don’t know how to run this project as a maven architecture. I have to create a jar of my source
Please help me in this
If you just want / need to create a source jar, there’s no need to use an IDE at all.
Just execute
mvn source:jaron the command line. The resulting JAR will be in the target folder.Apart from that: I don’t know IAM, but the preferred way to integrate Eclipse with Maven is m2e (formerly m2eclipse).