mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-27 07:56:38 +00:00
Using git-commit-id-plugin only in non Lean DI environment / Using env
information on Lead DI to construct a build tag
This commit is contained in:
@@ -1 +1 @@
|
||||
${git.branch}-${git.commit.id.abbrev} (${git.commit.time})
|
||||
${build.tag}
|
||||
|
||||
@@ -58,10 +58,6 @@
|
||||
<finalName>${project.artifactId}</finalName>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>pl.project13.maven</groupId>
|
||||
<artifactId>git-commit-id-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.simpligility.maven.plugins</groupId>
|
||||
<artifactId>android-maven-plugin</artifactId>
|
||||
|
||||
@@ -1 +1 @@
|
||||
${git.branch}-${git.commit.id.abbrev} (${git.commit.time})
|
||||
${build.tag}
|
||||
|
||||
@@ -51,10 +51,6 @@
|
||||
<finalName>${project.artifactId}</finalName>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>pl.project13.maven</groupId>
|
||||
<artifactId>git-commit-id-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.simpligility.maven.plugins</groupId>
|
||||
<artifactId>android-maven-plugin</artifactId>
|
||||
|
||||
@@ -1 +1 @@
|
||||
${git.branch}-${git.commit.id.abbrev} (${git.commit.time})
|
||||
${build.tag}
|
||||
|
||||
@@ -74,10 +74,6 @@
|
||||
<finalName>${project.artifactId}</finalName>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>pl.project13.maven</groupId>
|
||||
<artifactId>git-commit-id-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.simpligility.maven.plugins</groupId>
|
||||
<artifactId>android-maven-plugin</artifactId>
|
||||
|
||||
+33
-15
@@ -201,21 +201,6 @@
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>1.9.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>pl.project13.maven</groupId>
|
||||
<artifactId>git-commit-id-plugin</artifactId>
|
||||
<version>2.2.0</version>
|
||||
<configuration>
|
||||
<verbose>true</verbose>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>revision</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
@@ -292,6 +277,18 @@
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>non-leandi</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>ldi.releaseBuild</name>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<build.tag>${env.BUILD_TAG} (${env.GIT_BRANCH} : ${env.GIT_COMMIT})</build.tag>
|
||||
</properties>
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>non-leandi</id>
|
||||
<activation>
|
||||
@@ -299,7 +296,28 @@
|
||||
<name>!ldi.releaseBuild</name>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<build.tag>${git.branch}-${git.commit.id.abbrev} (${git.commit.time})</build.tag>
|
||||
</properties>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>pl.project13.maven</groupId>
|
||||
<artifactId>git-commit-id-plugin</artifactId>
|
||||
<version>2.2.0</version>
|
||||
<configuration>
|
||||
<verbose>true</verbose>
|
||||
<runOnlyOnce>true</runOnlyOnce>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>revision</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user