Document how to set non-default library paths
[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.
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
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>
24b260d9 31 <version>1.0.0</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>
4821eac9
AM
39
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>
45 <argLine>-Djava.library.path=/usr/local/lib</argLine>
24b260d9 46 </properties>
24b260d9
AM
47
48 <build>
49 <plugins>
50 <plugin>
51 <groupId>org.apache.maven.plugins</groupId>
52 <artifactId>maven-compiler-plugin</artifactId>
d4e2e87c 53 <version>3.3</version>
24b260d9
AM
54 <configuration>
55 <source>1.8</source>
56 <target>1.8</target>
57 </configuration>
58 </plugin>
4821eac9
AM
59
60 <plugin>
61 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-failsafe-plugin</artifactId>
63 <version>2.18.1</version>
64 <executions>
65 <execution>
66 <goals>
67 <goal>integration-test</goal>
68 <goal>verify</goal>
69 </goals>
70 </execution>
71 </executions>
72 </plugin>
24b260d9
AM
73 </plugins>
74 </build>
4821eac9
AM
75
76 <dependencyManagement>
77 <dependencies>
78 <!-- System dependencies, should have been installed by UST -->
79 <dependency>
80 <groupId>org.lttng.ust.agent</groupId>
81 <artifactId>lttng-ust-agent-common</artifactId>
82 <version>1.0.0</version>
83 <scope>system</scope>
84 <systemPath>${common-jar-location}</systemPath>
85 </dependency>
86
87 <dependency>
88 <groupId>org.lttng.ust.agent</groupId>
89 <artifactId>lttng-ust-agent-jul</artifactId>
90 <version>1.0.0</version>
91 <scope>system</scope>
92 <systemPath>${jul-jar-location}</systemPath>
93 </dependency>
94
95 <dependency>
96 <groupId>org.lttng.ust.agent</groupId>
97 <artifactId>lttng-ust-agent-log4j</artifactId>
98 <version>1.0.0</version>
99 <scope>system</scope>
100 <systemPath>${log4j-jar-location}</systemPath>
101 </dependency>
102
103 <!-- Provided by this project -->
104 <dependency>
105 <groupId>org.lttng.tools</groupId>
106 <artifactId>lttng-tools-java</artifactId>
107 <version>1.0.0</version>
108 </dependency>
109
110 <dependency>
111 <groupId>org.lttng.ust</groupId>
112 <artifactId>lttng-ust-java-tests-common</artifactId>
113 <version>1.0.0</version>
114 </dependency>
115
116 <!-- Regular Maven dependencies -->
117 <dependency>
118 <groupId>log4j</groupId>
119 <artifactId>log4j</artifactId>
120 <version>1.2.17</version>
121 </dependency>
122
123 <dependency>
124 <groupId>junit</groupId>
125 <artifactId>junit</artifactId>
126 <version>RELEASE</version>
127 <scope>test</scope>
128 </dependency>
129 </dependencies>
130 </dependencyManagement>
131
132
b01fe762 133 <modules>
b01fe762 134 <module>lttng-tools-java</module>
4821eac9
AM
135 <module>lttng-ust-java-tests-common</module>
136 <module>lttng-ust-java-tests-jul</module>
137 <module>lttng-ust-java-tests-log4j</module>
b01fe762 138 </modules>
d4e2e87c 139
24b260d9 140</project>
This page took 0.02773 seconds and 4 git commands to generate.