• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Social distancing? Try a better way to work remotely on your online files. Dokkio, a new product from PBworks, can help your team find, organize, and collaborate on your Drive, Gmail, Dropbox, Box, and Slack files. Sign up for free.



Page history last edited by PBworks 12 years, 4 months ago

How to build and release the OAuth java libraries with Maven:


1) Install Maven

Download maven 2 from http://maven.apache.org/download.html.

Follow the instructions on the download page to configure Maven for your machine (you probably need to set JAVA_HOME).


2) Check out the java code and maven repository


3) Edit all of the pom.xml files in the java directory (there are five) and bump the tags (all of them) to the current date in YYYYMMDD format.


4) Build the code, run the tests, and deploy the new libraries to the repository

cd java

mvn deploy


5) Check in the pom.xml change:

svn ci


6) Upload new files to the maven repository:

cd ../maven

find . -name YYYYMMDD | xargs svn add

svn ci

Comments (0)

You don't have permission to comment on this page.