forked from gulyx/crochet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
188 lines (186 loc) · 6.06 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.jonbell.java</groupId>
<artifactId>CRIJ</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<configuration>
<argLine>-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
<useSystemClassLoader>false</useSystemClassLoader>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<archive>
<manifestFile>resources/META-INF/MANIFEST.MF</manifestFile>
</archive>
<excludes>
<exclude>java/</exclude>
<exclude>sun/</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<!-- <version>2.18.1</version> -->
<!-- <version>2.19.1</version> -->
<!-- <version>2.22.1</version> -->
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
<configuration>
<reuseForks>false</reuseForks>
<jvm>${project.build.directory}/jre-inst/bin/java</jvm>
<!-- <jvm>${project.build.directory}/jre-inst/opt/obuildfactory/jdk-1.8.0-openjdk-x86_64-fastdebug/bin/java</jvm> -->
<argLine> <!-- -XX:+TraceExceptions --> <!-- -Xrunhprof:format=b,file=/tmp/xx.hprof -->
-Xbootclasspath/p:${project.build.directory}/${project.build.finalName}.jar
-agentpath:${project.build.directory}/libtagging.so
"-javaagent:${project.build.directory}/${project.build.finalName}.jar=withStackRollback,checkpointAt=net/jonbell/crij/test/SimpleStackModeAutoCPITCase.testRBInSameMethod#7,rollbackAt=net/jonbell/crij/test/SimpleStackModeAutoCPITCase.testRBInSameMethod#37,checkpointAt=net/jonbell/crij/test/SimpleStackModeAutoCPITCase.testRBInOtherMethod#7,rollbackAt=net/jonbell/crij/test/SimpleStackModeAutoCPITCase.foo#0,checkpointAt=net/jonbell/crij/test/SimpleStackModeAutoCPITCase.testRBInOtherStaticMethod#7,rollbackAt=net/jonbell/crij/test/SimpleStackModeAutoCPITCase.foos#0,checkpointAt=net/jonbell/crij/test/SimpleStackModeAutoCPITCase.doStaticTest#7,rollbackAt=net/jonbell/crij/test/SimpleStackModeAutoCPITCase.doStaticTest#37"
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<relocations>
<relocation>
<pattern>org.objectweb.asm</pattern>
<shadedPattern>net.jonbell.crij.org.objectweb.asm</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.commons</pattern>
<shadedPattern>net.jonbell.crij.org.apache.commons</shadedPattern>
</relocation>
</relocations>
<minimizeJar>false</minimizeJar>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>exe</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>make</executable>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<executions>
<execution>
<id>instrument-jre</id>
<phase>pre-integration-test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${basedir}/instrumentJRE.sh</executable>
</configuration>
</execution>
<!-- <execution> <id>run-dacapo</id> <phase>integration-test</phase>
<goals> <goal>exec</goal> </goals> <configuration> <skip>${dacapo.skip}</skip>
<executable>${basedir}/runDacapo.sh</executable> </configuration> </execution> -->
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.8.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.2</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-all</artifactId>
<version>5.0.3</version>
</dependency>
</dependencies>
<distributionManagement>
<snapshotRepository>
<id>jb.snapshots</id>
<url>https://maven.jonbell.net/repository/privatesnaps/</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>privatesnaps</id>
<name>privatesnaps</name>
<url>https://maven.jonbell.net/repository/privatesnaps/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>privatesnaps</id>
<name>privatesnaps</name>
<url>https://maven.jonbell.net/repository/privatesnaps/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>