Skip to content

Commit

Permalink
WINDUPRULE-976 update version of Openrewrite used within CLI distribu…
Browse files Browse the repository at this point in the history
…tion to leverage new capabilities (#117)
  • Loading branch information
PhilipCattanach authored Apr 26, 2023
1 parent 205e692 commit babd707
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/bin/windup-cli
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ fi
WINDUP_OPTS="$WINDUP_OPTS $FILE_DESCRIPTOR_OPTS";

if [ "$RUN_OPENREWRITE" != "" ] ; then
( cd "$TRANSFORM_PROJECT_PATH"; exec mvn org.openrewrite.maven:rewrite-maven-plugin:4.25.0:"${OPENREWRITE_GOAL}" "${OPENREWRITE_QUOTED_ARGS[@]}" )
( cd "$TRANSFORM_PROJECT_PATH"; exec mvn org.openrewrite.maven:rewrite-maven-plugin:4.44.0:"${OPENREWRITE_GOAL}" "${OPENREWRITE_QUOTED_ARGS[@]}" )
exit 0;

fi
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/bin/windup-cli.bat
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ if %RUN_OPENREWRITE%==false goto runWINDUP_CLI

:runOpenrewrite
PUSHD "%OR_TRANSFORM_PATH%"
mvn "org.openrewrite.maven:rewrite-maven-plugin:4.25.0:%OR_GOAL%" %OR_CMD_LINE_ARGS%
mvn "org.openrewrite.maven:rewrite-maven-plugin:4.44.0:%OR_GOAL%" %OR_CMD_LINE_ARGS%
POPD

if ERRORLEVEL 1 goto error
Expand Down

0 comments on commit babd707

Please sign in to comment.