2020-07-12 05:45:26 -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>
|
|
|
|
<artifactId>maven-properties</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>maven-properties</name>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
<relativePath>../..</relativePath>
|
|
|
|
</parent>
|
2021-09-19 14:34:26 -04:00
|
|
|
|
2020-07-12 05:45:26 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>properties-maven-plugin</artifactId>
|
2022-06-09 17:05:23 -04:00
|
|
|
<version>1.1.0</version>
|
2020-07-12 05:45:26 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>write-project-properties</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputFile>${project.build.outputDirectory}/properties-from-pom.properties</outputFile>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-07-15 00:29:54 -04:00
|
|
|
|
2022-06-09 17:05:23 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>3.2.0</version>
|
|
|
|
<configuration>
|
2022-07-15 00:29:54 -04:00
|
|
|
<!--encoding>UTF-8</encoding -->
|
|
|
|
<!--propertiesEncoding>ISO-8859-1</propertiesEncoding -->
|
2022-06-09 17:05:23 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-07-15 00:29:54 -04:00
|
|
|
|
2022-06-09 17:05:23 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2022-07-15 00:29:54 -04:00
|
|
|
<!--encoding>UTF-8</encoding -->
|
2022-06-09 17:05:23 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-07-15 00:29:54 -04:00
|
|
|
|
2020-07-12 05:45:26 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<name>${project.name}</name>
|
|
|
|
<my.awesome.property>property-from-pom</my.awesome.property>
|
2022-07-15 00:29:54 -04:00
|
|
|
<!--these properties are normally set in the parent POM and would be overidden by the plugin
|
|
|
|
specific properties above. -->
|
|
|
|
<!--project.build.sourceEncoding></project.build.sourceEncoding -->
|
|
|
|
<!--project.build.sourceEncoding>US-ASCII</project.build.sourceEncoding -->
|
2022-06-09 17:05:23 -04:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
2020-07-12 05:45:26 -04:00
|
|
|
</properties>
|
|
|
|
|
2021-09-19 14:34:26 -04:00
|
|
|
</project>
|