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> | |
b01fe762 AM |
37 | <!-- Paths that come from UST's default "make install". |
38 | Override to specify other locations. --> | |
39 | <common-jar-location>/usr/local/share/java/lttng-ust-agent-common-1.0.0.jar</common-jar-location> | |
40 | <jul-jar-location>/usr/local/share/java/lttng-ust-agent-jul-1.0.0.jar</jul-jar-location> | |
41 | <log4j-jar-location>/usr/local/share/java/lttng-ust-agent-log4j-1.0.0.jar</log4j-jar-location> | |
42 | <argLine>-Djava.library.path=/usr/local/lib</argLine> | |
43 | </properties> | |
44 | ||
45 | <dependencies> | |
46 | <!-- System dependencies, should have been installed by UST --> | |
47 | <dependency> | |
48 | <groupId>org.lttng.ust.agent</groupId> | |
49 | <artifactId>lttng-ust-agent-common</artifactId> | |
50 | <version>1.0.0</version> | |
51 | <scope>system</scope> | |
52 | <systemPath>${common-jar-location}</systemPath> | |
53 | </dependency> | |
54 | <dependency> | |
55 | <groupId>org.lttng.ust.agent</groupId> | |
56 | <artifactId>lttng-ust-agent-jul</artifactId> | |
57 | <version>1.0.0</version> | |
58 | <scope>system</scope> | |
59 | <systemPath>${jul-jar-location}</systemPath> | |
60 | </dependency> | |
61 | <dependency> | |
62 | <groupId>org.lttng.ust.agent</groupId> | |
63 | <artifactId>lttng-ust-agent-log4j</artifactId> | |
64 | <version>1.0.0</version> | |
65 | <scope>system</scope> | |
66 | <systemPath>${log4j-jar-location}</systemPath> | |
67 | </dependency> | |
68 | ||
69 | <!-- "Real" Maven dependencies --> | |
70 | <dependency> | |
71 | <groupId>org.lttng.tools</groupId> | |
72 | <artifactId>lttng-tools-java</artifactId> | |
73 | <version>1.0.0</version> | |
74 | </dependency> | |
75 | <dependency> | |
76 | <groupId>log4j</groupId> | |
77 | <artifactId>log4j</artifactId> | |
78 | <version>1.2.17</version> | |
79 | </dependency> | |
80 | <dependency> | |
81 | <groupId>junit</groupId> | |
82 | <artifactId>junit</artifactId> | |
83 | <version>4.12</version> | |
84 | <scope>test</scope> | |
85 | </dependency> | |
86 | </dependencies> | |
87 | ||
7b82be36 AM |
88 | <build> |
89 | <plugins> | |
90 | <plugin> | |
91 | <groupId>org.apache.maven.plugins</groupId> | |
92 | <artifactId>maven-failsafe-plugin</artifactId> | |
93 | <version>2.18.1</version> | |
94 | <executions> | |
95 | <execution> | |
96 | <goals> | |
97 | <goal>integration-test</goal> | |
98 | <goal>verify</goal> | |
99 | </goals> | |
100 | </execution> | |
101 | </executions> | |
102 | </plugin> | |
103 | </plugins> | |
104 | </build> | |
105 | ||
b01fe762 AM |
106 | <profiles> |
107 | <profile> | |
108 | <id>benchmark</id> | |
109 | <build> | |
110 | <plugins> | |
111 | <plugin> | |
112 | <groupId>org.apache.maven.plugins</groupId> | |
7b82be36 | 113 | <artifactId>maven-failsafe-plugin</artifactId> |
b01fe762 AM |
114 | <version>2.18.1</version> |
115 | <configuration> | |
116 | <includes> | |
117 | <include>**/*Benchmark.java</include> | |
118 | </includes> | |
119 | </configuration> | |
120 | </plugin> | |
121 | </plugins> | |
122 | </build> | |
123 | </profile> | |
124 | </profiles> | |
125 | ||
126 | </project> |