Commit | Line | Data |
---|---|---|
24b260d9 AM |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- | |
3 | Copyright (C) 2015, EfficiOS Inc., Alexandre Montplaisir <alexmonthy@efficios.com> | |
4 | ||
b01fe762 AM |
5 | This library is free software; you can redistribute it and/or |
6 | modify it under the terms of the GNU Lesser General Public | |
7 | License as published by the Free Software Foundation; only | |
8 | version 2.1 of the License. | |
eca1a136 | 9 | |
b01fe762 AM |
10 | This library is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | Lesser General Public License for more details. | |
eca1a136 | 14 | |
b01fe762 AM |
15 | You should have received a copy of the GNU Lesser General Public |
16 | License along with this library; if not, write to the Free Software | |
17 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
24b260d9 AM |
18 | --> |
19 | ||
20 | <project xmlns="http://maven.apache.org/POM/4.0.0" | |
21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
23 | <modelVersion>4.0.0</modelVersion> | |
24 | ||
d4e2e87c AM |
25 | <prerequisites> |
26 | <maven>3.0</maven> | |
27 | </prerequisites> | |
28 | ||
b01fe762 AM |
29 | <groupId>org.lttng.ust</groupId> |
30 | <artifactId>lttng-ust-java-parent</artifactId> | |
e225d30f | 31 | <version>1.1.0-SNAPSHOT</version> |
b01fe762 | 32 | <packaging>pom</packaging> |
24b260d9 | 33 | |
b01fe762 | 34 | <name>LTTng-UST Java Agent</name> |
24b260d9 AM |
35 | |
36 | <properties> | |
37 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
7b82be36 | 38 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
eca1a136 | 39 | |
7bd5724a MJ |
40 | <!-- Work around bug SUREFIRE-1831 in failsafe 3.0.0-M5 --> |
41 | <failsafe.useModulePath>false</failsafe.useModulePath> | |
42 | ||
4821eac9 AM |
43 | <!-- Paths that come from UST's default "make install". |
44 | Override to specify other locations. --> | |
45 | <common-jar-location>/usr/local/share/java/lttng-ust-agent-common-1.0.0.jar</common-jar-location> | |
46 | <jul-jar-location>/usr/local/share/java/lttng-ust-agent-jul-1.0.0.jar</jul-jar-location> | |
47 | <log4j-jar-location>/usr/local/share/java/lttng-ust-agent-log4j-1.0.0.jar</log4j-jar-location> | |
eca1a136 | 48 | <log4j2-jar-location>/usr/local/share/java/lttng-ust-agent-log4j2-1.0.0.jar</log4j2-jar-location> |
4821eac9 | 49 | <argLine>-Djava.library.path=/usr/local/lib</argLine> |
24b260d9 | 50 | </properties> |
24b260d9 AM |
51 | |
52 | <build> | |
53 | <plugins> | |
54 | <plugin> | |
55 | <groupId>org.apache.maven.plugins</groupId> | |
56 | <artifactId>maven-compiler-plugin</artifactId> | |
24b260d9 | 57 | </plugin> |
4821eac9 AM |
58 | |
59 | <plugin> | |
60 | <groupId>org.apache.maven.plugins</groupId> | |
61 | <artifactId>maven-failsafe-plugin</artifactId> | |
4821eac9 | 62 | </plugin> |
24b260d9 | 63 | </plugins> |
7bf69f79 AM |
64 | |
65 | <pluginManagement> | |
66 | <plugins> | |
67 | <plugin> | |
68 | <groupId>org.apache.maven.plugins</groupId> | |
69 | <artifactId>maven-compiler-plugin</artifactId> | |
7bd5724a | 70 | <version>3.9.0</version> |
7bf69f79 AM |
71 | <configuration> |
72 | <source>1.8</source> | |
73 | <target>1.8</target> | |
74 | </configuration> | |
75 | </plugin> | |
76 | ||
9db2c69a MJ |
77 | <!-- Set Surefire to the same version as Failsafe even if we don't use |
78 | it. Otherwise, Maven will invoke a random default version and if | |
79 | we specify a user property used by both plugins on the command | |
80 | line things could go wrong. --> | |
81 | <plugin> | |
82 | <groupId>org.apache.maven.plugins</groupId> | |
83 | <artifactId>maven-surefire-plugin</artifactId> | |
84 | <version>3.0.0-M5</version> | |
85 | </plugin> | |
86 | ||
7bf69f79 AM |
87 | <plugin> |
88 | <groupId>org.apache.maven.plugins</groupId> | |
89 | <artifactId>maven-failsafe-plugin</artifactId> | |
7bd5724a | 90 | <version>3.0.0-M5</version> |
7bf69f79 AM |
91 | <executions> |
92 | <execution> | |
93 | <goals> | |
94 | <goal>integration-test</goal> | |
95 | <goal>verify</goal> | |
96 | </goals> | |
97 | </execution> | |
98 | </executions> | |
99 | </plugin> | |
100 | </plugins> | |
101 | </pluginManagement> | |
102 | ||
24b260d9 | 103 | </build> |
4821eac9 AM |
104 | |
105 | <dependencyManagement> | |
106 | <dependencies> | |
d11bb38f AM |
107 | <!-- Regular Maven dependencies --> |
108 | <dependency> | |
109 | <groupId>log4j</groupId> | |
110 | <artifactId>log4j</artifactId> | |
111 | <version>1.2.17</version> | |
112 | </dependency> | |
113 | ||
eca1a136 MJ |
114 | <dependency> |
115 | <groupId>org.apache.logging.log4j</groupId> | |
116 | <artifactId>log4j-api</artifactId> | |
11a51e72 | 117 | <version>2.22.1</version> |
eca1a136 MJ |
118 | </dependency> |
119 | ||
120 | <dependency> | |
121 | <groupId>org.apache.logging.log4j</groupId> | |
122 | <artifactId>log4j-core</artifactId> | |
11a51e72 | 123 | <version>2.22.1</version> |
eca1a136 MJ |
124 | </dependency> |
125 | ||
d11bb38f | 126 | <dependency> |
7a4f0255 MJ |
127 | <groupId>org.junit</groupId> |
128 | <artifactId>junit-bom</artifactId> | |
129 | <version>5.8.2</version> | |
130 | <type>pom</type> | |
131 | <scope>import</scope> | |
d11bb38f AM |
132 | </dependency> |
133 | ||
4821eac9 AM |
134 | <!-- System dependencies, should have been installed by UST --> |
135 | <dependency> | |
136 | <groupId>org.lttng.ust.agent</groupId> | |
137 | <artifactId>lttng-ust-agent-common</artifactId> | |
138 | <version>1.0.0</version> | |
139 | <scope>system</scope> | |
140 | <systemPath>${common-jar-location}</systemPath> | |
141 | </dependency> | |
142 | ||
143 | <dependency> | |
144 | <groupId>org.lttng.ust.agent</groupId> | |
145 | <artifactId>lttng-ust-agent-jul</artifactId> | |
146 | <version>1.0.0</version> | |
147 | <scope>system</scope> | |
148 | <systemPath>${jul-jar-location}</systemPath> | |
149 | </dependency> | |
150 | ||
151 | <dependency> | |
152 | <groupId>org.lttng.ust.agent</groupId> | |
153 | <artifactId>lttng-ust-agent-log4j</artifactId> | |
154 | <version>1.0.0</version> | |
155 | <scope>system</scope> | |
156 | <systemPath>${log4j-jar-location}</systemPath> | |
157 | </dependency> | |
158 | ||
eca1a136 MJ |
159 | <dependency> |
160 | <groupId>org.lttng.ust.agent</groupId> | |
161 | <artifactId>lttng-ust-agent-log4j2</artifactId> | |
162 | <version>1.0.0</version> | |
163 | <scope>system</scope> | |
164 | <systemPath>${log4j2-jar-location}</systemPath> | |
165 | </dependency> | |
166 | ||
4821eac9 AM |
167 | <!-- Provided by this project --> |
168 | <dependency> | |
169 | <groupId>org.lttng.tools</groupId> | |
170 | <artifactId>lttng-tools-java</artifactId> | |
e225d30f | 171 | <version>1.1.0-SNAPSHOT</version> |
4821eac9 AM |
172 | </dependency> |
173 | ||
174 | <dependency> | |
175 | <groupId>org.lttng.ust</groupId> | |
176 | <artifactId>lttng-ust-java-tests-common</artifactId> | |
e225d30f | 177 | <version>1.1.0-SNAPSHOT</version> |
4821eac9 AM |
178 | </dependency> |
179 | </dependencies> | |
180 | </dependencyManagement> | |
181 | ||
182 | ||
b01fe762 | 183 | <modules> |
b01fe762 | 184 | <module>lttng-tools-java</module> |
4821eac9 AM |
185 | <module>lttng-ust-java-tests-common</module> |
186 | <module>lttng-ust-java-tests-jul</module> | |
187 | <module>lttng-ust-java-tests-log4j</module> | |
eca1a136 | 188 | <module>lttng-ust-java-tests-log4j2</module> |
b01fe762 | 189 | </modules> |
d4e2e87c | 190 | |
24b260d9 | 191 | </project> |