Add log4j2 agent tests
[lttng-ust-java-tests.git] / pom.xml
CommitLineData
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
4821eac9
AM
40 <!-- Paths that come from UST's default "make install".
41 Override to specify other locations. -->
42 <common-jar-location>/usr/local/share/java/lttng-ust-agent-common-1.0.0.jar</common-jar-location>
43 <jul-jar-location>/usr/local/share/java/lttng-ust-agent-jul-1.0.0.jar</jul-jar-location>
44 <log4j-jar-location>/usr/local/share/java/lttng-ust-agent-log4j-1.0.0.jar</log4j-jar-location>
eca1a136 45 <log4j2-jar-location>/usr/local/share/java/lttng-ust-agent-log4j2-1.0.0.jar</log4j2-jar-location>
4821eac9 46 <argLine>-Djava.library.path=/usr/local/lib</argLine>
24b260d9 47 </properties>
24b260d9
AM
48
49 <build>
50 <plugins>
51 <plugin>
52 <groupId>org.apache.maven.plugins</groupId>
53 <artifactId>maven-compiler-plugin</artifactId>
24b260d9 54 </plugin>
4821eac9
AM
55
56 <plugin>
57 <groupId>org.apache.maven.plugins</groupId>
58 <artifactId>maven-failsafe-plugin</artifactId>
4821eac9 59 </plugin>
24b260d9 60 </plugins>
7bf69f79
AM
61
62 <pluginManagement>
63 <plugins>
64 <plugin>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-compiler-plugin</artifactId>
67 <version>3.6.1</version>
68 <configuration>
69 <source>1.8</source>
70 <target>1.8</target>
71 </configuration>
72 </plugin>
73
74 <plugin>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-failsafe-plugin</artifactId>
77 <version>2.19.1</version>
78 <executions>
79 <execution>
80 <goals>
81 <goal>integration-test</goal>
82 <goal>verify</goal>
83 </goals>
84 </execution>
85 </executions>
86 </plugin>
87 </plugins>
88 </pluginManagement>
89
24b260d9 90 </build>
4821eac9
AM
91
92 <dependencyManagement>
93 <dependencies>
d11bb38f
AM
94 <!-- Regular Maven dependencies -->
95 <dependency>
96 <groupId>log4j</groupId>
97 <artifactId>log4j</artifactId>
98 <version>1.2.17</version>
99 </dependency>
100
eca1a136
MJ
101 <dependency>
102 <groupId>org.apache.logging.log4j</groupId>
103 <artifactId>log4j-api</artifactId>
104 <version>2.17.1</version>
105 </dependency>
106
107 <dependency>
108 <groupId>org.apache.logging.log4j</groupId>
109 <artifactId>log4j-core</artifactId>
110 <version>2.17.1</version>
111 </dependency>
112
d11bb38f
AM
113 <dependency>
114 <groupId>junit</groupId>
115 <artifactId>junit</artifactId>
f0531cea 116 <version>4.13.2</version>
d11bb38f
AM
117 <scope>test</scope>
118 </dependency>
119
4821eac9
AM
120 <!-- System dependencies, should have been installed by UST -->
121 <dependency>
122 <groupId>org.lttng.ust.agent</groupId>
123 <artifactId>lttng-ust-agent-common</artifactId>
124 <version>1.0.0</version>
125 <scope>system</scope>
126 <systemPath>${common-jar-location}</systemPath>
127 </dependency>
128
129 <dependency>
130 <groupId>org.lttng.ust.agent</groupId>
131 <artifactId>lttng-ust-agent-jul</artifactId>
132 <version>1.0.0</version>
133 <scope>system</scope>
134 <systemPath>${jul-jar-location}</systemPath>
135 </dependency>
136
137 <dependency>
138 <groupId>org.lttng.ust.agent</groupId>
139 <artifactId>lttng-ust-agent-log4j</artifactId>
140 <version>1.0.0</version>
141 <scope>system</scope>
142 <systemPath>${log4j-jar-location}</systemPath>
143 </dependency>
144
eca1a136
MJ
145 <dependency>
146 <groupId>org.lttng.ust.agent</groupId>
147 <artifactId>lttng-ust-agent-log4j2</artifactId>
148 <version>1.0.0</version>
149 <scope>system</scope>
150 <systemPath>${log4j2-jar-location}</systemPath>
151 </dependency>
152
4821eac9
AM
153 <!-- Provided by this project -->
154 <dependency>
155 <groupId>org.lttng.tools</groupId>
156 <artifactId>lttng-tools-java</artifactId>
e225d30f 157 <version>1.1.0-SNAPSHOT</version>
4821eac9
AM
158 </dependency>
159
160 <dependency>
161 <groupId>org.lttng.ust</groupId>
162 <artifactId>lttng-ust-java-tests-common</artifactId>
e225d30f 163 <version>1.1.0-SNAPSHOT</version>
4821eac9
AM
164 <scope>test</scope>
165 </dependency>
166 </dependencies>
167 </dependencyManagement>
168
169
b01fe762 170 <modules>
b01fe762 171 <module>lttng-tools-java</module>
4821eac9
AM
172 <module>lttng-ust-java-tests-common</module>
173 <module>lttng-ust-java-tests-jul</module>
174 <module>lttng-ust-java-tests-log4j</module>
eca1a136 175 <module>lttng-ust-java-tests-log4j2</module>
b01fe762 176 </modules>
d4e2e87c 177
24b260d9 178</project>
This page took 0.03153 seconds and 4 git commands to generate.