| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-fileupload2</artifactId> |
| <version>2.0.0-SNAPSHOT</version> |
| <relativePath>../</relativePath> |
| </parent> |
| |
| <artifactId>commons-fileupload2-javax</artifactId> |
| |
| <name>Apache Commons FileUpload Javax</name> |
| <description> |
| The Apache Commons FileUpload Javax component provides a simple yet flexible means of adding support for multipart |
| file upload functionality to Javax servlets and web applications. |
| </description> |
| |
| <properties> |
| <commons.parent.dir>${basedir}/..</commons.parent.dir> |
| <commons.module.name>org.apache.commons.fileupload2.javax</commons.module.name> |
| <!-- Override properties for the OSGi maven-bundle-plugin to generate proper manifest --> |
| <commons.osgi.import>javax.servlet.*;version=${commons.servlet-api.version},*</commons.osgi.import> |
| <commons.osgi.requireCapability>osgi.contract;filter:="(&(osgi.contract=JavaServlet)(version=${commons.servlet-api.version}))"</commons.osgi.requireCapability> |
| <project.build.outputTimestamp>2024-01-01T00:00:00Z</project.build.outputTimestamp> |
| <!-- JaCoCo: Don't make code coverage worse than: --> |
| <commons.jacoco.classRatio>0.75</commons.jacoco.classRatio> |
| <commons.jacoco.instructionRatio>0.56</commons.jacoco.instructionRatio> |
| <commons.jacoco.methodRatio>0.55</commons.jacoco.methodRatio> |
| <commons.jacoco.branchRatio>0.00</commons.jacoco.branchRatio> |
| <commons.jacoco.lineRatio>0.55</commons.jacoco.lineRatio> |
| <commons.jacoco.complexityRatio>0.50</commons.jacoco.complexityRatio> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-fileupload2-core</artifactId> |
| <version>2.0.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-fileupload2-core</artifactId> |
| <version>2.0.0-SNAPSHOT</version> |
| <classifier>tests</classifier> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>${commons.servlet-api.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>${basedir}/src/main/resources</directory> |
| </resource> |
| <!-- include NOTICE/LICENSE in generated jar --> |
| <resource> |
| <directory>${commons.parent.dir}</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>NOTICE.txt</include> |
| <include>LICENSE.txt</include> |
| </includes> |
| </resource> |
| </resources> |
| |
| <testResources> |
| <testResource> |
| <directory>src/test/resources</directory> |
| </testResource> |
| <!-- include NOTICE/LICENSE in generated test jar --> |
| <testResource> |
| <directory>${commons.parent.dir}</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>NOTICE.txt</include> |
| <include>LICENSE.txt</include> |
| </includes> |
| </testResource> |
| </testResources> |
| </build> |
| |
| </project> |