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>
|
<value>${project.version}</value>
|
||||||
<regex>.*-SNAPSHOT$</regex>
|
<regex>.*-SNAPSHOT$</regex>
|
||||||
<replacement>true</replacement>
|
<replacement>true</replacement>
|
||||||
<failIfNoMatch>false</failIfNoMatch>
|
<failIfNoMatch>true</failIfNoMatch>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
<finalName>${project.artifactId}-${project.version}-${gcube.release.number}-${buildNumber}</finalName>
|
<finalName>${project.artifactId}-${project.version}-${gcube.release.number}-${buildNumber}</finalName>
|
||||||
</build>
|
</build>
|
||||||
|
@ -477,19 +469,11 @@
|
||||||
<value>${project.version}</value>
|
<value>${project.version}</value>
|
||||||
<regex>.*-SNAPSHOT$</regex>
|
<regex>.*-SNAPSHOT$</regex>
|
||||||
<replacement>true</replacement>
|
<replacement>true</replacement>
|
||||||
<failIfNoMatch>false</failIfNoMatch>
|
<failIfNoMatch>true</failIfNoMatch>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
<finalName>${project.artifactId}-${project.version}-${gcube.release.number}-${buildNumber}</finalName>
|
<finalName>${project.artifactId}-${project.version}-${gcube.release.number}-${buildNumber}</finalName>
|
||||||
</build>
|
</build>
|
||||||
|
|
Loading…
Reference in New Issue