Skip to content

Commit

Permalink
[4269] update copy-pasta
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Cox committed Jun 25, 2024
1 parent 681bd9d commit eb25ca5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions sams-profile-test2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Adhoc demo of issue with settings.xml's activeProfile

```sh
mvn -f parent-1/pom.xml install
mvn -f parent-2/pom.xml install
mvn -f recipe/pom.xml install
```

# Does not work

```sh
mvn -s works-settings.xml -e org.openrewrite.maven:rewrite-maven-plugin:run \
-Drewrite.exportDatatables=true -Drewrite.recipeArtifactCoordinates=com.myorg.recipes:recipe-2:0.1.0-SNAPSHOT \
-Drewrite.activeRecipes=org.openrewrite.FindParseFailures,com.myorg.MyRecipe
```
2 changes: 1 addition & 1 deletion sams-profile-test2/recipe/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.myorg.recipes</groupId>
<artifactId>recipe</artifactId>
<artifactId>recipe-2</artifactId>
<version>0.1.0-SNAPSHOT</version>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ recipeList:
- - org.openrewrite.maven.UpgradeParentVersion:
groupId: com.myorg.parent
artifactId: parent
newVersion: 1.0.0-SNAPSHOT
newVersion: 2.0.0-SNAPSHOT
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: commons-collections
oldArtifactId: commons-collections
Expand Down

0 comments on commit eb25ca5

Please sign in to comment.