Fail if snapshot or release versions are not match.
This commit is contained in:
parent
9fb74aeb83
commit
91f067cd3c
20
pom.xml
20
pom.xml
|
@ -363,19 +363,11 @@
|
|||
<value>${project.version}</value>
|
||||
<regex>.*-SNAPSHOT$</regex>
|
||||
<replacement>true</replacement>
|
||||
<failIfNoMatch>false</failIfNoMatch>
|
||||
<failIfNoMatch>true</failIfNoMatch>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>3.0.0-M1</version>
|
||||
<configuration>
|
||||
<skip>${skip.when.is.snapshot.used}</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<finalName>${project.artifactId}-${project.version}-${gcube.release.number}-${buildNumber}</finalName>
|
||||
</build>
|
||||
|
@ -477,19 +469,11 @@
|
|||
<value>${project.version}</value>
|
||||
<regex>.*-SNAPSHOT$</regex>
|
||||
<replacement>true</replacement>
|
||||
<failIfNoMatch>false</failIfNoMatch>
|
||||
<failIfNoMatch>true</failIfNoMatch>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>3.0.0-M1</version>
|
||||
<configuration>
|
||||
<skip>${skip.when.is.snapshot.used}</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<finalName>${project.artifactId}-${project.version}-${gcube.release.number}-${buildNumber}</finalName>
|
||||
</build>
|
||||
|
|
Loading…
Reference in New Issue