-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
94 lines (86 loc) · 3.89 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<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">
<!--
This project show the plugin being used with all its features.
-->
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin-acceptance</artifactId>
<version>1.0-alpha-3-SNAPSHOT</version>
</parent>
<artifactId>properties-maven-plugin-acceptance-test</artifactId>
<packaging>jar</packaging>
<name>Maven Properties Plugin :: Acceptance Test</name>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.0-alpha-3-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>properties-maven-plugin-acceptance-test-resources</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<configuration>
<!--
Properties can only be defined in either files or URLs this is just to prevent
confusion. If files are still required use the ${project.baseUri} prefix
as shown below.
Note that the classpath resources are defined in the jar artifact that is a
dependency of this project.
-->
<urls>
<url>${project.baseUri}/src/test/resources/org/codehaus/mojo/properties/teams.properties</url>
<url>classpath:org/codehaus/mojo/properties/lower-precedence.properties</url>
<url>classpath:org/codehaus/mojo/properties/override.properties</url>
</urls>
</configuration>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.6</version>
<configuration>
<systemPropertyVariables>
<toronto>${toronto}</toronto>
<miami>${miami}</miami>
<overridden.property>${overridden.property}</overridden.property>
<derived.property>${derived.property}</derived.property>
<deferred.property>${deferred.property}</deferred.property>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
</project>