2022-07-21 04:58:01 -04:00
|
|
|
<?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>io.github.mkpaz</groupId>
|
|
|
|
<artifactId>atlantafx-parent</artifactId>
|
2022-07-24 11:38:56 -04:00
|
|
|
<version>0.1.0-SNAPSHOT</version>
|
2022-07-21 04:58:01 -04:00
|
|
|
</parent>
|
|
|
|
<artifactId>atlantafx-styles</artifactId>
|
|
|
|
|
2022-08-02 04:46:54 -04:00
|
|
|
<properties>
|
|
|
|
<scss.inputDir>${project.basedir}/src</scss.inputDir>
|
|
|
|
<css.outputDir>${project.basedir}/dist</css.outputDir>
|
|
|
|
</properties>
|
|
|
|
|
2022-07-21 04:58:01 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- compile SCSS -->
|
|
|
|
<plugin>
|
2022-08-02 04:46:54 -04:00
|
|
|
<groupId>us.hebi.sass</groupId>
|
|
|
|
<artifactId>sass-cli-maven-plugin</artifactId>
|
2022-07-21 04:58:01 -04:00
|
|
|
<configuration>
|
2022-08-02 04:46:54 -04:00
|
|
|
<args>
|
|
|
|
<arg>${scss.inputDir}/primer-light.scss:${css.outputDir}/primer-light.css</arg>
|
|
|
|
<arg>${scss.inputDir}/primer-dark.scss:${css.outputDir}/primer-dark.css</arg>
|
|
|
|
<arg>--no-source-map</arg>
|
|
|
|
</args>
|
2022-07-21 04:58:01 -04:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2022-08-02 04:46:54 -04:00
|
|
|
<id>run-sass</id>
|
2022-07-21 04:58:01 -04:00
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
2022-08-02 04:46:54 -04:00
|
|
|
<goal>run</goal>
|
2022-07-21 04:58:01 -04:00
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-08-02 04:46:54 -04:00
|
|
|
|
2022-07-21 04:58:01 -04:00
|
|
|
<!-- compress resulting CSS into archive for distribution -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>assembly</id>
|
|
|
|
<phase>install</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
|
|
<finalName>${app.name}-${app.version}-themes</finalName>
|
|
|
|
<attach>false</attach>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<tarLongFileMode>posix</tarLongFileMode>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>assembly.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<!-- skip module deployment -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2022-08-02 04:46:54 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>dev</id>
|
|
|
|
<properties>
|
|
|
|
<css.outputDir>${project.basedir}/../sampler/target/classes/atlantafx/sampler/theme-test</css.outputDir>
|
|
|
|
<sass.watch>true</sass.watch>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2022-07-21 04:58:01 -04:00
|
|
|
</project>
|