Useful Maven Commands
To access the Movebank Archiva Repository, you need an account on the archiva system and need to configure your maven settings file like this:
In ~\.m2\settings.xml
add the repositories:
Deploying File on Archiva
If you want to deploy libraries that are not available over online maven repositories, you can deploy them to the internal Disy Archiva repository. The shell command is:
It should be possible to deploy the source-files along with the library, the trick is to specify a classifier “sources”, but apparently its not working at the moment. See:
http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploying-with-classifiers.html
http://osdir.com/ml/users-archiva-apache/2009-06/msg00029.html
Example of a Deployment:
Debugging with Maven-Commandoline & Eclipse
1. Start maven goal with debug-mode
2. Maven should wait on port 8000
3. Set your breakpoint
4. In Eclipse, click on “Debug” -> “Remote Java Application” and start
5. Maven should start automatically