java-tutorials/maven-modules/maven-multi-source/pom.xml

90 lines
3.4 KiB
XML
Raw Normal View History

2020-07-07 07:18:10 -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">
2020-07-07 07:18:10 -04:00
<modelVersion>4.0.0</modelVersion>
<artifactId>maven-multi-source</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>maven-multi-source</name>
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../..</relativePath>
</parent>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
2023-09-14 05:42:28 -04:00
<version>${maven-compiler-plugin.version}</version>
2020-07-07 07:18:10 -04:00
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<compilerArgs>
<arg>-Xlint:unchecked</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
2023-09-14 05:42:28 -04:00
<version>${build-helper-maven-plugin.version}</version>
2020-07-07 07:18:10 -04:00
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/another-src</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>surefire</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
2020-07-07 07:18:10 -04:00
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<excludes>
<exclude>none</exclude>
</excludes>
<includes>
<include>**/*IntegrationTest</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>
<maven.resources.version>3.0.2</maven.resources.version>
<maven.verifier.version>1.1</maven.verifier.version>
<maven.clean.version>3.0.0</maven.clean.version>
2023-09-14 05:42:28 -04:00
<build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version>
2020-07-07 07:18:10 -04:00
<jetty.version>9.4.11.v20180605</jetty.version>
<jersey.version>2.27</jersey.version>
</properties>
</project>