Created
December 2, 2019 08:52
-
-
Save jarek-przygodzki/334ab904aa9a1e23595a64f1c371ca99 to your computer and use it in GitHub Desktop.
Building WildFly Camel 9.1.0
This file contains 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
git clone https://github.com/wildfly/wildfly-core.git /builds/wildfly-core | |
cd /builds/wildfly-core | |
git checkout -b galleon-update 7.0.0.Final | |
git clone https://github.com/wildfly/wildfly.git /builds/wildfly | |
cd /builds/wildfly | |
git checkout -b galleon-update 15.0.1.Final | |
git clone https://github.com/wildfly-extras/wildfly-camel.git /builds/wildfly-camel | |
cd /builds/wildfly-camel | |
git checkout -b galleon-update 9.1.0 | |
cd /builds/wildfly-core | |
xmlstarlet ed -L -S -N 'x=http://maven.apache.org/POM/4.0.0' \ | |
-u '/x:project/x:properties/x:version.org.jboss.galleon' -v '4.1.1.Final' \ | |
-u '/x:project/x:properties/x:version.org.wildfly.galleon-plugins' -v '4.0.4.Final' \ | |
pom.xml | |
git add pom.xml | |
git commit -m "Galleon's version upgrade" | |
WFLY_CORE_VERSION=$(git describe --tags) | |
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$WFLY_CORE_VERSION | |
mvn install -DskipTests | |
cd /builds/wildfly | |
xmlstarlet ed -L -S -N 'x=http://maven.apache.org/POM/4.0.0' \ | |
-u '/x:project/x:properties/x:version.org.jboss.galleon' -v '4.1.1.Final' \ | |
-u '/x:project/x:properties/x:version.org.wildfly.galleon-plugins' -v '4.0.4.Final' \ | |
-u '/x:project/x:properties/x:version.org.wildfly.core' -v "$WFLY_CORE_VERSION" \ | |
pom.xml | |
git add pom.xml | |
git commit -m "Galleon's and WildFly Core's version upgrade" | |
WFLY_VERSION=$(git describe --tags) | |
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$WFLY_VERSION | |
mvn install -DskipTests | |
cd /builds/wildfly-camel | |
xmlstarlet ed -L -S -N 'x=http://maven.apache.org/POM/4.0.0' \ | |
-u '/x:project/x:properties/x:version-galleon-maven-plugin' -v '4.1.1.Final' \ | |
-u '/x:project/x:properties/x:version-wildfly-galleon-plugin' -v '4.0.4.Final' \ | |
-u '/x:project/x:properties/x:version.wildfly' -v "$WFLY_VERSION" \ | |
pom.xml | |
git add pom.xml | |
git commit -m "Galleon's and WildFly's version upgrade" | |
WFLY_CAMEL_VERSION=$(git describe --tags) | |
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=$WFLY_CAMEL_VERSION | |
mvn install "-Dmaven.test.skip=true" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment