| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- |
| 3 |
Licensed to the Apache Software Foundation (ASF) under one or more |
| 4 |
contributor license agreements. See the NOTICE file distributed with |
| 5 |
this work for additional information regarding copyright ownership. |
| 6 |
The ASF licenses this file to You under the Apache License, Version 2.0 |
| 7 |
(the "License"); you may not use this file except in compliance with |
| 8 |
the License. You may obtain a copy of the License at |
| 9 |
|
| 10 |
http://www.apache.org/licenses/LICENSE-2.0 |
| 11 |
|
| 12 |
Unless required by applicable law or agreed to in writing, software |
| 13 |
distributed under the License is distributed on an "AS IS" BASIS, |
| 14 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 |
See the License for the specific language governing permissions and |
| 16 |
limitations under the License. |
| 17 |
--> |
| 18 |
<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/maven-v4_0_0.xsd"> |
| 19 |
<modelVersion>4.0.0</modelVersion> |
| 20 |
|
| 21 |
<parent> |
| 22 |
<groupId>org.apache.commons</groupId> |
| 23 |
<artifactId>commons-parent</artifactId> |
| 24 |
<version>56</version> |
| 25 |
</parent> |
| 26 |
|
| 27 |
<groupId>commons-fileupload</groupId> |
| 28 |
<artifactId>commons-fileupload</artifactId> |
| 29 |
<version>1.5-SNAPSHOT</version> |
| 30 |
|
| 31 |
<name>Apache Commons FileUpload</name> |
| 32 |
<description> |
| 33 |
The Apache Commons FileUpload component provides a simple yet flexible means of adding support for multipart |
| 34 |
file upload functionality to servlets and web applications. |
| 35 |
</description> |
| 36 |
<url>https://commons.apache.org/proper/commons-fileupload/</url> |
| 37 |
<inceptionYear>2002</inceptionYear> |
| 38 |
|
| 39 |
<developers> |
| 40 |
<developer> |
| 41 |
<name>Martin Cooper</name> |
| 42 |
<id>martinc</id> |
| 43 |
<email>[email protected]</email> |
| 44 |
<organization>Yahoo!</organization> |
| 45 |
</developer> |
| 46 |
<developer> |
| 47 |
<name>dIon Gillard</name> |
| 48 |
<id>dion</id> |
| 49 |
<email>[email protected]</email> |
| 50 |
<organization>Multitask Consulting</organization> |
| 51 |
</developer> |
| 52 |
<developer> |
| 53 |
<name>John McNally</name> |
| 54 |
<id>jmcnally</id> |
| 55 |
<email>[email protected]</email> |
| 56 |
<organization>CollabNet</organization> |
| 57 |
</developer> |
| 58 |
<developer> |
| 59 |
<name>Daniel Rall</name> |
| 60 |
<id>dlr</id> |
| 61 |
<email>[email protected]</email> |
| 62 |
<organization>CollabNet</organization> |
| 63 |
</developer> |
| 64 |
<developer> |
| 65 |
<name>Jason van Zyl</name> |
| 66 |
<id>jvanzyl</id> |
| 67 |
<email>[email protected]</email> |
| 68 |
<organization>Zenplex</organization> |
| 69 |
</developer> |
| 70 |
<developer> |
| 71 |
<name>Robert Burrell Donkin</name> |
| 72 |
<id>rdonkin</id> |
| 73 |
<email>[email protected]</email> |
| 74 |
<organization /> |
| 75 |
</developer> |
| 76 |
<developer> |
| 77 |
<name>Sean C. Sullivan</name> |
| 78 |
<id>sullis</id> |
| 79 |
<email>sean |at| seansullivan |dot| com</email> |
| 80 |
<organization /> |
| 81 |
</developer> |
| 82 |
<developer> |
| 83 |
<name>Jochen Wiedmann</name> |
| 84 |
<id>jochen</id> |
| 85 |
<email>[email protected]</email> |
| 86 |
<organization /> |
| 87 |
</developer> |
| 88 |
<developer> |
| 89 |
<name>Simone Tripodi</name> |
| 90 |
<id>simonetripodi</id> |
| 91 |
<email>[email protected]</email> |
| 92 |
<organization>Adobe</organization> |
| 93 |
</developer> |
| 94 |
<developer> |
| 95 |
<name>Gary Gregory</name> |
| 96 |
<id>ggregory</id> |
| 97 |
<email>[email protected]</email> |
| 98 |
<organization /> |
| 99 |
</developer> |
| 100 |
<developer> |
| 101 |
<name>Rob Tompkins</name> |
| 102 |
<id>chtompki</id> |
| 103 |
<email>[email protected]</email> |
| 104 |
</developer> |
| 105 |
</developers> |
| 106 |
|
| 107 |
<contributors> |
| 108 |
<contributor> |
| 109 |
<name>Aaron Freeman</name> |
| 110 |
<email>[email protected]</email> |
| 111 |
</contributor> |
| 112 |
<contributor> |
| 113 |
<name>Daniel Fabian</name> |
| 114 |
<email>[email protected]</email> |
| 115 |
</contributor> |
| 116 |
<contributor> |
| 117 |
<name>Jörg Heinicke</name> |
| 118 |
<email>[email protected]</email> |
| 119 |
</contributor> |
| 120 |
<contributor> |
| 121 |
<name>Stepan Koltsov</name> |
| 122 |
<email>[email protected]</email> |
| 123 |
</contributor> |
| 124 |
<contributor> |
| 125 |
<name>Michael Macaluso</name> |
| 126 |
<email>[email protected]</email> |
| 127 |
</contributor> |
| 128 |
<contributor> |
| 129 |
<name>Amichai Rothman</name> |
| 130 |
<email>[email protected]</email> |
| 131 |
</contributor> |
| 132 |
<contributor> |
| 133 |
<name>Alexander Sova</name> |
| 134 |
<email>[email protected]</email> |
| 135 |
</contributor> |
| 136 |
<contributor> |
| 137 |
<name>Paul Spurr</name> |
| 138 |
<email>[email protected]</email> |
| 139 |
</contributor> |
| 140 |
<contributor> |
| 141 |
<name>Thomas Vandahl</name> |
| 142 |
<email>[email protected]</email> |
| 143 |
</contributor> |
| 144 |
<contributor> |
| 145 |
<name>Henry Yandell</name> |
| 146 |
<email>[email protected]</email> |
| 147 |
</contributor> |
| 148 |
<contributor> |
| 149 |
<name>Jan Novotný</name> |
| 150 |
<email>[email protected]</email> |
| 151 |
</contributor> |
| 152 |
<contributor> |
| 153 |
<name>frank</name> |
| 154 |
<email>[email protected]</email> |
| 155 |
</contributor> |
| 156 |
<contributor> |
| 157 |
<name>maxxedev</name> |
| 158 |
<email>[email protected]</email> |
| 159 |
</contributor> |
| 160 |
<contributor> |
| 161 |
<name>Rafal Krzewski</name> |
| 162 |
<email>[email protected]</email> |
| 163 |
</contributor> |
| 164 |
<contributor> |
| 165 |
<name>Sean Legassick</name> |
| 166 |
<email>[email protected]</email> |
| 167 |
</contributor> |
| 168 |
<contributor> |
| 169 |
<name>Oleg Kalnichevski</name> |
| 170 |
<email>[email protected]</email> |
| 171 |
</contributor> |
| 172 |
<contributor> |
| 173 |
<name>David Sean Taylor</name> |
| 174 |
<email>[email protected]</email> |
| 175 |
</contributor> |
| 176 |
<contributor> |
| 177 |
<name>fangwentong</name> |
| 178 |
<email>[email protected]</email> |
| 179 |
</contributor> |
| 180 |
</contributors> |
| 181 |
|
| 182 |
<scm> |
| 183 |
<connection>scm:git:http://gitbox.apache.org/repos/asf/commons-fileupload.git</connection> |
| 184 |
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-fileupload.git</developerConnection> |
| 185 |
<url>https://gitbox.apache.org/repos/asf?p=commons-fileupload.git</url> |
| 186 |
</scm> |
| 187 |
<issueManagement> |
| 188 |
<system>jira</system> |
| 189 |
<url>https://issues.apache.org/jira/browse/FILEUPLOAD</url> |
| 190 |
</issueManagement> |
| 191 |
|
| 192 |
<distributionManagement> |
| 193 |
<site> |
| 194 |
<id>apache.website</id> |
| 195 |
<name>Apache Commons Site</name> |
| 196 |
<url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-fileupload/</url> |
| 197 |
</site> |
| 198 |
</distributionManagement> |
| 199 |
|
| 200 |
<properties> |
| 201 |
<maven.compiler.source>1.6</maven.compiler.source> |
| 202 |
<maven.compiler.target>1.6</maven.compiler.target> |
| 203 |
<commons.componentid>fileupload</commons.componentid> |
| 204 |
<commons.module.name>org.apache.commons.fileupload</commons.module.name> |
| 205 |
<commons.release.version>1.5</commons.release.version> |
| 206 |
<commons.release.desc>(requires Java ${maven.compiler.target} or later)</commons.release.desc> |
| 207 |
<commons.jira.id>FILEUPLOAD</commons.jira.id> |
| 208 |
<commons.jira.pid>12310476</commons.jira.pid> |
| 209 |
<commons.site.path>fileupload</commons.site.path> |
| 210 |
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-fileupload</commons.scmPubUrl> |
| 211 |
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory> |
| 212 |
<commons.osgi.export>!org.apache.commons.fileupload.util.mime,org.apache.commons.*;version=${project.version};-noimport:=true</commons.osgi.export> |
| 213 |
<commons.osgi.import>!javax.portlet,*</commons.osgi.import> |
| 214 |
<commons.osgi.dynamicImport>javax.portlet</commons.osgi.dynamicImport> |
| 215 |
<japicmp.skip>false</japicmp.skip> |
| 216 |
|
| 217 |
<!-- Commons Release Plugin --> |
| 218 |
<commons.bc.version>1.4</commons.bc.version> |
| 219 |
<commons.rc.version>RC1</commons.rc.version> |
| 220 |
<commons.release.isDistModule>true</commons.release.isDistModule> |
| 221 |
<commons.distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}</commons.distSvnStagingUrl> |
| 222 |
<commons.releaseManagerName>Rob Tompkins</commons.releaseManagerName> |
| 223 |
<commons.releaseManagerKey>B6E73D84EA4FCC47166087253FAAD2CD5ECBB314</commons.releaseManagerKey> |
| 224 |
</properties> |
| 225 |
|
| 226 |
<dependencies> |
| 227 |
<dependency> |
| 228 |
<groupId>junit</groupId> |
| 229 |
<artifactId>junit</artifactId> |
| 230 |
<version>4.13.2</version> |
| 231 |
<scope>test</scope> |
| 232 |
</dependency> |
| 233 |
<dependency> |
| 234 |
<groupId>javax.servlet</groupId> |
| 235 |
<artifactId>servlet-api</artifactId> |
| 236 |
<version>2.4</version> |
| 237 |
<scope>provided</scope> |
| 238 |
</dependency> |
| 239 |
<dependency> |
| 240 |
<groupId>portlet-api</groupId> |
| 241 |
<artifactId>portlet-api</artifactId> |
| 242 |
<version>1.0</version> |
| 243 |
<scope>provided</scope> |
| 244 |
</dependency> |
| 245 |
<dependency> |
| 246 |
<groupId>commons-io</groupId> |
| 247 |
<artifactId>commons-io</artifactId> |
| 248 |
<version>2.11.0</version> |
| 249 |
</dependency> |
| 250 |
</dependencies> |
| 251 |
|
| 252 |
<build> |
| 253 |
<plugins> |
| 254 |
<plugin> |
| 255 |
<groupId>org.apache.maven.plugins</groupId> |
| 256 |
<artifactId>maven-checkstyle-plugin</artifactId> |
| 257 |
<executions> |
| 258 |
<execution> |
| 259 |
<id>validate-main</id> |
| 260 |
<phase>validate</phase> |
| 261 |
<configuration> |
| 262 |
<configLocation>${basedir}/src/checkstyle/fileupload_checks.xml</configLocation> |
| 263 |
<suppressionsLocation>${basedir}/src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation> |
| 264 |
<includeTestSourceDirectory>false</includeTestSourceDirectory> |
| 265 |
<enableRulesSummary>false</enableRulesSummary> |
| 266 |
<consoleOutput>true</consoleOutput> |
| 267 |
<failsOnError>true</failsOnError> |
| 268 |
<linkXRef>false</linkXRef> |
| 269 |
</configuration> |
| 270 |
<goals> |
| 271 |
<goal>checkstyle</goal> |
| 272 |
</goals> |
| 273 |
</execution> |
| 274 |
</executions> |
| 275 |
</plugin> |
| 276 |
<plugin> |
| 277 |
<artifactId>maven-assembly-plugin</artifactId> |
| 278 |
<configuration> |
| 279 |
<descriptors> |
| 280 |
<descriptor>${basedir}/src/main/assembly/bin.xml</descriptor> |
| 281 |
<descriptor>${basedir}/src/main/assembly/src.xml</descriptor> |
| 282 |
</descriptors> |
| 283 |
<tarLongFileMode>gnu</tarLongFileMode> |
| 284 |
</configuration> |
| 285 |
</plugin> |
| 286 |
</plugins> |
| 287 |
<pluginManagement> |
| 288 |
<plugins> |
| 289 |
<plugin> |
| 290 |
<groupId>org.apache.rat</groupId> |
| 291 |
<artifactId>apache-rat-plugin</artifactId> |
| 292 |
<configuration> |
| 293 |
<excludes> |
| 294 |
<exclude>site-content/**</exclude> |
| 295 |
<exclude>src/site/resources/download_lang.cgi</exclude> |
| 296 |
<exclude>src/checkstyle/license-header.txt</exclude> |
| 297 |
</excludes> |
| 298 |
</configuration> |
| 299 |
</plugin> |
| 300 |
<plugin> |
| 301 |
<groupId>com.github.siom79.japicmp</groupId> |
| 302 |
<artifactId>japicmp-maven-plugin</artifactId> |
| 303 |
</plugin> |
| 304 |
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| 305 |
<plugin> |
| 306 |
<groupId>org.eclipse.m2e</groupId> |
| 307 |
<artifactId>lifecycle-mapping</artifactId> |
| 308 |
<version>1.0.0</version> |
| 309 |
<configuration> |
| 310 |
<lifecycleMappingMetadata> |
| 311 |
<pluginExecutions> |
| 312 |
<pluginExecution> |
| 313 |
<pluginExecutionFilter> |
| 314 |
<groupId>org.apache.maven.plugins</groupId> |
| 315 |
<artifactId>maven-antrun-plugin</artifactId> |
| 316 |
<versionRange>[1.8,)</versionRange> |
| 317 |
<goals> |
| 318 |
<goal>run</goal> |
| 319 |
</goals> |
| 320 |
</pluginExecutionFilter> |
| 321 |
<action> |
| 322 |
<execute /> |
| 323 |
</action> |
| 324 |
</pluginExecution> |
| 325 |
<pluginExecution> |
| 326 |
<pluginExecutionFilter> |
| 327 |
<groupId>org.codehaus.mojo</groupId> |
| 328 |
<artifactId>build-helper-maven-plugin</artifactId> |
| 329 |
<versionRange>[1.10,)</versionRange> |
| 330 |
<goals> |
| 331 |
<goal>parse-version</goal> |
| 332 |
</goals> |
| 333 |
</pluginExecutionFilter> |
| 334 |
<action> |
| 335 |
<execute /> |
| 336 |
</action> |
| 337 |
</pluginExecution> |
| 338 |
</pluginExecutions> |
| 339 |
</lifecycleMappingMetadata> |
| 340 |
</configuration> |
| 341 |
</plugin> |
| 342 |
<plugin> |
| 343 |
<groupId>org.apache.maven.plugins</groupId> |
| 344 |
<artifactId>maven-checkstyle-plugin</artifactId> |
| 345 |
<configuration> |
| 346 |
<configLocation>${basedir}/src/checkstyle/fileupload_checks.xml</configLocation> |
| 347 |
<suppressionsLocation>${basedir}/src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation> |
| 348 |
<includeTestSourceDirectory>false</includeTestSourceDirectory> |
| 349 |
<enableRulesSummary>false</enableRulesSummary> |
| 350 |
</configuration> |
| 351 |
</plugin> |
| 352 |
</plugins> |
| 353 |
</pluginManagement> |
| 354 |
</build> |
| 355 |
|
| 356 |
<reporting> |
| 357 |
<plugins> |
| 358 |
<plugin> |
| 359 |
<groupId>org.apache.maven.plugins</groupId> |
| 360 |
<artifactId>maven-changes-plugin</artifactId> |
| 361 |
<version>${commons.changes.version}</version> |
| 362 |
<configuration> |
| 363 |
<issueLinkTemplate>%URL%/../%ISSUE%</issueLinkTemplate> |
| 364 |
</configuration> |
| 365 |
<reportSets> |
| 366 |
<reportSet> |
| 367 |
<reports> |
| 368 |
<report>changes-report</report> |
| 369 |
<!-- NPE, retry from time to time <report>jira-report</report> --> |
| 370 |
</reports> |
| 371 |
</reportSet> |
| 372 |
</reportSets> |
| 373 |
</plugin> |
| 374 |
<plugin> |
| 375 |
<groupId>org.apache.maven.plugins</groupId> |
| 376 |
<artifactId>maven-checkstyle-plugin</artifactId> |
| 377 |
<configuration> |
| 378 |
<configLocation>${basedir}/src/checkstyle/fileupload_checks.xml</configLocation> |
| 379 |
<suppressionsLocation>${basedir}/src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation> |
| 380 |
<includeTestSourceDirectory>false</includeTestSourceDirectory> |
| 381 |
<enableRulesSummary>false</enableRulesSummary> |
| 382 |
</configuration> |
| 383 |
</plugin> |
| 384 |
<plugin> |
| 385 |
<groupId>com.github.siom79.japicmp</groupId> |
| 386 |
<artifactId>japicmp-maven-plugin</artifactId> |
| 387 |
</plugin> |
| 388 |
<plugin> |
| 389 |
<groupId>org.apache.maven.plugins</groupId> |
| 390 |
<artifactId>maven-pmd-plugin</artifactId> |
| 391 |
<configuration> |
| 392 |
<targetJdk>${maven.compiler.target}</targetJdk> |
| 393 |
<rulesets> |
| 394 |
<ruleset>${basedir}/src/checkstyle/fileupload_basic.xml</ruleset> |
| 395 |
</rulesets> |
| 396 |
</configuration> |
| 397 |
</plugin> |
| 398 |
</plugins> |
| 399 |
</reporting> |
| 400 |
|
| 401 |
<profiles> |
| 402 |
<profile> |
| 403 |
<id>setup-checkout</id> |
| 404 |
<activation> |
| 405 |
<file> |
| 406 |
<missing>site-content</missing> |
| 407 |
</file> |
| 408 |
</activation> |
| 409 |
<build> |
| 410 |
<plugins> |
| 411 |
<plugin> |
| 412 |
<groupId>org.apache.maven.plugins</groupId> |
| 413 |
<artifactId>maven-antrun-plugin</artifactId> |
| 414 |
<executions> |
| 415 |
<execution> |
| 416 |
<id>prepare-checkout</id> |
| 417 |
<phase>pre-site</phase> |
| 418 |
<goals> |
| 419 |
<goal>run</goal> |
| 420 |
</goals> |
| 421 |
<configuration> |
| 422 |
<target> |
| 423 |
<exec executable="svn"> |
| 424 |
<arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" /> |
| 425 |
</exec> |
| 426 |
|
| 427 |
<exec executable="svn"> |
| 428 |
<arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" /> |
| 429 |
</exec> |
| 430 |
|
| 431 |
<pathconvert pathsep=" " property="dirs"> |
| 432 |
<dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" /> |
| 433 |
</pathconvert> |
| 434 |
<exec executable="svn"> |
| 435 |
<arg line="update --set-depth infinity ${dirs}" /> |
| 436 |
</exec> |
| 437 |
</target> |
| 438 |
</configuration> |
| 439 |
</execution> |
| 440 |
</executions> |
| 441 |
</plugin> |
| 442 |
</plugins> |
| 443 |
</build> |
| 444 |
</profile> |
| 445 |
<profile> |
| 446 |
<id>java9</id> |
| 447 |
<activation> |
| 448 |
<jdk>9</jdk> |
| 449 |
</activation> |
| 450 |
<properties> |
| 451 |
<!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 --> |
| 452 |
<coveralls.skip>true</coveralls.skip> |
| 453 |
</properties> |
| 454 |
</profile> |
| 455 |
</profiles> |
| 456 |
</project> |