Torsten Curdt | 57f4791 | 2006-06-20 02:56:49 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Sebastian Bazley | 4c91ab1 | 2010-05-25 00:36:19 +0000 | [diff] [blame] | 2 | <!-- |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 3 | * 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 Bazley | 4c91ab1 | 2010-05-25 00:36:19 +0000 | [diff] [blame] | 19 | --> |
Gary D. Gregory | d684032 | 2016-06-21 19:48:12 +0000 | [diff] [blame] | 20 | <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 Curdt | 57f4791 | 2006-06-20 02:56:49 +0000 | [diff] [blame] | 24 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 25 | <modelVersion>4.0.0</modelVersion> |
Torsten Curdt | 57f4791 | 2006-06-20 02:56:49 +0000 | [diff] [blame] | 26 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 27 | <parent> |
| 28 | <groupId>org.apache.commons</groupId> |
| 29 | <artifactId>commons-parent</artifactId> |
Gary D. Gregory | 2028f6f | 2017-08-25 16:11:40 +0000 | [diff] [blame] | 30 | <version>42</version> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 31 | </parent> |
Sebastian Bazley | 603aee9 | 2011-04-02 01:00:05 +0000 | [diff] [blame] | 32 | |
Benedikt Ritter | 8ddaf50 | 2016-06-07 17:13:56 +0000 | [diff] [blame] | 33 | <groupId>org.apache.bcel</groupId> |
| 34 | <artifactId>bcel</artifactId> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 35 | <packaging>jar</packaging> |
Gary D. Gregory | 9cd000c | 2017-11-30 21:37:11 +0000 | [diff] [blame] | 36 | <version>6.2</version> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 37 | <name>Apache Commons BCEL</name> |
| 38 | <description>Apache Commons Bytecode Engineering Library</description> |
Torsten Curdt | 57f4791 | 2006-06-20 02:56:49 +0000 | [diff] [blame] | 39 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 40 | <url>http://commons.apache.org/proper/commons-bcel</url> |
| 41 | <inceptionYear>2004</inceptionYear> |
Torsten Curdt | 57f4791 | 2006-06-20 02:56:49 +0000 | [diff] [blame] | 42 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 43 | <properties> |
Sebastian Bazley | 47c0e90 | 2016-06-23 21:56:18 +0000 | [diff] [blame] | 44 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 45 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
Gary D. Gregory | 90867a9 | 2015-08-13 18:58:38 +0000 | [diff] [blame] | 46 | <maven.compiler.source>1.7</maven.compiler.source> |
| 47 | <maven.compiler.target>1.7</maven.compiler.target> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 48 | <commons.componentid>bcel</commons.componentid> |
Benedikt Ritter | 789557e | 2017-09-14 19:12:57 +0000 | [diff] [blame] | 49 | <commons.module.name>org.apache.bcel</commons.module.name> |
Gary D. Gregory | 4955bae | 2017-11-30 20:48:34 +0000 | [diff] [blame] | 50 | <commons.release.version>6.2</commons.release.version> |
Gary D. Gregory | 90867a9 | 2015-08-13 18:58:38 +0000 | [diff] [blame] | 51 | <commons.release.desc>(Java 7+)</commons.release.desc> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 52 | <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 Ritter | 9774f1e | 2016-06-07 18:41:39 +0000 | [diff] [blame] | 55 | <commons.osgi.export>org.apache.bcel.*;version=${project.version};-noimport:=true</commons.osgi.export> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 56 | <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. Gregory | a4e0476 | 2017-11-27 18:38:35 +0000 | [diff] [blame] | 61 | <commons.findbugs.version>3.0.5</commons.findbugs.version> |
Gary D. Gregory | 32e6002 | 2016-06-01 04:27:18 +0000 | [diff] [blame] | 62 | <checkstyle.plugin.version>2.17</checkstyle.plugin.version> |
Gary D. Gregory | 2028f6f | 2017-08-25 16:11:40 +0000 | [diff] [blame] | 63 | <commons.clirr.version>2.8</commons.clirr.version> |
Benedikt Ritter | d10a6d7 | 2017-09-14 19:06:27 +0000 | [diff] [blame] | 64 | <jna.version>4.5.0</jna.version> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 65 | </properties> |
Sebastian Bazley | a9df93a | 2011-07-24 13:08:49 +0000 | [diff] [blame] | 66 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 67 | <!-- 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 Bazley | d3a2f62 | 2011-07-24 13:35:37 +0000 | [diff] [blame] | 75 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 76 | <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 Curdt | 57f4791 | 2006-06-20 02:56:49 +0000 | [diff] [blame] | 83 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 84 | <organization> |
| 85 | <name>The Apache Software Foundation</name> |
| 86 | <url>http://www.apache.org/</url> |
| 87 | </organization> |
Torsten Curdt | 57f4791 | 2006-06-20 02:56:49 +0000 | [diff] [blame] | 88 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 89 | <developers> |
| 90 | <developer> |
| 91 | <name>Dave Brosius</name> |
| 92 | <id>dbrosius</id> |
| 93 | <email>dbrosius at mebigfatguy.com</email> |
| 94 | </developer> |
Torsten Curdt | 57f4791 | 2006-06-20 02:56:49 +0000 | [diff] [blame] | 95 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 96 | <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 Curdt | 645828a | 2008-01-24 11:32:28 +0000 | [diff] [blame] | 104 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 105 | <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 Curdt | 645828a | 2008-01-24 11:32:28 +0000 | [diff] [blame] | 111 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 112 | <developer> |
| 113 | <name>Jason van Zyl</name> |
| 114 | <email>jason at zenplex.com</email> |
| 115 | </developer> |
Torsten Curdt | 645828a | 2008-01-24 11:32:28 +0000 | [diff] [blame] | 116 | |
Gary D. Gregory | f71e6e0 | 2014-09-30 12:08:27 +0000 | [diff] [blame] | 117 | <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. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 128 | </developers> |
Torsten Curdt | 57f4791 | 2006-06-20 02:56:49 +0000 | [diff] [blame] | 129 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 130 | <contributors> |
Torsten Curdt | 645828a | 2008-01-24 11:32:28 +0000 | [diff] [blame] | 131 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 132 | <contributor> |
| 133 | <name>Enver Haase</name> |
| 134 | <email>enver at convergence.de</email> |
| 135 | </contributor> |
Torsten Curdt | 645828a | 2008-01-24 11:32:28 +0000 | [diff] [blame] | 136 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 137 | <contributor> |
| 138 | <name>David Dixon-Peugh</name> |
| 139 | <email>dixonpeugh at yahoo.com</email> |
| 140 | </contributor> |
Torsten Curdt | 645828a | 2008-01-24 11:32:28 +0000 | [diff] [blame] | 141 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 142 | <contributor> |
| 143 | <name>Patrick Beard</name> |
| 144 | <email>beard at netscape.com</email> |
| 145 | </contributor> |
Torsten Curdt | 645828a | 2008-01-24 11:32:28 +0000 | [diff] [blame] | 146 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 147 | <contributor> |
| 148 | <name>Conor MacNeill</name> |
| 149 | <email>conor at cortexbusiness.com.au</email> |
| 150 | </contributor> |
Torsten Curdt | 645828a | 2008-01-24 11:32:28 +0000 | [diff] [blame] | 151 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 152 | <contributor> |
| 153 | <name>Costin Manolache</name> |
| 154 | <email>cmanolache at yahoo.com</email> |
| 155 | </contributor> |
Torsten Curdt | 645828a | 2008-01-24 11:32:28 +0000 | [diff] [blame] | 156 | |
Sebastian Bazley | d45a94e | 2015-08-12 10:48:29 +0000 | [diff] [blame] | 157 | <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 Ritter | 97b832f | 2016-06-18 13:33:11 +0000 | [diff] [blame] | 166 | <contributor> |
| 167 | <name>Jérôme Leroux</name> |
| 168 | </contributor> |
| 169 | |
| 170 | <contributor> |
| 171 | <name>Mark Roberts</name> |
| 172 | </contributor> |
Benedikt Ritter | c0e6c1e | 2016-09-06 06:39:00 +0000 | [diff] [blame] | 173 | |
| 174 | <contributor> |
| 175 | <name>Sam Yoon</name> |
| 176 | </contributor> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 177 | </contributors> |
Torsten Curdt | 645828a | 2008-01-24 11:32:28 +0000 | [diff] [blame] | 178 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 179 | <mailingLists> |
| 180 | <mailingList> |
| 181 | <name>BCEL User List</name> |
Emmanuel Bourg | 1cfd659 | 2014-08-25 21:43:31 +0000 | [diff] [blame] | 182 | <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. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 185 | </mailingList> |
| 186 | <mailingList> |
| 187 | <name>BCEL Developer List</name> |
| 188 | <subscribe>dev-subscribe@commons.apache.org</subscribe> |
Emmanuel Bourg | 1cfd659 | 2014-08-25 21:43:31 +0000 | [diff] [blame] | 189 | <unsubscribe>dev-unsubscribe@commons.apache.org</unsubscribe> |
| 190 | <archive>http://mail-archives.apache.org/mod_mbox/commons-dev/</archive> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 191 | </mailingList> |
| 192 | </mailingLists> |
Torsten Curdt | 57f4791 | 2006-06-20 02:56:49 +0000 | [diff] [blame] | 193 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 194 | <issueManagement> |
| 195 | <system>jira</system> |
| 196 | <url>http://issues.apache.org/jira/browse/BCEL</url> |
| 197 | </issueManagement> |
Torsten Curdt | 57f4791 | 2006-06-20 02:56:49 +0000 | [diff] [blame] | 198 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 199 | <scm> |
Sebastian Bazley | 7f07c6e | 2015-08-12 10:50:27 +0000 | [diff] [blame] | 200 | <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. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 203 | </scm> |
Torsten Curdt | 57f4791 | 2006-06-20 02:56:49 +0000 | [diff] [blame] | 204 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 205 | <build> |
| 206 | <plugins> |
Gary D. Gregory | 047f53f | 2016-06-21 19:50:07 +0000 | [diff] [blame] | 207 | <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. Gregory | d684032 | 2016-06-21 19:48:12 +0000 | [diff] [blame] | 225 | <!-- 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. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 234 | <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 Ritter | 789557e | 2017-09-14 19:12:57 +0000 | [diff] [blame] | 244 | <!-- 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. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 252 | </plugin> |
| 253 | <plugin> |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 254 | <artifactId>maven-compiler-plugin</artifactId> |
| 255 | <configuration> |
| 256 | <testExcludes> |
| 257 | <testExclude>**/*Benchmark*</testExclude> |
| 258 | </testExcludes> |
| 259 | </configuration> |
| 260 | </plugin> |
| 261 | <plugin> |
Benedikt Ritter | 744619b | 2016-06-20 18:52:48 +0000 | [diff] [blame] | 262 | <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 Brosius | 15d015a | 2016-06-19 16:10:00 +0000 | [diff] [blame] | 272 | </plugin> |
| 273 | <plugin> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 274 | <artifactId>maven-surefire-plugin</artifactId> |
| 275 | <configuration> |
Sebastian Bazley | 5627e45 | 2015-08-26 14:52:09 +0000 | [diff] [blame] | 276 | <systemProperties> |
| 277 | <property> |
Gary D. Gregory | d684032 | 2016-06-21 19:48:12 +0000 | [diff] [blame] | 278 | <!-- Suppress the stats, but keep the test as it exercises the code --> |
| 279 | <name>PerformanceTest.report</name> |
| 280 | <value>false</value> |
Sebastian Bazley | 5627e45 | 2015-08-26 14:52:09 +0000 | [diff] [blame] | 281 | </property> |
| 282 | </systemProperties> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 283 | <includes> |
| 284 | <include>**/*TestCase.java</include> |
Chas Honton | c0e9f32 | 2015-07-18 04:24:48 +0000 | [diff] [blame] | 285 | <include>**/PerformanceTest.java</include> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 286 | </includes> |
| 287 | <excludes> |
| 288 | <exclude>**/Abstract*</exclude> |
Sebastian Bazley | 5627e45 | 2015-08-26 14:52:09 +0000 | [diff] [blame] | 289 | <!-- Takes rather a long time (especially rt.jar) ; only needs to be done occasionally --> |
| 290 | <exclude>**/JDKClassDumpTestCase.java</exclude> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 291 | </excludes> |
| 292 | </configuration> |
| 293 | </plugin> |
| 294 | <plugin> |
| 295 | <artifactId>maven-assembly-plugin</artifactId> |
| 296 | <configuration> |
Sebastian Bazley | 17e1eca | 2015-08-17 23:37:44 +0000 | [diff] [blame] | 297 | <!-- 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. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 302 | <tarLongFileMode>gnu</tarLongFileMode> |
| 303 | </configuration> |
| 304 | </plugin> |
| 305 | <plugin> |
| 306 | <groupId>org.apache.maven.plugins</groupId> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 307 | <artifactId>maven-scm-publish-plugin</artifactId> |
| 308 | <configuration> |
| 309 | <ignorePathsToDelete> |
| 310 | <ignorePathToDelete>javadocs</ignorePathToDelete> |
| 311 | </ignorePathsToDelete> |
| 312 | </configuration> |
| 313 | </plugin> |
Sebastian Bazley | 6a8a186 | 2015-08-20 14:42:36 +0000 | [diff] [blame] | 314 | <plugin> |
| 315 | <groupId>org.apache.maven.plugins</groupId> |
| 316 | <artifactId>maven-checkstyle-plugin</artifactId> |
Sebastian Bazley | 35ec2c8 | 2015-08-20 22:57:32 +0000 | [diff] [blame] | 317 | <version>${checkstyle.plugin.version}</version> |
Sebastian Bazley | 6a8a186 | 2015-08-20 14:42:36 +0000 | [diff] [blame] | 318 | <configuration> |
Benedikt Ritter | 2f3ce1d | 2016-06-19 17:34:23 +0000 | [diff] [blame] | 319 | <configLocation>${basedir}/src/conf/checkstyle.xml</configLocation> |
Sebastian Bazley | 35ec2c8 | 2015-08-20 22:57:32 +0000 | [diff] [blame] | 320 | <!-- Needed to define config_loc --> |
Sebastian Bazley | 865b3d5 | 2015-08-21 11:46:01 +0000 | [diff] [blame] | 321 | <propertyExpansion>config_loc=${basedir}</propertyExpansion> |
Sebastian Bazley | 6a8a186 | 2015-08-20 14:42:36 +0000 | [diff] [blame] | 322 | <enableRulesSummary>false</enableRulesSummary> |
| 323 | </configuration> |
| 324 | </plugin> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 325 | </plugins> |
| 326 | </build> |
Torsten Curdt | 57f4791 | 2006-06-20 02:56:49 +0000 | [diff] [blame] | 327 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 328 | <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. Gregory | d1fdb9a | 2014-06-06 03:03:30 +0000 | [diff] [blame] | 348 | <groupId>org.apache.maven.plugins</groupId> |
| 349 | <artifactId>maven-checkstyle-plugin</artifactId> |
Sebastian Bazley | 35ec2c8 | 2015-08-20 22:57:32 +0000 | [diff] [blame] | 350 | <version>${checkstyle.plugin.version}</version> |
Gary D. Gregory | d1fdb9a | 2014-06-06 03:03:30 +0000 | [diff] [blame] | 351 | <configuration> |
Benedikt Ritter | 2f3ce1d | 2016-06-19 17:34:23 +0000 | [diff] [blame] | 352 | <configLocation>${basedir}/src/conf/checkstyle.xml</configLocation> |
Sebastian Bazley | 35ec2c8 | 2015-08-20 22:57:32 +0000 | [diff] [blame] | 353 | <!-- Needed to define config_loc --> |
Sebastian Bazley | 865b3d5 | 2015-08-21 11:46:01 +0000 | [diff] [blame] | 354 | <propertyExpansion>config_loc=${basedir}</propertyExpansion> |
Gary D. Gregory | d1fdb9a | 2014-06-06 03:03:30 +0000 | [diff] [blame] | 355 | <enableRulesSummary>false</enableRulesSummary> |
Gary D. Gregory | d1fdb9a | 2014-06-06 03:03:30 +0000 | [diff] [blame] | 356 | </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. Gregory | 7ae868b | 2017-08-25 16:17:51 +0000 | [diff] [blame] | 369 | <version>3.8</version> |
Gary D. Gregory | d1fdb9a | 2014-06-06 03:03:30 +0000 | [diff] [blame] | 370 | <configuration> |
| 371 | <targetJdk>${maven.compiler.target}</targetJdk> |
| 372 | <linkXref>true</linkXref> |
| 373 | <rulesets> |
Benedikt Ritter | 349f502 | 2016-06-19 17:27:01 +0000 | [diff] [blame] | 374 | <ruleset>${basedir}/src/conf/pmd.xml</ruleset> |
Gary D. Gregory | d1fdb9a | 2014-06-06 03:03:30 +0000 | [diff] [blame] | 375 | </rulesets> |
| 376 | </configuration> |
| 377 | </plugin> |
| 378 | <plugin> |
| 379 | <groupId>org.codehaus.mojo</groupId> |
| 380 | <artifactId>findbugs-maven-plugin</artifactId> |
Gary D. Gregory | c8224b1 | 2016-04-26 19:14:43 +0000 | [diff] [blame] | 381 | <version>${commons.findbugs.version}</version> |
Emmanuel Bourg | 2d421fb | 2014-09-26 20:08:23 +0000 | [diff] [blame] | 382 | <configuration> |
Sebastian Bazley | 7cb8a8d | 2015-08-21 14:03:55 +0000 | [diff] [blame] | 383 | <threshold>Normal</threshold> |
| 384 | <effort>Default</effort> |
Benedikt Ritter | 349f502 | 2016-06-19 17:27:01 +0000 | [diff] [blame] | 385 | <excludeFilterFile>${basedir}/src/conf/findbugs-exclude-filter.xml</excludeFilterFile> |
Emmanuel Bourg | 2d421fb | 2014-09-26 20:08:23 +0000 | [diff] [blame] | 386 | <fork>true</fork> |
| 387 | <jvmArgs>-Duser.language=en</jvmArgs> |
| 388 | </configuration> |
Gary D. Gregory | d1fdb9a | 2014-06-06 03:03:30 +0000 | [diff] [blame] | 389 | </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. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 403 | <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 Curdt | 645828a | 2008-01-24 11:32:28 +0000 | [diff] [blame] | 422 | |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 423 | <dependencies> |
| 424 | <dependency> |
| 425 | <groupId>junit</groupId> |
| 426 | <artifactId>junit</artifactId> |
Sebastian Bazley | a657162 | 2015-01-16 23:34:24 +0000 | [diff] [blame] | 427 | <version>4.12</version> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 428 | <scope>test</scope> |
| 429 | </dependency> |
Gary D. Gregory | 35b06e0 | 2016-06-21 22:34:33 +0000 | [diff] [blame] | 430 | <dependency> |
| 431 | <groupId>net.java.dev.jna</groupId> |
| 432 | <artifactId>jna</artifactId> |
Gary D. Gregory | 3d4bdf9 | 2017-08-25 16:14:56 +0000 | [diff] [blame] | 433 | <version>${jna.version}</version> |
Gary D. Gregory | 35b06e0 | 2016-06-21 22:34:33 +0000 | [diff] [blame] | 434 | <scope>test</scope> |
| 435 | </dependency> |
| 436 | <dependency> |
| 437 | <groupId>net.java.dev.jna</groupId> |
| 438 | <artifactId>jna-platform</artifactId> |
Gary D. Gregory | 3d4bdf9 | 2017-08-25 16:14:56 +0000 | [diff] [blame] | 439 | <version>${jna.version}</version> |
Gary D. Gregory | 35b06e0 | 2016-06-21 22:34:33 +0000 | [diff] [blame] | 440 | <scope>test</scope> |
| 441 | </dependency> |
| 442 | <dependency> |
| 443 | <groupId>org.apache.commons</groupId> |
| 444 | <artifactId>commons-lang3</artifactId> |
Gary D. Gregory | 26eea5b | 2017-11-27 18:36:49 +0000 | [diff] [blame] | 445 | <version>3.7</version> |
Gary D. Gregory | 35b06e0 | 2016-06-21 22:34:33 +0000 | [diff] [blame] | 446 | <scope>test</scope> |
| 447 | </dependency> |
Gary D. Gregory | 6715e7e | 2014-06-06 02:45:03 +0000 | [diff] [blame] | 448 | </dependencies> |
Torsten Curdt | 645828a | 2008-01-24 11:32:28 +0000 | [diff] [blame] | 449 | |
Gary D. Gregory | f141d82 | 2014-09-30 14:35:41 +0000 | [diff] [blame] | 450 | <profiles> |
Sebastian Bazley | 25c211f | 2016-06-05 12:46:59 +0000 | [diff] [blame] | 451 | <!-- |
Sebastian Bazley | ed0519f | 2016-06-05 10:56:14 +0000 | [diff] [blame] | 452 | 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. Gregory | d684032 | 2016-06-21 19:48:12 +0000 | [diff] [blame] | 459 | <property> |
| 460 | <name>!clirr.allDifferences</name> |
| 461 | </property> |
Sebastian Bazley | ed0519f | 2016-06-05 10:56:14 +0000 | [diff] [blame] | 462 | </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 Ritter | 2f3ce1d | 2016-06-19 17:34:23 +0000 | [diff] [blame] | 465 | <clirr.ignoredDifferencesFile>${basedir}/src/conf/clirr-ignored-diffs.xml</clirr.ignoredDifferencesFile> |
Sebastian Bazley | ed0519f | 2016-06-05 10:56:14 +0000 | [diff] [blame] | 466 | </properties> |
| 467 | </profile> |
Chas Honton | c0e9f32 | 2015-07-18 04:24:48 +0000 | [diff] [blame] | 468 | <!-- Profile to build and run PerformanceTest. Use 'mvn test -Pjdk-rt' --> |
Sebastian Bazley | 25c211f | 2016-06-05 12:46:59 +0000 | [diff] [blame] | 469 | <profile> |
| 470 | <id>jdk-rt</id> |
| 471 | <build> |
Chas Honton | c0e9f32 | 2015-07-18 04:24:48 +0000 | [diff] [blame] | 472 | <plugins> |
Sebastian Bazley | 05d9a9d | 2016-06-05 10:31:31 +0000 | [diff] [blame] | 473 | <plugin> |
| 474 | <artifactId>maven-surefire-plugin</artifactId> |
Sebastian Bazley | bf5bb7d | 2016-06-07 17:58:55 +0000 | [diff] [blame] | 475 | <version>${commons.surefire.version}</version> |
Sebastian Bazley | 05d9a9d | 2016-06-05 10:31:31 +0000 | [diff] [blame] | 476 | <configuration> |
| 477 | <includes> |
| 478 | <include>**/PerformanceTest.java</include> |
| 479 | </includes> |
| 480 | </configuration> |
| 481 | </plugin> |
Chas Honton | c0e9f32 | 2015-07-18 04:24:48 +0000 | [diff] [blame] | 482 | </plugins> |
| 483 | </build> |
Sebastian Bazley | 25c211f | 2016-06-05 12:46:59 +0000 | [diff] [blame] | 484 | </profile> |
| 485 | |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 486 | <!-- 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 Bazley | 25c211f | 2016-06-05 12:46:59 +0000 | [diff] [blame] | 489 | |
Sebastian Bazley | bb668dd | 2016-06-22 09:03:29 +0000 | [diff] [blame] | 490 | <properties> |
| 491 | <skipTests>true</skipTests> |
| 492 | <benchmark>org.apache</benchmark> |
Gary D. Gregory | f5b247a | 2017-08-25 16:28:24 +0000 | [diff] [blame] | 493 | <jmh.version>1.19</jmh.version> |
Sebastian Bazley | bb668dd | 2016-06-22 09:03:29 +0000 | [diff] [blame] | 494 | </properties> |
| 495 | |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 496 | <dependencies> |
| 497 | <dependency> |
| 498 | <groupId>org.openjdk.jmh</groupId> |
| 499 | <artifactId>jmh-core</artifactId> |
Sebastian Bazley | bb668dd | 2016-06-22 09:03:29 +0000 | [diff] [blame] | 500 | <version>${jmh.version}</version> |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 501 | <scope>test</scope> |
| 502 | </dependency> |
Sebastian Bazley | 25c211f | 2016-06-05 12:46:59 +0000 | [diff] [blame] | 503 | |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 504 | <dependency> |
| 505 | <groupId>org.openjdk.jmh</groupId> |
| 506 | <artifactId>jmh-generator-annprocess</artifactId> |
Sebastian Bazley | bb668dd | 2016-06-22 09:03:29 +0000 | [diff] [blame] | 507 | <version>${jmh.version}</version> |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 508 | <scope>test</scope> |
| 509 | </dependency> |
Sebastian Bazley | 25c211f | 2016-06-05 12:46:59 +0000 | [diff] [blame] | 510 | |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 511 | <dependency> |
| 512 | <groupId>commons-io</groupId> |
| 513 | <artifactId>commons-io</artifactId> |
Gary D. Gregory | a485b24 | 2017-10-20 16:03:14 +0000 | [diff] [blame] | 514 | <version>2.6</version> |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 515 | <scope>test</scope> |
| 516 | </dependency> |
Sebastian Bazley | 25c211f | 2016-06-05 12:46:59 +0000 | [diff] [blame] | 517 | |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 518 | <dependency> |
| 519 | <groupId>org.apache.commons</groupId> |
| 520 | <artifactId>commons-collections4</artifactId> |
Gary D. Gregory | 65a7d36 | 2016-04-26 19:08:31 +0000 | [diff] [blame] | 521 | <version>4.1</version> |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 522 | <scope>test</scope> |
| 523 | </dependency> |
| 524 | </dependencies> |
Sebastian Bazley | 25c211f | 2016-06-05 12:46:59 +0000 | [diff] [blame] | 525 | |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 526 | <build> |
| 527 | <plugins> |
| 528 | <!-- Enable the compilation of the benchmarks --> |
| 529 | <plugin> |
| 530 | <artifactId>maven-compiler-plugin</artifactId> |
Sebastian Bazley | bf5bb7d | 2016-06-07 17:58:55 +0000 | [diff] [blame] | 531 | <version>${commons.compiler.version}</version> |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 532 | <configuration combine.self="override"> |
| 533 | <testIncludes> |
| 534 | <testInclude>**/*</testInclude> |
| 535 | </testIncludes> |
| 536 | </configuration> |
| 537 | </plugin> |
Sebastian Bazley | 25c211f | 2016-06-05 12:46:59 +0000 | [diff] [blame] | 538 | |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 539 | <!-- Hook the benchmarks to the test phase --> |
| 540 | <plugin> |
| 541 | <groupId>org.codehaus.mojo</groupId> |
| 542 | <artifactId>exec-maven-plugin</artifactId> |
Gary D. Gregory | 6ab9782 | 2017-08-25 16:24:05 +0000 | [diff] [blame] | 543 | <version>1.6.0</version> |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 544 | <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 Honton | 7d39e20 | 2015-08-10 00:10:55 +0000 | [diff] [blame] | 556 | <classpath /> |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 557 | <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 Ritter | 3643e77 | 2016-06-07 18:31:37 +0000 | [diff] [blame] | 571 | |
| 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. Gregory | f141d82 | 2014-09-30 14:35:41 +0000 | [diff] [blame] | 581 | </profiles> |
Emmanuel Bourg | 1d511d5 | 2014-12-18 23:48:27 +0000 | [diff] [blame] | 582 | |
Torsten Curdt | 555a09f | 2006-06-26 10:19:54 +0000 | [diff] [blame] | 583 | </project> |