-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup some issues to be able to release
- Loading branch information
Showing
3 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
# move to jakarta parent | ||
find . -type f -name 'pom.xml' -exec sed -i '' 's/smallrye-parent/smallrye-jakarta-parent/g' {} + | ||
find . -type f -name 'pom.xml' -exec sed -i'' -e 's/smallrye-parent/smallrye-jakarta-parent/g' {} + | ||
# java sources | ||
find . -type f -name '*.java' -exec sed -i '' 's/javax./jakarta./g' {} + | ||
find . -type f -name '*.java' -exec sed -i'' -e 's/javax./jakarta./g' {} + | ||
# service loader files | ||
find . -path "*/src/main/resources/META-INF/services/javax*" | sed -e 'p;s/javax/jakarta/g' | xargs -n2 git mv | ||
# docs | ||
find documentation -type f -name '*.md' -exec sed -i '' 's/javax./jakarta./g' {} + | ||
find documentation -type f -name '*.md' -exec sed -i'' -e 's/javax./jakarta./g' {} + | ||
|
||
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.nextMajorVersion}.0.0-SNAPSHOT | ||
find examples -depth 1 -type d | xargs -I{} mvn -pl {} build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.nextMajorVersion}.0.0-SNAPSHOT | ||
mvn -ntp build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.nextMajorVersion}.0.0-SNAPSHOT | ||
find examples -maxdepth 1 -type d | xargs -I{} mvn -ntp -pl {} build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.nextMajorVersion}.0.0-SNAPSHOT | ||
|
||
mvn versions:update-property -Dproperty=version.eclipse.microprofile.config -DnewVersion=3.0 | ||
mvn -ntp versions:update-property -Dproperty=version.eclipse.microprofile.config -DnewVersion=3.0 | ||
#https://issues.sonatype.org/browse/MVNCENTRAL-6872 | ||
#mvn versions:update-property -Dproperty=version.jakarta.validation -DnewVersion=3.0 | ||
sed -i '' 's/validation>2.0.2</validation>3.0.1</g' validator/pom.xml | ||
mvn versions:update-property -Dproperty=version.hibernate.validator -DnewVersion=7.0.1.Final | ||
mvn versions:update-property -Dproperty=version.jakarta.el -DnewVersion=4.0 | ||
mvn versions:update-property -Dproperty=version.smallrye.common -DnewVersion=2.0.0-RC1 | ||
mvn versions:update-property -Dproperty=version.smallrye.testing.utilities -DnewVersion=2.0.0-RC1 | ||
#mvn -ntp versions:update-property -Dproperty=version.jakarta.validation -DnewVersion=3.0 | ||
sed -i'' -e 's/validation>2.0.2</validation>3.0.1</g' validator/pom.xml | ||
mvn -ntp versions:update-property -Dproperty=version.hibernate.validator -DnewVersion=7.0.1.Final | ||
mvn -ntp versions:update-property -Dproperty=version.jakarta.el -DnewVersion=4.0 | ||
mvn -ntp versions:update-property -Dproperty=version.smallrye.common -DnewVersion=2.0.0-RC1 | ||
mvn -ntp versions:update-property -Dproperty=version.smallrye.testing.utilities -DnewVersion=2.0.0-RC1 |