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
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2021-09-19 14:34:26 -04:00
|
|
|
<version>${junit.version}</version>
|
2020-07-12 05:45:26 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>properties-maven-plugin</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<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>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<name>${project.name}</name>
|
|
|
|
<my.awesome.property>property-from-pom</my.awesome.property>
|
2021-09-19 14:34:26 -04:00
|
|
|
<junit.version>4.13</junit.version>
|
2020-07-12 05:45:26 -04:00
|
|
|
</properties>
|
|
|
|
|
2021-09-19 14:34:26 -04:00
|
|
|
</project>
|