94 lines
3.4 KiB
XML
94 lines
3.4 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>
|
||
|
|
||
|
<groupId>io.github.mkpaz</groupId>
|
||
|
<artifactId>atlantafx-sample-theme</artifactId>
|
||
|
<packaging>jar</packaging>
|
||
|
<version>1.0.0</version>
|
||
|
|
||
|
<properties>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
|
|
||
|
<sass.version>1.54.4</sass.version>
|
||
|
<atlantafx.version>1.0.0</atlantafx.version>
|
||
|
|
||
|
<scss.inputDir>${project.basedir}/src</scss.inputDir>
|
||
|
<css.outputDir>${project.basedir}/dist</css.outputDir>
|
||
|
</properties>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>io.github.mkpaz</groupId>
|
||
|
<artifactId>atlantafx-styles</artifactId>
|
||
|
<version>${atlantafx.version}</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<!-- unpack SASS sources from atlantafx-styles jar -->
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||
|
<version>3.3.0</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>unpack</id>
|
||
|
<phase>generate-resources</phase>
|
||
|
<goals>
|
||
|
<goal>unpack</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<artifactItems>
|
||
|
<artifactItem>
|
||
|
<groupId>io.github.mkpaz</groupId>
|
||
|
<artifactId>atlantafx-styles</artifactId>
|
||
|
<version>${atlantafx.version}</version>
|
||
|
<type>jar</type>
|
||
|
<overWrite>true</overWrite>
|
||
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
||
|
</artifactItem>
|
||
|
</artifactItems>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<!-- build custom theme -->
|
||
|
<plugin>
|
||
|
<groupId>us.hebi.sass</groupId>
|
||
|
<artifactId>sass-cli-maven-plugin</artifactId>
|
||
|
<version>1.0.1</version>
|
||
|
<configuration>
|
||
|
<args>
|
||
|
<arg>${scss.inputDir}/sample-theme.scss:${css.outputDir}/sample-theme.css</arg>
|
||
|
<arg>--no-source-map</arg>
|
||
|
</args>
|
||
|
</configuration>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>run-sass</id>
|
||
|
<phase>compile</phase>
|
||
|
<goals>
|
||
|
<goal>run</goal>
|
||
|
</goals>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
<profiles>
|
||
|
<profile>
|
||
|
<id>watch</id>
|
||
|
<properties>
|
||
|
<sass.watch>true</sass.watch>
|
||
|
</properties>
|
||
|
</profile>
|
||
|
</profiles>
|
||
|
|
||
|
</project>
|