Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 164 lines (148 sloc) 5.118 kb
8a31910 @hoffrocket specify java version 1.6
hoffrocket authored
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6580f5b Add POM.xml
Norbert Hu authored
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
3 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
5
6580f5b Add POM.xml
Norbert Hu authored
6 <groupId>com.foursquare</groupId>
7 <artifactId>heapaudit</artifactId>
84486a3 Bump build # 1.1.4 to 1.1.5
norberthu authored
8 <version>1.1.5</version>
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
9 <packaging>jar</packaging>
10
11 <properties>
12 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13 </properties>
14
1bb71e1 Add conditional tools.jar to build
Norbert Hu authored
15 <profiles>
16 <profile>
17 <id>tools.jar</id>
18 <activation>
19 <file>
20 <exists>${java.home}/../lib/tools.jar</exists>
21 </file>
22 </activation>
23 <dependencies>
24 <dependency>
25 <groupId>com.sun</groupId>
26 <artifactId>tools</artifactId>
27 <version>1.6</version>
28 <scope>system</scope>
29 <optional>true</optional>
30 <systemPath>${java.home}/../lib/tools.jar</systemPath>
31 </dependency>
32 </dependencies>
33 </profile>
34 </profiles>
35
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
36 <dependencies>
8a31910 @hoffrocket specify java version 1.6
hoffrocket authored
37
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
38 <dependency>
39 <groupId>asm</groupId>
40 <artifactId>asm-all</artifactId>
41 <version>3.3.1</version>
42 </dependency>
8a31910 @hoffrocket specify java version 1.6
hoffrocket authored
43
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
44 <dependency>
45 <groupId>junit</groupId>
46 <artifactId>junit</artifactId>
47 <version>4.10</version>
48 <scope>test</scope>
49 </dependency>
50
51 </dependencies>
52
4e149c2 Fix manifest
Norbert Hu authored
53 <build>
54 <plugins>
3eb67b4 Add support for custom defined dynamically injected recorders
Norbert Hu authored
55
8a31910 @hoffrocket specify java version 1.6
hoffrocket authored
56 <plugin>
57 <groupId>org.apache.maven.plugins</groupId>
58 <artifactId>maven-compiler-plugin</artifactId>
59 <version>2.0.2</version>
60 <configuration>
61 <source>1.6</source>
62 <target>1.6</target>
63 </configuration>
64 </plugin>
3eb67b4 Add support for custom defined dynamically injected recorders
Norbert Hu authored
65
4e149c2 Fix manifest
Norbert Hu authored
66 <plugin>
67 <groupId>org.apache.maven.plugins</groupId>
68 <artifactId>maven-jar-plugin</artifactId>
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
69 <version>2.3.2</version>
4e149c2 Fix manifest
Norbert Hu authored
70 <configuration>
71 <archive>
48f2cba Include self referencing bootclasspath in manifest
Norbert Hu authored
72 <manifestEntries>
73 <Can-Redefine-Classes>true</Can-Redefine-Classes>
74 <Can-Retransform-Classes>true</Can-Retransform-Classes>
1bb71e1 Add conditional tools.jar to build
Norbert Hu authored
75 <Boot-Class-Path>${project.artifactId}-${project.version}.jar</Boot-Class-Path>
48f2cba Include self referencing bootclasspath in manifest
Norbert Hu authored
76 <Main-Class>com.foursquare.heapaudit.HeapAudit</Main-Class>
77 <Agent-Class>com.foursquare.heapaudit.HeapAudit</Agent-Class>
78 <Premain-Class>com.foursquare.heapaudit.HeapAudit</Premain-Class>
79 </manifestEntries>
4e149c2 Fix manifest
Norbert Hu authored
80 </archive>
81 </configuration>
82 </plugin>
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
83
35c4384 Bundle objectweb asm library into HeapAudit
Norbert Hu authored
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-shade-plugin</artifactId>
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
87 <version>1.5</version>
35c4384 Bundle objectweb asm library into HeapAudit
Norbert Hu authored
88 <executions>
89 <execution>
3eb67b4 Add support for custom defined dynamically injected recorders
Norbert Hu authored
90 <id>HeapRecorders</id>
91 <phase>package</phase>
92 <goals>
93 <goal>shade</goal>
94 </goals>
95 <configuration>
96 <finalName>heaprecorders-${project.version}</finalName>
97 <filters>
98 <filter>
99 <artifact>*:*</artifact>
100 <excludes>
101 <exclude>com/foursquare/heapaudit/*</exclude>
102 <exclude>org/**</exclude>
103 </excludes>
104 </filter>
105 </filters>
106 </configuration>
107 </execution>
108 <execution>
109 <id>HeapAudit</id>
35c4384 Bundle objectweb asm library into HeapAudit
Norbert Hu authored
110 <phase>package</phase>
111 <goals>
112 <goal>shade</goal>
113 </goals>
114 <configuration>
3eb67b4 Add support for custom defined dynamically injected recorders
Norbert Hu authored
115 <filters>
116 <filter>
117 <artifact>*:*</artifact>
118 <excludes>
119 <exclude>com/foursquare/heapaudit/recorders/*</exclude>
120 </excludes>
121 </filter>
122 </filters>
35c4384 Bundle objectweb asm library into HeapAudit
Norbert Hu authored
123 </configuration>
124 </execution>
125 </executions>
126 </plugin>
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
127
8284b17 Add unit test
Norbert Hu authored
128 <plugin>
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-surefire-plugin</artifactId>
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
131 <version>2.11</version>
8284b17 Add unit test
Norbert Hu authored
132 <configuration>
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
133 <excludes>
134 <exclude>**/Test*.java</exclude>
135 </excludes>
8284b17 Add unit test
Norbert Hu authored
136 </configuration>
137 </plugin>
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
138
139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-failsafe-plugin</artifactId>
142 <version>2.11</version>
143 <executions>
144 <execution>
145 <goals>
146 <goal>integration-test</goal>
147 <goal>verify</goal>
148 </goals>
149 <configuration>
6531d1b Fix broken custom recorder jar reference
Norbert Hu authored
150 <argLine>-javaagent:${project.build.directory}/${project.artifactId}-${project.version}.jar="-Xconditional -Aorg/apache/maven/.+ -Ajunit/.+ -Aorg/junit/.+" -Dheapaudit=${project.build.directory}/${project.artifactId}-${project.version}.jar -Dheaprecorders=${project.build.directory}/heaprecorders-${project.version}.jar</argLine>
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
151 <workingDirectory>${project.build.directory}</workingDirectory>
152 <includes>
153 <include>**/Test*.java</include>
154 </includes>
155 </configuration>
156 </execution>
157 </executions>
158 </plugin>
159
4e149c2 Fix manifest
Norbert Hu authored
160 </plugins>
161 </build>
4c96a8d Fix incorrect integration test pom specification
Norbert Hu authored
162
6580f5b Add POM.xml
Norbert Hu authored
163 </project>
Something went wrong with that request. Please try again.