68c634aa01d7324cf69620962a200522f10b9ac0
[lttng-ust-java-tests.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2015, EfficiOS Inc., Alexandre Montplaisir <alexmonthy@efficios.com>
4
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.
9
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.
14
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
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
25 <prerequisites>
26 <maven>3.0</maven>
27 </prerequisites>
28
29 <groupId>org.lttng.ust</groupId>
30 <artifactId>lttng-ust-java-parent</artifactId>
31 <version>1.1.0-SNAPSHOT</version>
32 <packaging>pom</packaging>
33
34 <name>LTTng-UST Java Agent</name>
35
36 <properties>
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
39
40 <!-- Work around bug SUREFIRE-1831 in failsafe 3.0.0-M5 -->
41 <failsafe.useModulePath>false</failsafe.useModulePath>
42
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>
48 <log4j2-jar-location>/usr/local/share/java/lttng-ust-agent-log4j2-1.0.0.jar</log4j2-jar-location>
49 <argLine>-Djava.library.path=/usr/local/lib</argLine>
50 </properties>
51
52 <build>
53 <plugins>
54 <plugin>
55 <groupId>org.apache.maven.plugins</groupId>
56 <artifactId>maven-compiler-plugin</artifactId>
57 </plugin>
58
59 <plugin>
60 <groupId>org.apache.maven.plugins</groupId>
61 <artifactId>maven-failsafe-plugin</artifactId>
62 </plugin>
63 </plugins>
64
65 <pluginManagement>
66 <plugins>
67 <plugin>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-compiler-plugin</artifactId>
70 <version>3.9.0</version>
71 <configuration>
72 <source>1.8</source>
73 <target>1.8</target>
74 </configuration>
75 </plugin>
76
77 <plugin>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-failsafe-plugin</artifactId>
80 <version>3.0.0-M5</version>
81 <executions>
82 <execution>
83 <goals>
84 <goal>integration-test</goal>
85 <goal>verify</goal>
86 </goals>
87 </execution>
88 </executions>
89 </plugin>
90 </plugins>
91 </pluginManagement>
92
93 </build>
94
95 <dependencyManagement>
96 <dependencies>
97 <!-- Regular Maven dependencies -->
98 <dependency>
99 <groupId>log4j</groupId>
100 <artifactId>log4j</artifactId>
101 <version>1.2.17</version>
102 </dependency>
103
104 <dependency>
105 <groupId>org.apache.logging.log4j</groupId>
106 <artifactId>log4j-api</artifactId>
107 <version>2.17.1</version>
108 </dependency>
109
110 <dependency>
111 <groupId>org.apache.logging.log4j</groupId>
112 <artifactId>log4j-core</artifactId>
113 <version>2.17.1</version>
114 </dependency>
115
116 <dependency>
117 <groupId>org.junit</groupId>
118 <artifactId>junit-bom</artifactId>
119 <version>5.8.2</version>
120 <type>pom</type>
121 <scope>import</scope>
122 </dependency>
123
124 <!-- System dependencies, should have been installed by UST -->
125 <dependency>
126 <groupId>org.lttng.ust.agent</groupId>
127 <artifactId>lttng-ust-agent-common</artifactId>
128 <version>1.0.0</version>
129 <scope>system</scope>
130 <systemPath>${common-jar-location}</systemPath>
131 </dependency>
132
133 <dependency>
134 <groupId>org.lttng.ust.agent</groupId>
135 <artifactId>lttng-ust-agent-jul</artifactId>
136 <version>1.0.0</version>
137 <scope>system</scope>
138 <systemPath>${jul-jar-location}</systemPath>
139 </dependency>
140
141 <dependency>
142 <groupId>org.lttng.ust.agent</groupId>
143 <artifactId>lttng-ust-agent-log4j</artifactId>
144 <version>1.0.0</version>
145 <scope>system</scope>
146 <systemPath>${log4j-jar-location}</systemPath>
147 </dependency>
148
149 <dependency>
150 <groupId>org.lttng.ust.agent</groupId>
151 <artifactId>lttng-ust-agent-log4j2</artifactId>
152 <version>1.0.0</version>
153 <scope>system</scope>
154 <systemPath>${log4j2-jar-location}</systemPath>
155 </dependency>
156
157 <!-- Provided by this project -->
158 <dependency>
159 <groupId>org.lttng.tools</groupId>
160 <artifactId>lttng-tools-java</artifactId>
161 <version>1.1.0-SNAPSHOT</version>
162 </dependency>
163
164 <dependency>
165 <groupId>org.lttng.ust</groupId>
166 <artifactId>lttng-ust-java-tests-common</artifactId>
167 <version>1.1.0-SNAPSHOT</version>
168 <scope>test</scope>
169 </dependency>
170 </dependencies>
171 </dependencyManagement>
172
173
174 <modules>
175 <module>lttng-tools-java</module>
176 <module>lttng-ust-java-tests-common</module>
177 <module>lttng-ust-java-tests-jul</module>
178 <module>lttng-ust-java-tests-log4j</module>
179 <module>lttng-ust-java-tests-log4j2</module>
180 </modules>
181
182 </project>
This page took 0.031984 seconds and 3 git commands to generate.