Last active
December 24, 2015 00:59
-
-
Save nickboldt/6720314 to your computer and use it in GitHub Desktop.
install a locally downloaded TP zip into your ~/.m2 folder for use w/ local builds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # quick way to get jbosstools or jbdevstudio unified target into your ~/.m2 folder without having to build it locally: | |
| VERSION=4.31.0.Alpha2-SNAPSHOT | |
| PROJECT=jbosstools | |
| # get the zip + unpack it | |
| cd /tmp/ | |
| wget http://download.jboss.org/${PROJECT}/targetplatforms/${PROJECT}target/${VERSION}/${PROJECT}target-${VERSION}.zip | |
| unzip ${PROJECT}target-${VERSION}.zip -d ${PROJECT}target-${VERSION} | |
| # clone the jbosstools-target-platforms project if not already on disk | |
| cd /path/to/projects/ | |
| git clone git@github.com:jbosstools/jbosstools-target-platforms.git | |
| # get the latest target platform definition & update it | |
| cd /path/to/projects/jbosstools-target-platforms | |
| git checkout 4.31.x | |
| git pull origin | |
| # install the target platform to your local ~/.m2 for use w/ local builds | |
| cd /path/to/projects/jbosstools-target-platforms/${PROJECT}/unified | |
| mvn install -DtargetRepositoryUrl=file:///tmp/${PROJECT}target-${VERSION} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment