178 lines
7.9 KiB
XML
178 lines
7.9 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>org.example.@PROJECT@</groupId>
|
|
<artifactId>@PROJECT@</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>@PROJECT@</name>
|
|
<description>Generated engineering starter</description>
|
|
|
|
<modules>@MODULES@</modules>
|
|
|
|
<!-- TODO Add SCM ??? -->
|
|
|
|
<properties>
|
|
<maven.compiler.release>25</maven.compiler.release>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<quarkus.platform.version>3.40.1</quarkus.platform.version>
|
|
|
|
<format.mode>apply</format.mode>
|
|
<format.skip>false</format.skip>
|
|
<palantir-java-format.version>2.101.0</palantir-java-format.version>
|
|
<rewrite-core.version>8.63.4</rewrite-core.version>
|
|
|
|
<ortools-java.version>9.15.6755</ortools-java.version>
|
|
<mapstruct.version>1.6.3</mapstruct.version>
|
|
<lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version>
|
|
<lombok.version>1.18.48</lombok.version>
|
|
|
|
<!-- test dependencies -->
|
|
<archunit.version>1.5.1</archunit.version>
|
|
<datafaker.version>2.7.0</datafaker.version>
|
|
</properties>
|
|
|
|
<!-- dependencies that can be included by child-project - without stating the version -->
|
|
<dependencyManagement><dependencies><dependency>
|
|
<groupId>io.quarkus.platform</groupId><artifactId>quarkus-bom</artifactId><version>${quarkus.platform.version}</version><type>pom</type><scope>import</scope>
|
|
</dependency></dependencies></dependencyManagement>
|
|
|
|
<!-- dependencies that will always be included by the child-project -->
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>3.6.3</version>
|
|
<inherited>false</inherited>
|
|
<executions>
|
|
<execution>
|
|
<id>format</id>
|
|
<phase>validate</phase>
|
|
<goals><goal>exec</goal></goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<skip>${format.skip}</skip>
|
|
<executable>${java.home}/bin/java</executable>
|
|
<includeProjectDependencies>false</includeProjectDependencies>
|
|
<includePluginDependencies>true</includePluginDependencies>
|
|
<arguments>
|
|
<argument>--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</argument>
|
|
<argument>--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</argument>
|
|
<argument>--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</argument>
|
|
<argument>--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</argument>
|
|
<argument>--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</argument>
|
|
<argument>--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</argument>
|
|
<argument>--class-path</argument><classpath/>
|
|
<argument>${maven.multiModuleProjectDirectory}/generated/tooling/format/Format.java</argument>
|
|
<argument>${maven.multiModuleProjectDirectory}</argument>
|
|
<argument>${format.mode}</argument>
|
|
</arguments>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.palantir.javaformat</groupId>
|
|
<artifactId>palantir-java-format</artifactId>
|
|
<version>${palantir-java-format.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.openrewrite</groupId>
|
|
<artifactId>rewrite-core</artifactId>
|
|
<version>${rewrite-core.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.16.0</version>
|
|
<configuration>
|
|
<annotationProcessorPaths>
|
|
<path>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
</path>
|
|
</annotationProcessorPaths>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.6.1</version>
|
|
<configuration>
|
|
<systemPropertyVariables>
|
|
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
|
|
</systemPropertyVariables>
|
|
<includes>
|
|
<include>**/Test*.java</include>
|
|
<include>**/*Test.java</include>
|
|
<include>**/*Tests.java</include>
|
|
<include>**/*TestCase.java</include>
|
|
<include>**/*Sit.java</include>
|
|
</includes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
<version>3.5.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>3.5.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.5.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>3.2.0</version>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>regenerate-engineering</id>
|
|
<properties><format.skip>true</format.skip></properties>
|
|
<build><plugins><plugin>
|
|
<groupId>org.codehaus.mojo</groupId><artifactId>exec-maven-plugin</artifactId><version>3.6.3</version>
|
|
<inherited>false</inherited>
|
|
<executions><execution><id>regenerate-engineering</id><phase>validate</phase><goals><goal>exec</goal></goals>
|
|
<configuration combine.self="override"><executable>python3</executable>
|
|
<arguments><argument>${maven.multiModuleProjectDirectory}/scripts/engineering.py</argument></arguments>
|
|
</configuration>
|
|
</execution></executions>
|
|
</plugin></plugins></build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|