Friday, October 10, 2008


Sonatype Nexus is great as it simplifies maven. Maven is a useful java tool that allows for simplification of development within a team by removing unnecessary complexity within build scripts however it may seem overwhelming with configuration and repository management.

Development teams should use Sonatype Nexus to provide a cache of public repositories. This also ensures that each developer is using the same internal repository and simplifies configuration on each machine.

The following public repositories should be added to nexus. Note: is a maven 1 repository and you would have to tell nexus to remap virtually present this as a maven 2 repository.



If you need to still need to customise your build you can still use ant by using the antrun plugin.

<echo message="Hello World"/>
<mkdir dir="target/sample"/>
<javac classname="tim.HelloWorld" classpathref="maven.plugin.classpath" fork="true" dir="target/sample"/>


Kai Hendry said...

That build XML is ridiculous!

Use a Makefile dude.

goooooood girl said...

Very good......