THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
or
Code Block |
---|
mvn idea:idea |
Info |
Adding Camel Eclipse templates to your workspace
Code Block |
---|
mvn -Psetup.eclipse -Declipse.workspace.dir=/path/to/your/workspace
|
You can also find some helpful notes on usage here.
Importing into Eclipse
If you have not already done so, you will need to make Eclipse aware of the Maven repository so that it can build everything. In the preferences, go to Java->Build Path->Classpath and define a new Classpath Variable named M2_REPO that points to your local Maven repository (i.e., ~/.m2/repository
on Unix and c:\Documents and Settings\<user>\.m2\repository
on Windows).
You can also get Maven to do this for you:
Code Block |
---|
mvn eclipse:add-maven-repo -Declipse.workspace=/path/to/the/workspace/
|