java-tutorials/maven-modules/maven-simple/plugin-management/pom.xml

63 lines
2.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
2022-02-08 14:33:55 -05:00
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>
<artifactId>plugin-management</artifactId>
<packaging>pom</packaging>
2022-02-08 14:33:55 -05:00
<parent>
<artifactId>maven-simple</artifactId>
<groupId>com.baeldung</groupId>
<version>1.0.0-SNAPSHOT</version>
2022-02-08 14:33:55 -05:00
</parent>
2022-02-08 14:33:55 -05:00
<modules>
<module>submodule-1</module>
<module>submodule-2</module>
</modules>
2022-02-08 14:33:55 -05:00
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${maven.bulid.helper.plugin}</version>
<executions>
<execution>
<id>add-resource</id>
<phase>generate-resources</phase>
<goals>
<goal>add-resource</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>src/resources</directory>
<targetPath>json</targetPath>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin}</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
2022-02-08 14:33:55 -05:00
<properties>
<maven.compiler.plugin>3.10.0</maven.compiler.plugin>
<maven.bulid.helper.plugin>3.3.0</maven.bulid.helper.plugin>
2022-02-08 14:33:55 -05:00
</properties>
</project>