mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
remove redundant plugin
This commit is contained in:
@@ -49,6 +49,7 @@
|
|||||||
<goal>timestamp-property</goal>
|
<goal>timestamp-property</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<!-- generate MonthDate code to month.date property -->
|
||||||
<name>month.date</name>
|
<name>month.date</name>
|
||||||
<pattern>MMdd</pattern>
|
<pattern>MMdd</pattern>
|
||||||
</configuration>
|
</configuration>
|
||||||
@@ -60,6 +61,7 @@
|
|||||||
<goal>regex-property</goal>
|
<goal>regex-property</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<!-- generate versionName from revision property to snapshot-version property -->
|
||||||
<name>snapshot-version</name>
|
<name>snapshot-version</name>
|
||||||
<value>${revision}</value>
|
<value>${revision}</value>
|
||||||
<regex>-SNAPSHOT</regex>
|
<regex>-SNAPSHOT</regex>
|
||||||
@@ -74,6 +76,7 @@
|
|||||||
<goal>regex-property</goal>
|
<goal>regex-property</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<!-- generate versionCode from revision property to snapshot-versionCode property -->
|
||||||
<name>snapshot-versionCode</name>
|
<name>snapshot-versionCode</name>
|
||||||
<value>${revision}</value>
|
<value>${revision}</value>
|
||||||
<regex>[^0-9]</regex>
|
<regex>[^0-9]</regex>
|
||||||
@@ -97,6 +100,7 @@
|
|||||||
<filtering>true</filtering>
|
<filtering>true</filtering>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
|
<!-- append generated snapshot-version property -->
|
||||||
<finalName>forge-android-${snapshot-version}</finalName>
|
<finalName>forge-android-${snapshot-version}</finalName>
|
||||||
</build>
|
</build>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@@ -327,38 +331,6 @@
|
|||||||
</properties>
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
|
||||||
<artifactId>build-helper-maven-plugin</artifactId>
|
|
||||||
<version>3.6.0</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>timestamp-property</id>
|
|
||||||
<phase>initialize</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>timestamp-property</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<name>month.date</name>
|
|
||||||
<pattern>MMdd</pattern>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>regex-property</id>
|
|
||||||
<phase>initialize</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>regex-property</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<name>snapshot-version</name>
|
|
||||||
<value>${revision}</value>
|
|
||||||
<regex>-SNAPSHOT</regex>
|
|
||||||
<replacement>-SNAPSHOT-${month.date}</replacement>
|
|
||||||
<failIfNoMatch>false</failIfNoMatch>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>exec-maven-plugin</artifactId>
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
<version>3.4.1</version>
|
<version>3.4.1</version>
|
||||||
|
|||||||
Reference in New Issue
Block a user