-
Notifications
You must be signed in to change notification settings - Fork 4
/
to-jakarta.sh
18 lines (12 loc) · 954 Bytes
/
to-jakarta.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash
sed -i '' 's/smallrye-parent/smallrye-jakarta-parent/g' pom.xml
find . -type f -name '*.java' -exec sed -i '' 's/javax./jakarta./g' {} +
mvn build-helper:parse-version versions:set -DnewVersion=2.1.0-SNAPSHOT
mvn -ntp versions:update-property -Dproperty=version.smallrye.common -DnewVersion=2.0.0
mvn -ntp versions:update-property -Dproperty=version.testng -DnewVersion=7.6.0
mvn -ntp versions:update-property -Dproperty=version.weld.api -DnewVersion=4.0.SP1
mvn -ntp versions:update-property -Dproperty=version.weld.core -DnewVersion=4.0.3.Final
mvn -ntp versions:update-property -Dproperty=version.weld.junit -DnewVersion=3.0.0.Final
mvn -ntp versions:update-property -Dproperty=version.arquillian -DnewVersion=1.7.0.Alpha10
mvn -ntp versions:update-property -Dproperty=version.arquillian.weld-embedded -DnewVersion=3.0.1.Final
mvn -ntp versions:update-property -Dproperty=version.arquillian.wildfly -DnewVersion=5.0.0.Alpha2