You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2022/08/17 11:40:25 UTC

[brooklyn-ui] 02/02: skip the maven-karaf-verify goal as that interferes with subsequent builds

This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git

commit ca85f4c49d43574a9740067f930f0ff794cfc556
Author: Alex Heneveld <al...@cloudsoft.io>
AuthorDate: Wed Aug 17 12:39:43 2022 +0100

    skip the maven-karaf-verify goal as that interferes with subsequent builds
---
 ui-modules/features/pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/ui-modules/features/pom.xml b/ui-modules/features/pom.xml
index 546e5f23..43fce6ea 100644
--- a/ui-modules/features/pom.xml
+++ b/ui-modules/features/pom.xml
@@ -126,6 +126,15 @@
                 <configuration>
                     <startLevel>100</startLevel>
                 </configuration>
+
+                <executions>
+                  <execution>
+                    <!-- override this id so that 'verify' doesn't run by default, as this mojo sets system property karaf.home = target/karaf which can break subsequent KAR builds -->
+                    <id>default-verify</id>
+                    <phase>NEVER</phase>
+                  </execution>
+                </executions>
+
             </plugin>
         </plugins>
     </build>