130 lines
4.7 KiB
XML
130 lines
4.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.openmrs.module</groupId>
|
|
<artifactId>uicommons</artifactId>
|
|
<version>2.18.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<groupId>org.openmrs.module</groupId>
|
|
<artifactId>uicommons-scss</artifactId>
|
|
<name>uicommons SCSS content</name>
|
|
<description>SCSS that can be shared with other OpenMRS modules that want to build styling based on uicommons</description>
|
|
<packaging>pom</packaging>
|
|
|
|
<!-- by default rubygems are installed in the target directory, which we don't want, because then they'd need to be reinstalled after every clean -->
|
|
<properties>
|
|
<gem.home>${basedir}/.rubygems</gem.home>
|
|
<gem.path>${basedir}/.rubygems</gem.path>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>rubygems</groupId>
|
|
<artifactId>compass</artifactId>
|
|
<version>0.11.7</version>
|
|
<type>gem</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- chunky_png is included automatically by Compass, I believe, but the 1.3.13 version was causing problems
|
|
so I added a lock on the 1.3.12 version here; likely should reassess and remove this when/if 1.3.14 is released -->
|
|
<dependency>
|
|
<groupId>rubygems</groupId>
|
|
<artifactId>chunky_png</artifactId>
|
|
<version>1.3.12</version>
|
|
<type>gem</type>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
</resources>
|
|
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
<filtering>false</filtering>
|
|
</testResource>
|
|
</testResources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>${basedir}/src/main/assembly/assembly.xml</descriptor>
|
|
</descriptors>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>assemble-sources</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>de.saumya.mojo</groupId>
|
|
<artifactId>gem-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<jrubyVersion>1.7.10</jrubyVersion>
|
|
<execArgs>${gem.home}/bin/compass compile ${basedir}/src/main/resources</execArgs>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>watch-sass</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>de.saumya.mojo</groupId>
|
|
<artifactId>gem-maven-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<phase>generate-resources</phase>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<jrubyVersion>1.7.10</jrubyVersion>
|
|
<execArgs>${gem.home}/bin/compass watch ${basedir}/src/main/resources</execArgs>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|