aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml30
1 files changed, 16 insertions, 14 deletions
diff --git a/pom.xml b/pom.xml
index 4a5e9fe..2a5de6a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -144,22 +144,24 @@
<goals>
<goal>execute</goal>
</goals>
- <configuration>
- <source>
- def userAaiBaseImage = session.userProperties['aai.base.image'];
- def userAaiCommonVersion = session.userProperties['aai.base.image.version'];
- if (userAaiCommonVersion != null) {
- project.properties['aai.base.image.version'] = userAaiCommonVersion;
- }
- if (userAaiBaseImage != null) {
- project.properties['aai.base.image'] = userAaiBaseImage;
- }
- log.info 'Base image flavour: ' + project.properties['aai.base.image'];
- log.info 'Base image version: ' + project.properties['aai.base.image.version'];
- </source>
- </configuration>
</execution>
</executions>
+ <configuration>
+ <scripts>
+ <script>
+ def userAaiBaseImage = session.userProperties['aai.base.image'];
+ def userAaiCommonVersion = session.userProperties['aai.base.image.version'];
+ if (userAaiCommonVersion != null) {
+ project.properties['aai.base.image.version'] = userAaiCommonVersion;
+ }
+ if (userAaiBaseImage != null) {
+ project.properties['aai.base.image'] = userAaiBaseImage;
+ }
+ log.info 'Base image flavour: ' + project.properties['aai.base.image'];
+ log.info 'Base image version: ' + project.properties['aai.base.image.version'];
+ </script>
+ </scripts>
+ </configuration>
</plugin>
<plugin>
<groupId>io.fabric8</groupId>