60 lines
2.3 KiB
XML
60 lines
2.3 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>
|
|
<artifactId>parent-pom</artifactId>
|
|
<groupId>de.hhhammer.prozessor</groupId>
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>app</artifactId>
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
<name>example-app</name>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>de.hhhammer.prozessor.core</groupId>
|
|
<artifactId>core</artifactId>
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
<!-- Only for the compilation required -->
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<annotationProcessors>
|
|
<annotationProcessor>de.hhhammer.prozessor.core.builder.BuilderProcessor</annotationProcessor>
|
|
</annotationProcessors>
|
|
<compilerArgs>
|
|
<compilerArg>--processor-module-path</compilerArg>
|
|
<!--suppress UnresolvedMavenProperty -->
|
|
<compilerArg>${processor-module-path}</compilerArg>
|
|
</compilerArgs>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>set-processorpath-variable</id>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>build-classpath</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputProperty>processor-module-path</outputProperty>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|