Commit | Line | Data |
---|---|---|
b01fe762 AM |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- | |
3 | Copyright (C) 2015, EfficiOS Inc., Alexandre Montplaisir <alexmonthy@efficios.com> | |
4 | ||
5 | This program is free software; you can redistribute it and/or modify | |
6 | it under the terms of the GNU General Public License as published by | |
7 | the Free Software Foundation; either version 2 of the License, or | |
8 | (at your option) any later version. | |
9 | ||
10 | This program 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 | |
13 | GNU General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU General Public License along | |
16 | with this program; if not, write to the Free Software Foundation, Inc., | |
17 | 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 | <parent> | |
26 | <groupId>org.lttng.ust</groupId> | |
27 | <artifactId>lttng-ust-java-parent</artifactId> | |
28 | <version>1.0.0</version> | |
29 | </parent> | |
30 | ||
31 | <artifactId>lttng-ust-java-tests</artifactId> | |
32 | <packaging>jar</packaging> | |
33 | ||
34 | <name>LTTng-UST Java Agent Integration Tests</name> | |
35 | ||
36 | <properties> | |
37 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
38 | <!-- Paths that come from UST's default "make install". | |
39 | Override to specify other locations. --> | |
40 | <common-jar-location>/usr/local/share/java/lttng-ust-agent-common-1.0.0.jar</common-jar-location> | |
41 | <jul-jar-location>/usr/local/share/java/lttng-ust-agent-jul-1.0.0.jar</jul-jar-location> | |
42 | <log4j-jar-location>/usr/local/share/java/lttng-ust-agent-log4j-1.0.0.jar</log4j-jar-location> | |
43 | <argLine>-Djava.library.path=/usr/local/lib</argLine> | |
44 | </properties> | |
45 | ||
46 | <dependencies> | |
47 | <!-- System dependencies, should have been installed by UST --> | |
48 | <dependency> | |
49 | <groupId>org.lttng.ust.agent</groupId> | |
50 | <artifactId>lttng-ust-agent-common</artifactId> | |
51 | <version>1.0.0</version> | |
52 | <scope>system</scope> | |
53 | <systemPath>${common-jar-location}</systemPath> | |
54 | </dependency> | |
55 | <dependency> | |
56 | <groupId>org.lttng.ust.agent</groupId> | |
57 | <artifactId>lttng-ust-agent-jul</artifactId> | |
58 | <version>1.0.0</version> | |
59 | <scope>system</scope> | |
60 | <systemPath>${jul-jar-location}</systemPath> | |
61 | </dependency> | |
62 | <dependency> | |
63 | <groupId>org.lttng.ust.agent</groupId> | |
64 | <artifactId>lttng-ust-agent-log4j</artifactId> | |
65 | <version>1.0.0</version> | |
66 | <scope>system</scope> | |
67 | <systemPath>${log4j-jar-location}</systemPath> | |
68 | </dependency> | |
69 | ||
70 | <!-- "Real" Maven dependencies --> | |
71 | <dependency> | |
72 | <groupId>org.lttng.tools</groupId> | |
73 | <artifactId>lttng-tools-java</artifactId> | |
74 | <version>1.0.0</version> | |
75 | </dependency> | |
76 | <dependency> | |
77 | <groupId>log4j</groupId> | |
78 | <artifactId>log4j</artifactId> | |
79 | <version>1.2.17</version> | |
80 | </dependency> | |
81 | <dependency> | |
82 | <groupId>junit</groupId> | |
83 | <artifactId>junit</artifactId> | |
84 | <version>4.12</version> | |
85 | <scope>test</scope> | |
86 | </dependency> | |
87 | </dependencies> | |
88 | ||
89 | <profiles> | |
90 | <profile> | |
91 | <id>benchmark</id> | |
92 | <build> | |
93 | <plugins> | |
94 | <plugin> | |
95 | <groupId>org.apache.maven.plugins</groupId> | |
96 | <artifactId>maven-surefire-plugin</artifactId> | |
97 | <version>2.18.1</version> | |
98 | <configuration> | |
99 | <includes> | |
100 | <include>**/*Benchmark.java</include> | |
101 | </includes> | |
102 | </configuration> | |
103 | </plugin> | |
104 | </plugins> | |
105 | </build> | |
106 | </profile> | |
107 | </profiles> | |
108 | ||
109 | </project> |