Skip to content

Instantly share code, notes, and snippets.

@tonybruess
Created June 30, 2014 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonybruess/7383ef6c26659b9082c3 to your computer and use it in GitHub Desktop.
Save tonybruess/7383ef6c26659b9082c3 to your computer and use it in GitHub Desktop.
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