blob: dff48fc9ac5d00106da0cb2f186732a0efc35ae9 [file] [log] [blame]
Torsten Curdt57f47912006-06-20 02:56:49 +00001<?xml version="1.0" encoding="UTF-8"?>
Sebastian Bazley4c91ab12010-05-25 00:36:19 +00002<!--
Gary D. Gregory6715e7e2014-06-06 02:45:03 +00003 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
Sebastian Bazley4c91ab12010-05-25 00:36:19 +000019-->
Gary D. Gregoryd6840322016-06-21 19:48:12 +000020<project
21 xmlns="http://maven.apache.org/POM/4.0.0"
22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Torsten Curdt57f47912006-06-20 02:56:49 +000024
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000025 <modelVersion>4.0.0</modelVersion>
Torsten Curdt57f47912006-06-20 02:56:49 +000026
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000027 <parent>
28 <groupId>org.apache.commons</groupId>
29 <artifactId>commons-parent</artifactId>
Gary D. Gregory2028f6f2017-08-25 16:11:40 +000030 <version>42</version>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000031 </parent>
Sebastian Bazley603aee92011-04-02 01:00:05 +000032
Benedikt Ritter8ddaf502016-06-07 17:13:56 +000033 <groupId>org.apache.bcel</groupId>
34 <artifactId>bcel</artifactId>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000035 <packaging>jar</packaging>
Gary D. Gregory9cd000c2017-11-30 21:37:11 +000036 <version>6.2</version>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000037 <name>Apache Commons BCEL</name>
38 <description>Apache Commons Bytecode Engineering Library</description>
Torsten Curdt57f47912006-06-20 02:56:49 +000039
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000040 <url>http://commons.apache.org/proper/commons-bcel</url>
41 <inceptionYear>2004</inceptionYear>
Torsten Curdt57f47912006-06-20 02:56:49 +000042
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000043 <properties>
Sebastian Bazley47c0e902016-06-23 21:56:18 +000044 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000045 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Gary D. Gregory90867a92015-08-13 18:58:38 +000046 <maven.compiler.source>1.7</maven.compiler.source>
47 <maven.compiler.target>1.7</maven.compiler.target>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000048 <commons.componentid>bcel</commons.componentid>
Benedikt Ritter789557e2017-09-14 19:12:57 +000049 <commons.module.name>org.apache.bcel</commons.module.name>
Gary D. Gregory4955bae2017-11-30 20:48:34 +000050 <commons.release.version>6.2</commons.release.version>
Gary D. Gregory90867a92015-08-13 18:58:38 +000051 <commons.release.desc>(Java 7+)</commons.release.desc>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000052 <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-bcel</commons.scmPubUrl>
53 <!-- Configuration properties for the OSGi maven-bundle-plugin -->
54 <commons.osgi.symbolicName>org.apache.${commons.componentid}</commons.osgi.symbolicName>
Benedikt Ritter9774f1e2016-06-07 18:41:39 +000055 <commons.osgi.export>org.apache.bcel.*;version=${project.version};-noimport:=true</commons.osgi.export>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000056 <commons.osgi.import>*</commons.osgi.import>
57 <commons.osgi.dynamicImport />
58 <commons.osgi.private />
59 <commons.jira.id>BCEL</commons.jira.id>
60 <commons.jira.pid>12314220</commons.jira.pid>
Gary D. Gregorya4e04762017-11-27 18:38:35 +000061 <commons.findbugs.version>3.0.5</commons.findbugs.version>
Gary D. Gregory32e60022016-06-01 04:27:18 +000062 <checkstyle.plugin.version>2.17</checkstyle.plugin.version>
Gary D. Gregory2028f6f2017-08-25 16:11:40 +000063 <commons.clirr.version>2.8</commons.clirr.version>
Benedikt Ritterd10a6d72017-09-14 19:06:27 +000064 <jna.version>4.5.0</jna.version>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000065 </properties>
Sebastian Bazleya9df93a2011-07-24 13:08:49 +000066
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000067 <!-- Cannot be added to Commons Parent, see https://issues.apache.org/jira/browse/COMMONSSITE-26 -->
68 <distributionManagement>
69 <site>
70 <id>apache.website</id>
71 <name>Apache Website</name>
72 <url>scp://people.apache.org/www/commons.apache.org/${commons.componentid}/</url>
73 </site>
74 </distributionManagement>
Sebastian Bazleyd3a2f622011-07-24 13:35:37 +000075
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000076 <licenses>
77 <license>
78 <name>Apache License, Version 2.0</name>
79 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
80 <distribution>repo</distribution>
81 </license>
82 </licenses>
Torsten Curdt57f47912006-06-20 02:56:49 +000083
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000084 <organization>
85 <name>The Apache Software Foundation</name>
86 <url>http://www.apache.org/</url>
87 </organization>
Torsten Curdt57f47912006-06-20 02:56:49 +000088
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000089 <developers>
90 <developer>
91 <name>Dave Brosius</name>
92 <id>dbrosius</id>
93 <email>dbrosius at mebigfatguy.com</email>
94 </developer>
Torsten Curdt57f47912006-06-20 02:56:49 +000095
Gary D. Gregory6715e7e2014-06-06 02:45:03 +000096 <developer>
97 <name>Torsten Curdt</name>
98 <id>tcurdt</id>
99 <email>tcurdt at apache.org</email>
100 <organization>ASF</organization>
101 <organizationUrl>http://www.apache.org/</organizationUrl>
102 <timezone>+1</timezone>
103 </developer>
Torsten Curdt645828a2008-01-24 11:32:28 +0000104
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000105 <developer>
106 <name>Markus Dahm</name>
107 <id>mdahm</id>
108 <email>m.dahm at gmx.de</email>
109 <organization>it-frameworksolutions</organization>
110 </developer>
Torsten Curdt645828a2008-01-24 11:32:28 +0000111
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000112 <developer>
113 <name>Jason van Zyl</name>
114 <email>jason at zenplex.com</email>
115 </developer>
Torsten Curdt645828a2008-01-24 11:32:28 +0000116
Gary D. Gregoryf71e6e02014-09-30 12:08:27 +0000117 <developer>
118 <id>ggregory</id>
119 <name>Gary Gregory</name>
120 <email>ggregory@apache.org</email>
121 <organization>Rocket Software</organization>
122 <roles>
123 <role>PMC Member</role>
124 </roles>
125 <timezone>America/New_York</timezone>
126 </developer>
127
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000128 </developers>
Torsten Curdt57f47912006-06-20 02:56:49 +0000129
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000130 <contributors>
Torsten Curdt645828a2008-01-24 11:32:28 +0000131
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000132 <contributor>
133 <name>Enver Haase</name>
134 <email>enver at convergence.de</email>
135 </contributor>
Torsten Curdt645828a2008-01-24 11:32:28 +0000136
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000137 <contributor>
138 <name>David Dixon-Peugh</name>
139 <email>dixonpeugh at yahoo.com</email>
140 </contributor>
Torsten Curdt645828a2008-01-24 11:32:28 +0000141
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000142 <contributor>
143 <name>Patrick Beard</name>
144 <email>beard at netscape.com</email>
145 </contributor>
Torsten Curdt645828a2008-01-24 11:32:28 +0000146
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000147 <contributor>
148 <name>Conor MacNeill</name>
149 <email>conor at cortexbusiness.com.au</email>
150 </contributor>
Torsten Curdt645828a2008-01-24 11:32:28 +0000151
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000152 <contributor>
153 <name>Costin Manolache</name>
154 <email>cmanolache at yahoo.com</email>
155 </contributor>
Torsten Curdt645828a2008-01-24 11:32:28 +0000156
Sebastian Bazleyd45a94e2015-08-12 10:48:29 +0000157 <contributor>
158 <name>Bill Pugh</name>
159 <email>bill.pugh at gmail.com</email>
160 </contributor>
161
162 <contributor>
163 <name>First Hop Ltd / Torsten Rueger</name>
164 </contributor>
165
Benedikt Ritter97b832f2016-06-18 13:33:11 +0000166 <contributor>
167 <name>Jérôme Leroux</name>
168 </contributor>
169
170 <contributor>
171 <name>Mark Roberts</name>
172 </contributor>
Benedikt Ritterc0e6c1e2016-09-06 06:39:00 +0000173
174 <contributor>
175 <name>Sam Yoon</name>
176 </contributor>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000177 </contributors>
Torsten Curdt645828a2008-01-24 11:32:28 +0000178
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000179 <mailingLists>
180 <mailingList>
181 <name>BCEL User List</name>
Emmanuel Bourg1cfd6592014-08-25 21:43:31 +0000182 <subscribe>user-subscribe@commons.apache.org</subscribe>
183 <unsubscribe>user-unsubscribe@commons.apache.org</unsubscribe>
184 <archive>http://mail-archives.apache.org/mod_mbox/commons-user/</archive>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000185 </mailingList>
186 <mailingList>
187 <name>BCEL Developer List</name>
188 <subscribe>dev-subscribe@commons.apache.org</subscribe>
Emmanuel Bourg1cfd6592014-08-25 21:43:31 +0000189 <unsubscribe>dev-unsubscribe@commons.apache.org</unsubscribe>
190 <archive>http://mail-archives.apache.org/mod_mbox/commons-dev/</archive>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000191 </mailingList>
192 </mailingLists>
Torsten Curdt57f47912006-06-20 02:56:49 +0000193
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000194 <issueManagement>
195 <system>jira</system>
196 <url>http://issues.apache.org/jira/browse/BCEL</url>
197 </issueManagement>
Torsten Curdt57f47912006-06-20 02:56:49 +0000198
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000199 <scm>
Sebastian Bazley7f07c6e2015-08-12 10:50:27 +0000200 <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/bcel/trunk</connection>
201 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/bcel/trunk</developerConnection>
202 <url>http://svn.apache.org/repos/asf/commons/proper/bcel/trunk</url>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000203 </scm>
Torsten Curdt57f47912006-06-20 02:56:49 +0000204
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000205 <build>
206 <plugins>
Gary D. Gregory047f53f2016-06-21 19:50:07 +0000207 <plugin>
208 <groupId>org.apache.rat</groupId>
209 <artifactId>apache-rat-plugin</artifactId>
210 <version>${commons.rat.version}</version>
211 <configuration>
212 <excludes>
213 <exclude>src/test/resources/**</exclude>
214 <exclude>docs/*.bib</exclude>
215 <exclude>docs/*.mdl</exclude>
216 <exclude>docs/eps/*</exclude>
217 <exclude>**/*.eps</exclude>
218 <exclude>**/*.bnf</exclude>
219 <exclude>**/*.mini</exclude>
220 <exclude>TODO.JustIce</exclude>
221 <exclude>src/examples/Mini/MiniParser$JJCalls</exclude>
222 </excludes>
223 </configuration>
224 </plugin>
Gary D. Gregoryd6840322016-06-21 19:48:12 +0000225 <!-- Allow Clirr to be run from command line -->
226 <plugin>
227 <groupId>org.codehaus.mojo</groupId>
228 <artifactId>clirr-maven-plugin</artifactId>
229 <version>${commons.clirr.version}</version>
230 <configuration>
231 <minSeverity>${minSeverity}</minSeverity>
232 </configuration>
233 </plugin>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000234 <plugin>
235 <groupId>org.apache.maven.plugins</groupId>
236 <artifactId>maven-jar-plugin</artifactId>
237 <executions>
238 <execution>
239 <goals>
240 <goal>test-jar</goal>
241 </goals>
242 </execution>
243 </executions>
Benedikt Ritter789557e2017-09-14 19:12:57 +0000244 <!-- Temporary fix for BCEL-293, remove this after this has implemented in parent pom -->
245 <configuration>
246 <archive combine.children="append">
247 <manifestEntries>
248 <Automatic-Module-Name>org.apache.bcel</Automatic-Module-Name>
249 </manifestEntries>
250 </archive>
251 </configuration>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000252 </plugin>
253 <plugin>
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000254 <artifactId>maven-compiler-plugin</artifactId>
255 <configuration>
256 <testExcludes>
257 <testExclude>**/*Benchmark*</testExclude>
258 </testExcludes>
259 </configuration>
260 </plugin>
261 <plugin>
Benedikt Ritter744619b2016-06-20 18:52:48 +0000262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-source-plugin</artifactId>
264 <executions>
265 <execution>
266 <id>attach-sources</id>
267 <goals>
268 <goal>jar</goal>
269 </goals>
270 </execution>
271 </executions>
David Brosius15d015a2016-06-19 16:10:00 +0000272 </plugin>
273 <plugin>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000274 <artifactId>maven-surefire-plugin</artifactId>
275 <configuration>
Sebastian Bazley5627e452015-08-26 14:52:09 +0000276 <systemProperties>
277 <property>
Gary D. Gregoryd6840322016-06-21 19:48:12 +0000278 <!-- Suppress the stats, but keep the test as it exercises the code -->
279 <name>PerformanceTest.report</name>
280 <value>false</value>
Sebastian Bazley5627e452015-08-26 14:52:09 +0000281 </property>
282 </systemProperties>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000283 <includes>
284 <include>**/*TestCase.java</include>
Chas Hontonc0e9f322015-07-18 04:24:48 +0000285 <include>**/PerformanceTest.java</include>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000286 </includes>
287 <excludes>
288 <exclude>**/Abstract*</exclude>
Sebastian Bazley5627e452015-08-26 14:52:09 +0000289 <!-- Takes rather a long time (especially rt.jar) ; only needs to be done occasionally -->
290 <exclude>**/JDKClassDumpTestCase.java</exclude>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000291 </excludes>
292 </configuration>
293 </plugin>
294 <plugin>
295 <artifactId>maven-assembly-plugin</artifactId>
296 <configuration>
Sebastian Bazley17e1eca2015-08-17 23:37:44 +0000297 <!-- These need to be specified because CP includes a descriptor -->
298 <descriptors>
299 <descriptor>src/assembly/bin.xml</descriptor>
300 <descriptor>src/assembly/src.xml</descriptor>
301 </descriptors>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000302 <tarLongFileMode>gnu</tarLongFileMode>
303 </configuration>
304 </plugin>
305 <plugin>
306 <groupId>org.apache.maven.plugins</groupId>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000307 <artifactId>maven-scm-publish-plugin</artifactId>
308 <configuration>
309 <ignorePathsToDelete>
310 <ignorePathToDelete>javadocs</ignorePathToDelete>
311 </ignorePathsToDelete>
312 </configuration>
313 </plugin>
Sebastian Bazley6a8a1862015-08-20 14:42:36 +0000314 <plugin>
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-checkstyle-plugin</artifactId>
Sebastian Bazley35ec2c82015-08-20 22:57:32 +0000317 <version>${checkstyle.plugin.version}</version>
Sebastian Bazley6a8a1862015-08-20 14:42:36 +0000318 <configuration>
Benedikt Ritter2f3ce1d2016-06-19 17:34:23 +0000319 <configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
Sebastian Bazley35ec2c82015-08-20 22:57:32 +0000320 <!-- Needed to define config_loc -->
Sebastian Bazley865b3d52015-08-21 11:46:01 +0000321 <propertyExpansion>config_loc=${basedir}</propertyExpansion>
Sebastian Bazley6a8a1862015-08-20 14:42:36 +0000322 <enableRulesSummary>false</enableRulesSummary>
323 </configuration>
324 </plugin>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000325 </plugins>
326 </build>
Torsten Curdt57f47912006-06-20 02:56:49 +0000327
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000328 <reporting>
329 <plugins>
330 <!--
331 <plugin>
332 <groupId>org.codehaus.mojo</groupId>
333 <artifactId>jardiff-maven-plugin</artifactId>
334 <configuration>
335 <artifacts>
336 <artifact>
337 <version>5.2</version>
338 </artifact>
339 <artifact>
340 <groupId>bcel</groupId>
341 <version>5.1</version>
342 </artifact>
343 </artifacts>
344 </configuration>
345 </plugin>
346 -->
347 <plugin>
Gary D. Gregoryd1fdb9a2014-06-06 03:03:30 +0000348 <groupId>org.apache.maven.plugins</groupId>
349 <artifactId>maven-checkstyle-plugin</artifactId>
Sebastian Bazley35ec2c82015-08-20 22:57:32 +0000350 <version>${checkstyle.plugin.version}</version>
Gary D. Gregoryd1fdb9a2014-06-06 03:03:30 +0000351 <configuration>
Benedikt Ritter2f3ce1d2016-06-19 17:34:23 +0000352 <configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
Sebastian Bazley35ec2c82015-08-20 22:57:32 +0000353 <!-- Needed to define config_loc -->
Sebastian Bazley865b3d52015-08-21 11:46:01 +0000354 <propertyExpansion>config_loc=${basedir}</propertyExpansion>
Gary D. Gregoryd1fdb9a2014-06-06 03:03:30 +0000355 <enableRulesSummary>false</enableRulesSummary>
Gary D. Gregoryd1fdb9a2014-06-06 03:03:30 +0000356 </configuration>
357 <!-- We need to specify reportSets because 2.9.1 creates two reports -->
358 <reportSets>
359 <reportSet>
360 <reports>
361 <report>checkstyle</report>
362 </reports>
363 </reportSet>
364 </reportSets>
365 </plugin>
366 <plugin>
367 <groupId>org.apache.maven.plugins</groupId>
368 <artifactId>maven-pmd-plugin</artifactId>
Gary D. Gregory7ae868b2017-08-25 16:17:51 +0000369 <version>3.8</version>
Gary D. Gregoryd1fdb9a2014-06-06 03:03:30 +0000370 <configuration>
371 <targetJdk>${maven.compiler.target}</targetJdk>
372 <linkXref>true</linkXref>
373 <rulesets>
Benedikt Ritter349f5022016-06-19 17:27:01 +0000374 <ruleset>${basedir}/src/conf/pmd.xml</ruleset>
Gary D. Gregoryd1fdb9a2014-06-06 03:03:30 +0000375 </rulesets>
376 </configuration>
377 </plugin>
378 <plugin>
379 <groupId>org.codehaus.mojo</groupId>
380 <artifactId>findbugs-maven-plugin</artifactId>
Gary D. Gregoryc8224b12016-04-26 19:14:43 +0000381 <version>${commons.findbugs.version}</version>
Emmanuel Bourg2d421fb2014-09-26 20:08:23 +0000382 <configuration>
Sebastian Bazley7cb8a8d2015-08-21 14:03:55 +0000383 <threshold>Normal</threshold>
384 <effort>Default</effort>
Benedikt Ritter349f5022016-06-19 17:27:01 +0000385 <excludeFilterFile>${basedir}/src/conf/findbugs-exclude-filter.xml</excludeFilterFile>
Emmanuel Bourg2d421fb2014-09-26 20:08:23 +0000386 <fork>true</fork>
387 <jvmArgs>-Duser.language=en</jvmArgs>
388 </configuration>
Gary D. Gregoryd1fdb9a2014-06-06 03:03:30 +0000389 </plugin>
390 <plugin>
391 <groupId>org.codehaus.mojo</groupId>
392 <artifactId>taglist-maven-plugin</artifactId>
393 <version>2.4</version>
394 <configuration>
395 <tags>
396 <tag>TODO</tag>
397 <tag>NOPMD</tag>
398 <tag>NOTE</tag>
399 </tags>
400 </configuration>
401 </plugin>
402 <plugin>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000403 <groupId>org.apache.rat</groupId>
404 <artifactId>apache-rat-plugin</artifactId>
405 <version>${commons.rat.version}</version>
406 <configuration>
407 <excludes>
408 <exclude>src/test/resources/**</exclude>
409 <exclude>docs/*.bib</exclude>
410 <exclude>docs/*.mdl</exclude>
411 <exclude>docs/eps/*</exclude>
412 <exclude>**/*.eps</exclude>
413 <exclude>**/*.bnf</exclude>
414 <exclude>**/*.mini</exclude>
415 <exclude>TODO.JustIce</exclude>
416 <exclude>src/examples/Mini/MiniParser$JJCalls</exclude>
417 </excludes>
418 </configuration>
419 </plugin>
420 </plugins>
421 </reporting>
Torsten Curdt645828a2008-01-24 11:32:28 +0000422
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000423 <dependencies>
424 <dependency>
425 <groupId>junit</groupId>
426 <artifactId>junit</artifactId>
Sebastian Bazleya6571622015-01-16 23:34:24 +0000427 <version>4.12</version>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000428 <scope>test</scope>
429 </dependency>
Gary D. Gregory35b06e02016-06-21 22:34:33 +0000430 <dependency>
431 <groupId>net.java.dev.jna</groupId>
432 <artifactId>jna</artifactId>
Gary D. Gregory3d4bdf92017-08-25 16:14:56 +0000433 <version>${jna.version}</version>
Gary D. Gregory35b06e02016-06-21 22:34:33 +0000434 <scope>test</scope>
435 </dependency>
436 <dependency>
437 <groupId>net.java.dev.jna</groupId>
438 <artifactId>jna-platform</artifactId>
Gary D. Gregory3d4bdf92017-08-25 16:14:56 +0000439 <version>${jna.version}</version>
Gary D. Gregory35b06e02016-06-21 22:34:33 +0000440 <scope>test</scope>
441 </dependency>
442 <dependency>
443 <groupId>org.apache.commons</groupId>
444 <artifactId>commons-lang3</artifactId>
Gary D. Gregory26eea5b2017-11-27 18:36:49 +0000445 <version>3.7</version>
Gary D. Gregory35b06e02016-06-21 22:34:33 +0000446 <scope>test</scope>
447 </dependency>
Gary D. Gregory6715e7e2014-06-06 02:45:03 +0000448 </dependencies>
Torsten Curdt645828a2008-01-24 11:32:28 +0000449
Gary D. Gregoryf141d822014-09-30 14:35:41 +0000450 <profiles>
Sebastian Bazley25c211f2016-06-05 12:46:59 +0000451 <!--
Sebastian Bazleyed0519f2016-06-05 10:56:14 +0000452 Profile to ignore certain Clirr errors
453 To show all the errors, use -P!quieten-clirr or -Dclirr.allDifferences
454 -->
455 <profile>
456 <id>quieten-clirr</id>
457 <activation>
458 <!-- Enable unless the following is defined -->
Gary D. Gregoryd6840322016-06-21 19:48:12 +0000459 <property>
460 <name>!clirr.allDifferences</name>
461 </property>
Sebastian Bazleyed0519f2016-06-05 10:56:14 +0000462 </activation>
463 <properties>
464 <!-- It's not possible to undefine this once defined, so we define it in a profile that is normally active -->
Benedikt Ritter2f3ce1d2016-06-19 17:34:23 +0000465 <clirr.ignoredDifferencesFile>${basedir}/src/conf/clirr-ignored-diffs.xml</clirr.ignoredDifferencesFile>
Sebastian Bazleyed0519f2016-06-05 10:56:14 +0000466 </properties>
467 </profile>
Chas Hontonc0e9f322015-07-18 04:24:48 +0000468 <!-- Profile to build and run PerformanceTest. Use 'mvn test -Pjdk-rt' -->
Sebastian Bazley25c211f2016-06-05 12:46:59 +0000469 <profile>
470 <id>jdk-rt</id>
471 <build>
Chas Hontonc0e9f322015-07-18 04:24:48 +0000472 <plugins>
Sebastian Bazley05d9a9d2016-06-05 10:31:31 +0000473 <plugin>
474 <artifactId>maven-surefire-plugin</artifactId>
Sebastian Bazleybf5bb7d2016-06-07 17:58:55 +0000475 <version>${commons.surefire.version}</version>
Sebastian Bazley05d9a9d2016-06-05 10:31:31 +0000476 <configuration>
477 <includes>
478 <include>**/PerformanceTest.java</include>
479 </includes>
480 </configuration>
481 </plugin>
Chas Hontonc0e9f322015-07-18 04:24:48 +0000482 </plugins>
483 </build>
Sebastian Bazley25c211f2016-06-05 12:46:59 +0000484 </profile>
485
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000486 <!-- Profile to build and run the benchmarks. Use 'mvn test -Pbenchmark', and add '-Dbenchmark=foo' to run only the foo benchmark -->
487 <profile>
488 <id>benchmark</id>
Sebastian Bazley25c211f2016-06-05 12:46:59 +0000489
Sebastian Bazleybb668dd2016-06-22 09:03:29 +0000490 <properties>
491 <skipTests>true</skipTests>
492 <benchmark>org.apache</benchmark>
Gary D. Gregoryf5b247a2017-08-25 16:28:24 +0000493 <jmh.version>1.19</jmh.version>
Sebastian Bazleybb668dd2016-06-22 09:03:29 +0000494 </properties>
495
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000496 <dependencies>
497 <dependency>
498 <groupId>org.openjdk.jmh</groupId>
499 <artifactId>jmh-core</artifactId>
Sebastian Bazleybb668dd2016-06-22 09:03:29 +0000500 <version>${jmh.version}</version>
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000501 <scope>test</scope>
502 </dependency>
Sebastian Bazley25c211f2016-06-05 12:46:59 +0000503
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000504 <dependency>
505 <groupId>org.openjdk.jmh</groupId>
506 <artifactId>jmh-generator-annprocess</artifactId>
Sebastian Bazleybb668dd2016-06-22 09:03:29 +0000507 <version>${jmh.version}</version>
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000508 <scope>test</scope>
509 </dependency>
Sebastian Bazley25c211f2016-06-05 12:46:59 +0000510
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000511 <dependency>
512 <groupId>commons-io</groupId>
513 <artifactId>commons-io</artifactId>
Gary D. Gregorya485b242017-10-20 16:03:14 +0000514 <version>2.6</version>
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000515 <scope>test</scope>
516 </dependency>
Sebastian Bazley25c211f2016-06-05 12:46:59 +0000517
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000518 <dependency>
519 <groupId>org.apache.commons</groupId>
520 <artifactId>commons-collections4</artifactId>
Gary D. Gregory65a7d362016-04-26 19:08:31 +0000521 <version>4.1</version>
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000522 <scope>test</scope>
523 </dependency>
524 </dependencies>
Sebastian Bazley25c211f2016-06-05 12:46:59 +0000525
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000526 <build>
527 <plugins>
528 <!-- Enable the compilation of the benchmarks -->
529 <plugin>
530 <artifactId>maven-compiler-plugin</artifactId>
Sebastian Bazleybf5bb7d2016-06-07 17:58:55 +0000531 <version>${commons.compiler.version}</version>
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000532 <configuration combine.self="override">
533 <testIncludes>
534 <testInclude>**/*</testInclude>
535 </testIncludes>
536 </configuration>
537 </plugin>
Sebastian Bazley25c211f2016-06-05 12:46:59 +0000538
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000539 <!-- Hook the benchmarks to the test phase -->
540 <plugin>
541 <groupId>org.codehaus.mojo</groupId>
542 <artifactId>exec-maven-plugin</artifactId>
Gary D. Gregory6ab97822017-08-25 16:24:05 +0000543 <version>1.6.0</version>
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000544 <executions>
545 <execution>
546 <id>benchmark</id>
547 <phase>test</phase>
548 <goals>
549 <goal>exec</goal>
550 </goals>
551 <configuration>
552 <classpathScope>test</classpathScope>
553 <executable>java</executable>
554 <arguments>
555 <argument>-classpath</argument>
Chas Honton7d39e202015-08-10 00:10:55 +0000556 <classpath />
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000557 <argument>org.openjdk.jmh.Main</argument>
558 <argument>-rf</argument>
559 <argument>json</argument>
560 <argument>-rff</argument>
561 <argument>target/jmh-result.json</argument>
562 <argument>${benchmark}</argument>
563 </arguments>
564 </configuration>
565 </execution>
566 </executions>
567 </plugin>
568 </plugins>
569 </build>
570 </profile>
Benedikt Ritter3643e772016-06-07 18:31:37 +0000571
572 <profile>
573 <id>jdk8-javadoc</id>
574 <activation>
575 <jdk>[1.8,)</jdk>
576 </activation>
577 <properties>
578 <additionalparam>-Xdoclint:none</additionalparam>
579 </properties>
580 </profile>
Gary D. Gregoryf141d822014-09-30 14:35:41 +0000581 </profiles>
Emmanuel Bourg1d511d52014-12-18 23:48:27 +0000582
Torsten Curdt555a09f2006-06-26 10:19:54 +0000583</project>