aai-babel release is failing due to misconfigured gmavenplus plugin 29/135429/1
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fri, 14 Jul 2023 12:44:01 +0000 (12:44 +0000)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Fri, 14 Jul 2023 12:44:01 +0000 (12:44 +0000)
Issue-ID: AAI-3654

Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I2520aba9f36f0eaf7bc12050a23daea1e11e5ce4

pom.xml

diff --git a/pom.xml b/pom.xml
index 4a5e9fe..2a5de6a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                                                <goals>
                                                                        <goal>execute</goal>
                                                                </goals>
                                                                <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>
                                                        </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>
                                        </plugin>
                                        <plugin>
                                                <groupId>io.fabric8</groupId>