You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2023/11/23 03:25:51 UTC

(sling-org-apache-sling-app-cms) 01/01: fix: fixing missing lib-gbm

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

dklco pushed a commit to branch missing-libgbm
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git

commit eb405041aa4cff01ecb1d1feafcaaa196a3194c7
Author: Dan Klco <kl...@adobe.com>
AuthorDate: Wed Nov 22 22:25:38 2023 -0500

    fix: fixing missing lib-gbm
---
 it/pom.xml | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/it/pom.xml b/it/pom.xml
index 8a404b3f..3936b279 100644
--- a/it/pom.xml
+++ b/it/pom.xml
@@ -62,6 +62,39 @@
         </pluginManagement>
     </build>
     <profiles>
+        <profile>
+            <activation>
+                <os>
+                    <family>!windows</family>
+                </os>
+            </activation>
+            <build>
+                <plugins>
+                    <!-- install dependencies on Ubuntu -->
+                    <plugin>
+                        <artifactId>exec-maven-plugin</artifactId>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <version>3.1.1</version>
+                        <executions>
+                            <execution>
+                                <phase>generate-sources</phase>
+                                <goals>
+                                    <goal>exec</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <executable>apt-get</executable>
+                            <arguments>
+                                <argument>install</argument>
+                                <argument>-y</argument>
+                                <argument>libgbm-dev</argument>
+                            </arguments>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
         <profile>
             <id>ci</id>
             <activation>