Skip to content

Commit

Permalink
HSEARCH-1864 Automatically define the major and minor version propert…
Browse files Browse the repository at this point in the history
…ies using a Maven plugin
  • Loading branch information
Sanne committed May 15, 2015
1 parent f876a38 commit 16bf8c0
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion pom.xml
Expand Up @@ -136,7 +136,6 @@

<properties>
<!-- Slot definitions for JBoss Modules (both generated and consumed modules) -->
<hibernate.search.module.slot>5.3</hibernate.search.module.slot>
<infinispan.module.slot>ispn-7.2</infinispan.module.slot>
<lucene.module.slot>4.10</lucene.module.slot>
<jgroups.module.slot>ispn-7.2</jgroups.module.slot>
Expand Down Expand Up @@ -671,6 +670,21 @@
<proc>none</proc>
</configuration>
</plugin>
<plugin>
<!-- This defines the properties 'parsedVersion.majorVersion'
and 'parsedVersion.minorVersion' to be in synch with the current project version -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9.1</version>
<executions>
<execution>
<id>parse-version</id>
<goals>
<goal>parse-version</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-maven-plugin</artifactId>
Expand Down

0 comments on commit 16bf8c0

Please sign in to comment.