summaryrefslogtreecommitdiffstats
path: root/distribution/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/pom.xml')
-rw-r--r--distribution/pom.xml30
1 files changed, 29 insertions, 1 deletions
diff --git a/distribution/pom.xml b/distribution/pom.xml
index ab03967..d0e2a77 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -248,6 +248,32 @@
</execution>
</executions>
</plugin>
+ <!--<plugin>
+ <groupId>org.codehaus.groovy.maven</groupId>
+ <artifactId>gmaven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <source>
+ println project.properties['aai.esr.gui.project.version'];
+ def versionArray;
+ if ( project.properties['aai.esr.gui.project.version'] != null ) {
+ versionArray = project.properties['aai.esr.gui.project.version'].split('-');
+ }
+
+ project.properties['project.docker.latesttag.version']=versionArray[0] + "-STAGING-latest";
+
+ println 'New Tag for docker:' +
+ project.properties['project.docker.latesttag.version'];
+ </source>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>-->
</plugins>
</build>
@@ -270,7 +296,9 @@
<dockerFileDir>${basedir}/${version.output}</dockerFileDir>
<dockerFile>${basedir}/target/version/Dockerfile</dockerFile>
<tags>
- <tag>${project.version}-STAGING-latest</tag>
+ <tag>${project.version}</tag>
+ <tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
+ <tag>${project.docker.latesttag.version}</tag>
</tags>
</build>
</image>