update android pom

This commit is contained in:
Anthony Calosa
2024-10-17 11:34:37 +08:00
parent 0420ad4ef2
commit 89c699b94d

View File

@@ -52,7 +52,7 @@
<configuration> <configuration>
<!-- generate MonthDate code to month.date property --> <!-- generate MonthDate code to month.date property -->
<name>month.date</name> <name>month.date</name>
<pattern>MMdd</pattern> <pattern>MM.dd</pattern>
</configuration> </configuration>
</execution> </execution>
<execution> <execution>
@@ -70,21 +70,6 @@
<failIfNoMatch>false</failIfNoMatch> <failIfNoMatch>false</failIfNoMatch>
</configuration> </configuration>
</execution> </execution>
<execution>
<id>regex-property2</id>
<phase>initialize</phase>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<!-- generate versionCode from revision property to snapshot-versionCode property -->
<name>snapshot-versionCode</name>
<value>${revision}</value>
<regex>[^0-9]</regex>
<replacement></replacement>
<failIfNoMatch>false</failIfNoMatch>
</configuration>
</execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
@@ -429,9 +414,7 @@
<goal>manifest-merger</goal> <goal>manifest-merger</goal>
</goals> </goals>
<configuration> <configuration>
<androidManifestFile>${project.basedir}/AndroidManifest.xml</androidManifestFile>
<manifestVersionName>${snapshot-version}</manifestVersionName> <manifestVersionName>${snapshot-version}</manifestVersionName>
<manifestVersionCode>${snapshot-versionCode}0${month.date}</manifestVersionCode>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>