My Maven Notebook

Dependencies

Generating an Image of all dependencies

  mvn org.fusesource.mvnplugins:maven-graph-plugin:reactor -Dhide-external=true

Generates a png image file in your projects target folder

Discussion on generating dependency-graphs

the script i cuurently use

#!/bi/sh
HIDE_EXTERNAL=false
PROJECT=ebp-reactor/vrbankenportal
TIMESTAMP=$(date +"%D_%H-%M")
echo TIME: $TIMESTAMP
POM=ebp-reactor/pom.xml
POM=$PROJECT/pom.xml
label="@JavaVolker"
#echo \
mvn -f $POM \
	org.fusesource.mvnplugins:maven-graph-plugin:reactor	\
	 -Dhide-external=$HIDE_EXTERNAL

convert $PROJECT/target/reactor-graph.png -background Khaki \
 label:"by $label" \
 -size 5 \
 -gravity center \
 -append $PROJECT/target/dependencies.png

Deployment

To Nexus