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. | |
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 | 75 | |
fe6a3925 AM |
76 | <dependencies> |
77 | <dependency> | |
78 | <groupId>com.google.guava</groupId> | |
79 | <artifactId>guava</artifactId> | |
80 | <version>19.0</version> | |
81 | </dependency> | |
82 | </dependencies> | |
83 | ||
4821eac9 AM |
84 | <dependencyManagement> |
85 | <dependencies> | |
86 | <!-- System dependencies, should have been installed by UST --> | |
87 | <dependency> | |
88 | <groupId>org.lttng.ust.agent</groupId> | |
89 | <artifactId>lttng-ust-agent-common</artifactId> | |
90 | <version>1.0.0</version> | |
91 | <scope>system</scope> | |
92 | <systemPath>${common-jar-location}</systemPath> | |
93 | </dependency> | |
94 | ||
95 | <dependency> | |
96 | <groupId>org.lttng.ust.agent</groupId> | |
97 | <artifactId>lttng-ust-agent-jul</artifactId> | |
98 | <version>1.0.0</version> | |
99 | <scope>system</scope> | |
100 | <systemPath>${jul-jar-location}</systemPath> | |
101 | </dependency> | |
102 | ||
103 | <dependency> | |
104 | <groupId>org.lttng.ust.agent</groupId> | |
105 | <artifactId>lttng-ust-agent-log4j</artifactId> | |
106 | <version>1.0.0</version> | |
107 | <scope>system</scope> | |
108 | <systemPath>${log4j-jar-location}</systemPath> | |
109 | </dependency> | |
110 | ||
111 | <!-- Provided by this project --> | |
112 | <dependency> | |
113 | <groupId>org.lttng.tools</groupId> | |
114 | <artifactId>lttng-tools-java</artifactId> | |
115 | <version>1.0.0</version> | |
116 | </dependency> | |
117 | ||
118 | <dependency> | |
119 | <groupId>org.lttng.ust</groupId> | |
120 | <artifactId>lttng-ust-java-tests-common</artifactId> | |
121 | <version>1.0.0</version> | |
122 | </dependency> | |
123 | ||
124 | <!-- Regular Maven dependencies --> | |
125 | <dependency> | |
126 | <groupId>log4j</groupId> | |
127 | <artifactId>log4j</artifactId> | |
128 | <version>1.2.17</version> | |
129 | </dependency> | |
130 | ||
131 | <dependency> | |
132 | <groupId>junit</groupId> | |
133 | <artifactId>junit</artifactId> | |
134 | <version>RELEASE</version> | |
135 | <scope>test</scope> | |
136 | </dependency> | |
137 | </dependencies> | |
138 | </dependencyManagement> | |
139 | ||
140 | ||
b01fe762 | 141 | <modules> |
b01fe762 | 142 | <module>lttng-tools-java</module> |
4821eac9 AM |
143 | <module>lttng-ust-java-tests-common</module> |
144 | <module>lttng-ust-java-tests-jul</module> | |
145 | <module>lttng-ust-java-tests-log4j</module> | |
b01fe762 | 146 | </modules> |
d4e2e87c | 147 | |
24b260d9 | 148 | </project> |