Skip to content

Commit 3425f52

Browse files
committed
Renamed parsedVersion.majorVersion to product.majorVersion
Signed-off-by: Atwijukire Ariho Seth <[email protected]>
1 parent 1c0d7ca commit 3425f52

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

docs/parent/pom.xml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
<html.rel.file.prefix></html.rel.file.prefix>
4242
<mq.docs.url>https://eclipse-ee4j.github.io/openmq/guides/</mq.docs.url>
4343
<bookDirectory>${project.build.directory}/book</bookDirectory>
44-
<productMajorVersion>${parsedVersion.majorVersion}</productMajorVersion>
45-
<productCurrentVersion>${project.version}</productCurrentVersion>
44+
<productMajorVersion>${product.majorVersion}</productMajorVersion>
45+
<product.currentVersion>${project.version}</product.currentVersion>
4646
</properties>
4747

4848
<build>
@@ -173,6 +173,25 @@
173173
</executions>
174174
</plugin>
175175

176+
<plugin>
177+
<groupId>org.apache.maven.plugins</groupId>
178+
<artifactId>maven-antrun-plugin</artifactId>
179+
<version>3.0.0</version>
180+
<executions>
181+
<execution>
182+
<phase>initialize</phase>
183+
<goals>
184+
<goal>run</goal>
185+
</goals>
186+
<configuration>
187+
<target>
188+
<property name="productMajorVersion" value="${product.majorVersion}"/>
189+
</target>
190+
</configuration>
191+
</execution>
192+
</executions>
193+
</plugin>
194+
176195
<plugin>
177196
<groupId>org.codehaus.mojo</groupId>
178197
<artifactId>build-helper-maven-plugin</artifactId>
@@ -199,7 +218,7 @@
199218
</goals>
200219
<phase>validate</phase>
201220
<configuration>
202-
<propertyPrefix>parsedVersion</propertyPrefix>
221+
<propertyPrefix>product</propertyPrefix>
203222
</configuration>
204223
</execution>
205224
</executions>

0 commit comments

Comments
 (0)