Skip to content

Commit b2c726e

Browse files
committed
build(pom): release:prepare must install not verify
Install during release:prepare so the archetype IT can resolve the just-built integration jar from local repo.
1 parent 21f43d3 commit b2c726e

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,20 @@
5454
<url>https://github.com/database-audits/spring-boot-integration</url>
5555
<tag>v1.0.1</tag>
5656
</scm>
57+
58+
<build>
59+
<plugins>
60+
<plugin>
61+
<groupId>org.apache.maven.plugins</groupId>
62+
<artifactId>maven-release-plugin</artifactId>
63+
<configuration>
64+
<!-- The archetype IT forks a build of the generated sample, which depends on the freshly
65+
built database-audits-spring-boot-integration artifact and resolves it from the local
66+
repository. So release:prepare must install (the default clean verify does not); this
67+
matches the clean install CI build. -->
68+
<preparationGoals>clean install</preparationGoals>
69+
</configuration>
70+
</plugin>
71+
</plugins>
72+
</build>
5773
</project>

0 commit comments

Comments
 (0)