Instructions for changing the SwitchYard version:
- Install parent and core for the first time, if not already done.
cd parent mvn install cd ../core mvn install -DskipTests=true
- Update version in parent and core and re-install.
cd ../parent mvn org.switchyard:switchyard-plugin:setVersion -DoldVersion=0.6.0-SNAPSHOT -DnewVersion=0.6.0.Final mvn install cd ../core mvn org.switchyard:switchyard-plugin:setVersion -DoldVersion=0.6.0-SNAPSHOT -DnewVersion=0.6.0.Final
- The core/tools/maven/archetypes project will most likely fail, due to dependency resolution. Simply install anyway, and run both commands again.
# still in core: mvn install -DskipTests=true mvn org.switchyard:switchyard-plugin:setVersion -DoldVersion=0.6.0-SNAPSHOT -DnewVersion=0.6.0.Final mvn install -DskipTests=true
- Update version in components, quickstarts, console and release and install.
cd ../components mvn org.switchyard:switchyard-plugin:setVersion -DoldVersion=0.6.0-SNAPSHOT -DnewVersion=0.6.0.Final mvn install -DskipTests=true cd ../quickstarts mvn org.switchyard:switchyard-plugin:setVersion -DoldVersion=0.6.0-SNAPSHOT -DnewVersion=0.6.0.Final mvn install -DskipTests=true cd ../console mvn org.switchyard:switchyard-plugin:setVersion -DoldVersion=0.6.0-SNAPSHOT -DnewVersion=0.6.0.Final mvn install -DskipTests=true -P dev cd ../release mvn org.switchyard:switchyard-plugin:setVersion -Peap,wildfly -DoldVersion=0.6.0-SNAPSHOT -DnewVersion=0.6.0.Final mvn install -DskipTests=true
- release/jboss-as6/**/pom.xml can only be done by hand because of broken dependencies in build files.
- components/torquebox/**/pom.xml can only be done by hand because of broken dependencies in build files.
- tools/**/pom.xml and tools/**/MANIFEST.MF is done via a separate process:
Deploying SwitchYard to Nexus
In the parent, core, components, console projects :
mvn deploy
Remove all the tags out of ~/.m2/repository then test building quickstarts with the staging repository definition / plugin repository definition,
In quickstarts :
mvn -DaltDeploymentRepository=jboss-releases-repository::default::https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/
In releases :
cd karaf; mvn -Deap.home={EAP.LOCATION} -Pkaraf deploy
Comments