You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/03/22 10:32:23 UTC

[royale-asjs] branch develop updated: - Added a self-activating profile in the themes to prevent the sass plugin from logging errors if there is no src/main/sass directory.

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

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new abfdcf1  - Added a self-activating profile in the themes to prevent the sass plugin from logging errors if there is no src/main/sass directory.
     new 4c5bbcd  Merge pull request #773 from chrisdutz/develop
abfdcf1 is described below

commit abfdcf18f53b8ef92d501a3d3e53dd3f1b61b355
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Sun Mar 22 11:31:32 2020 +0100

    - Added a self-activating profile in the themes to prevent the sass plugin from logging errors if there is no src/main/sass directory.
---
 frameworks/themes/pom.xml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/frameworks/themes/pom.xml b/frameworks/themes/pom.xml
index 93475f4..5d785e7 100644
--- a/frameworks/themes/pom.xml
+++ b/frameworks/themes/pom.xml
@@ -214,6 +214,7 @@
           <plugin>
             <groupId>nl.geodienstencentrum.maven</groupId>
             <artifactId>sass-maven-plugin</artifactId>
+            <version>3.7.2</version>
             <configuration>
               <resources>
                 <!-- Depends on JewelTheme SASS framework files-->
@@ -240,6 +241,29 @@
         </plugins>
       </build>
     </profile>
+    <!--
+      This is a self-activating profile that causes the sass plugin
+      to not be executed if there is no src/main/sass directory.
+    -->
+    <profile>
+      <id>_skip-sass-compilation</id>
+      <activation>
+        <file>
+          <missing>src/main/sass</missing>
+        </file>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>nl.geodienstencentrum.maven</groupId>
+            <artifactId>sass-maven-plugin</artifactId>
+            <configuration>
+              <skip>true</skip>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
 </project>