| <?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> |
| <packaging>jar</packaging> |
| |
| <name>core</name> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-vfs</artifactId> |
| <version>1.0-RC8-SNAPSHOT</version> |
| <description>VFS is a Virtual File System library.</description> |
| |
| <parent> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-vfs-project</artifactId> |
| <version>1.0-RC8-SNAPSHOT</version> |
| </parent> |
| |
| |
| <organization> |
| <name>Apache Software Foundation</name> |
| <url>http://www.apache.org/</url> |
| </organization> |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <dependencies> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <version>1.0.4</version> |
| </dependency> |
| <dependency> |
| <groupId>ant</groupId> |
| <artifactId>ant</artifactId> |
| <version>1.6.2</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>commons-net</groupId> |
| <artifactId>commons-net</artifactId> |
| <version>1.4.1</version> |
| <optional>true</optional> |
| </dependency> |
| <!--TODO:Revert to [compress] if/when released |
| <dependency> |
| <groupId>commons-compress</groupId> |
| <artifactId>commons-compress</artifactId> |
| <version>SNAPSHOT</version> |
| <optional>true</optional> |
| </dependency--> |
| <dependency> |
| <groupId>commons-collections</groupId> |
| <artifactId>commons-collections</artifactId> |
| <version>3.1</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>jdom</groupId> |
| <artifactId>jdom</artifactId> |
| <version>1.0</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>commons-httpclient</groupId> |
| <artifactId>commons-httpclient</artifactId> |
| <version>2.0.2</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>com.jcraft</groupId> |
| <artifactId>jsch</artifactId> |
| <version>0.1.23</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>xml-apis</groupId> |
| <artifactId>xml-apis</artifactId> |
| <version>1.0.b2</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>oro</groupId> |
| <artifactId>oro</artifactId> |
| <version>2.0.8</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/java</directory> |
| <excludes> |
| <exclude>**/*.java</exclude> |
| </excludes> |
| </resource> |
| <resource> |
| <directory>..</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>NOTICE.txt</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>..</directory> |
| <includes> |
| <include>LICENSE.txt</include> |
| </includes> |
| </resource> |
| </resources> |
| |
| <plugins> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <target>1.3</target> |
| <source>1.3</source> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>generate-test-resources</phase> |
| <configuration> |
| <tasks> |
| <echo message="Setup test-data environment" /> |
| <delete dir="${project.build.outputDirectory}/../test-data"/> |
| <copy todir="${project.build.outputDirectory}/../test-data"> |
| <fileset dir="src/test/test-data"> |
| <include name="**/*" /> |
| </fileset> |
| </copy> |
| </tasks> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <!-- surfire do not honor suite(), see MSUREFIRE-131 why our tests wont work with maven 2 --> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <systemProperties> |
| <property> |
| <name>test.basedir</name> |
| <value>target/test-data</value> |
| </property> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| |
| </build> |
| </project> |