Skip to content

Commit 2391fda

Browse files
committed
Auto version submodules
1 parent 758cc22 commit 2391fda

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# limitations under the License.
1616
-->
1717
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
18+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1919
<parent>
2020
<groupId>org.apache</groupId>
2121
<artifactId>apache</artifactId>
@@ -125,6 +125,14 @@
125125
<target>1.8</target>
126126
</configuration>
127127
</plugin>
128+
<plugin>
129+
<groupId>org.apache.maven.plugins</groupId>
130+
<artifactId>maven-release-plugin</artifactId>
131+
<configuration>
132+
<preparationGoals>clean install</preparationGoals>
133+
<autoVersionSubmodules>true</autoVersionSubmodules>
134+
</configuration>
135+
</plugin>
128136
<plugin>
129137
<groupId>org.apache.maven.plugins</groupId>
130138
<artifactId>maven-dependency-plugin</artifactId>

0 commit comments

Comments
 (0)