Skip to content

Instantly share code, notes, and snippets.

@tonybruess
Created Jun 30, 2014
Embed
What would you like to do?
How to add jdom2 to a maven repo

jdom

There's a fun dependency called jdom2. It is currenty located in our repository. If it ever gets removed, this is how you readd it.

mvn deploy:deploy-file -Dfile=jdom-2.0.5-contrib.jar -DgroupId=org.jdom -DartifactId=jdom2-contrib -Dversion=2.0.5 -Dpackaging=jar -DrepositoryId=overcast-deployment -Durl=https://repo.oc.tc/content/repositories/releases

mvn deploy:deploy-file -Dfile=jdom-2.0.5.jar -DgroupId=org.jdom -DartifactId=jdom2 -Dversion=2.0.5 -Dpackaging=jar -DrepositoryId=overcast-deployment -Durl=https://repo.oc.tc/content/repositories/releases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment