Skip to content

Commit

Permalink
Reproduction of the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejj0 committed Nov 27, 2024
1 parent 5832dab commit c5af5f6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
invoker.goals = ${project.groupId}:${project.artifactId}:${project.version}:update-parent
invoker.mavenOpts = -DparentVersion=[0,14.3.1.300]
14 changes: 14 additions & 0 deletions versions-maven-plugin/src/it/it-update-parent-issue-1190/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>localhost</groupId>
<artifactId>dummy-1190</artifactId>
<version>14.3.1.300-SNAPSHOT</version>
</parent>

<artifactId>test-artifact</artifactId>
<version>1.0.0</version>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pom = new File( basedir, "pom.xml" ).text

assert !pom.contains('SNAPSHOT')

0 comments on commit c5af5f6

Please sign in to comment.