| <?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"> |
| <parent> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-parent</artifactId> |
| <version>32</version> |
| </parent> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-vfs2-project</artifactId> |
| <name>Apache Commons VFS</name> |
| <description>Apache Commons VFS is a Virtual File System library.</description> |
| <packaging>pom</packaging> |
| <version>2.1-SNAPSHOT</version> |
| |
| <url>http://commons.apache.org/proper/commons-vfs/</url> |
| <inceptionYear>2002</inceptionYear> |
| |
| <modules> |
| <module>core</module> |
| <module>examples</module> |
| <module>dist</module> |
| </modules> |
| |
| <issueManagement> |
| <system>jira</system> |
| <url>https://issues.apache.org/jira/browse/VFS</url> |
| </issueManagement> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/vfs/branches/POMRELEASE</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/vfs/branches/POMRELEASE</developerConnection> |
| <url>http://svn.apache.org/viewvc/commons/proper/vfs/branches/POMRELEASE/</url> |
| </scm> |
| |
| <developers> |
| <developer> |
| <name>Adam Murdoch</name> |
| <id>adammurdoch</id> |
| <email>adammurdoch -at- apache.org</email> |
| <organization /> |
| </developer> |
| <developer> |
| <name>James Strachan</name> |
| <id>jstrachan</id> |
| <email>jstrachan -at- apache.org</email> |
| <organization>SpiritSoft, Inc.</organization> |
| </developer> |
| <developer> |
| <name>Mario Ivankovits</name> |
| <id>imario</id> |
| <email>imario -at- apache.org</email> |
| <organization>OPS EDV Gmbh</organization> |
| </developer> |
| <developer> |
| <name>Rahul Akolkar</name> |
| <id>rahul</id> |
| <email>rahul -at- apache.org</email> |
| <organization>The Apache Software Foundation</organization> |
| </developer> |
| <developer> |
| <name>James Carman</name> |
| <id>jcarman</id> |
| <email>jcarman -at- apache.org</email> |
| <organization>The Apache Software Foundation</organization> |
| </developer> |
| <developer> |
| <name>Ralph Goers</name> |
| <id>rgoers</id> |
| <email>rgoers -at- apache.org</email> |
| <organization>Intuit</organization> |
| </developer> |
| <developer> |
| <name>Joerg Schaible</name> |
| <id>joehni</id> |
| <email>joehni -at- apache.org</email> |
| </developer> |
| <developer> |
| <name>Gary D. Gregory</name> |
| <id>ggregory</id> |
| <email>ggregory -at- apache.org</email> |
| <url>http://www.garygregory.com</url> |
| <timezone>-5</timezone> |
| </developer> |
| </developers> |
| |
| <contributors> |
| <contributor> |
| <name>Rami Ojares</name> |
| <email>rami.ojares -at- elisa.fi</email> |
| </contributor> |
| <contributor> |
| <name>Anthony Goubard</name> |
| <email>adagoubard -at- chello.nl</email> |
| </contributor> |
| <contributor> |
| <name>Christopher Ottley</name> |
| <email>xknight -at- users.sourceforge.net</email> |
| </contributor> |
| <contributor> |
| <name>Dave Marion</name> |
| <email>dlmarion -at- apache.org</email> |
| </contributor> |
| <contributor> |
| <name>Scott Bjerstedt</name> |
| <email>jcottbjer -at- gmail.com</email> |
| </contributor> |
| <contributor> |
| <name>Jose Juan Montiel</name> |
| <email>josejuan.montiel -at- gmail.com</email> |
| </contributor> |
| </contributors> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <commons.componentid>vfs</commons.componentid> |
| <commons.release.version>2.0</commons.release.version> |
| <!--<commons.rc.version>RC1</commons.rc.version> --> |
| <commons.binary.suffix /> |
| <commons.jira.id>VFS</commons.jira.id> |
| <commons.jira.pid>12310495</commons.jira.pid> |
| <maven.compiler.source>1.6</maven.compiler.source> |
| <maven.compiler.target>1.6</maven.compiler.target> |
| <commons.release.name>commons-vfs-${commons.release.version}</commons.release.name> |
| <vfs.parent.dir>${basedir}</vfs.parent.dir> |
| </properties> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>${basedir}/osgi</directory> |
| <targetPath>osgi</targetPath> |
| <includes> |
| <include>MANIFEST.MF</include> |
| </includes> |
| </resource> |
| </resources> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.9.1</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>vfs-jar-manifest</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <target> |
| <mkdir dir="${project.build.directory}/osgi" /> |
| <touch file="${project.build.directory}/osgi/MANIFEST.MF" /> |
| </target> |
| </configuration> |
| </execution> |
| <execution> |
| <id>javadoc.resources</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| <configuration> |
| <target> |
| <copy todir="${project.build.directory}/apidocs/META-INF"> |
| <fileset dir="${vfs.parent.dir}"> |
| <include name="LICENSE.txt" /> |
| <include name="NOTICE.txt" /> |
| </fileset> |
| </copy> |
| </target> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-build-plugin</artifactId> |
| <!-- version inherited from commons-parent --> |
| <configuration> |
| <commons.release.name>commons-${commons.componentid}-${commons.release.version}</commons.release.name> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.9.1</version> |
| <configuration> |
| <!--<propertiesLocation>${vfs.parent.dir}/checkstyle.properties</propertiesLocation> --> |
| <configLocation>${vfs.parent.dir}/checkstyle.xml</configLocation> |
| <suppressionsLocation>${vfs.parent.dir}/checkstyle-suppressions.xml</suppressionsLocation> |
| <enableRulesSummary>false</enableRulesSummary> |
| <propertyExpansion>basedir=${basedir}</propertyExpansion> |
| <propertyExpansion>licensedir=${vfs.parent.dir}/checkstyle-header.txt</propertyExpansion> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${commons.javadoc.version}</version> |
| <configuration> |
| <tags> |
| <tag> |
| <name>todo</name> |
| <!-- todo tag for all places --> |
| <placement>a</placement> |
| <head>To Do:</head> |
| </tag> |
| </tags> |
| <aggregate>true</aggregate> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>2.5.3</version> |
| <configuration> |
| <threshold>Normal</threshold> |
| <effort>Default</effort> |
| <excludeFilterFile>findbugs-exclude-filter.xml</excludeFilterFile> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-pmd-plugin</artifactId> |
| <version>3.0.1</version> |
| <configuration> |
| <targetJdk>${maven.compiler.target}</targetJdk> |
| </configuration> |
| </plugin> |
| <!-- cobertura breaks because it cannot parse annotations in methods. --> |
| <!-- |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <version>2.5.1</version> |
| </plugin> |
| --> |
| <!-- javancss breaks because it cannot parse annotations in methods. --> |
| <!-- |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>javancss-maven-plugin</artifactId> |
| <version>2.0</version> |
| </plugin> |
| --> |
| </plugins> |
| </reporting> |
| |
| <dependencyManagement> |
| <dependencies> |
| <!-- artifacts of project, versions managed by release-plugin --> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-vfs2</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-vfs2</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-vfs-sandbox</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-vfs-examples</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- 3rd party dependencies --> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <version>1.1.3</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-net</groupId> |
| <artifactId>commons-net</artifactId> |
| <version>3.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-collections4</artifactId> |
| <version>4.0</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-httpclient</groupId> |
| <artifactId>commons-httpclient</artifactId> |
| <version>3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-compress</artifactId> |
| <version>1.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-webdav</artifactId> |
| <version>1.6.5</version> |
| </dependency> |
| <dependency> |
| <groupId>ant</groupId> |
| <artifactId>ant</artifactId> |
| <version>1.6.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jdom</groupId> |
| <artifactId>jdom</artifactId> |
| <version>1.1.3</version> |
| </dependency> |
| <dependency> |
| <groupId>com.jcraft</groupId> |
| <artifactId>jsch</artifactId> |
| <version>0.1.50</version> |
| </dependency> |
| <dependency> |
| <groupId>jcifs</groupId> |
| <artifactId>jcifs</artifactId> |
| <version>0.8.3</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.mail</groupId> |
| <artifactId>mail</artifactId> |
| <version>1.4.7</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>3.1</version> |
| <scope>test</scope> |
| </dependency> |
| <!-- Test FTP with Apache FTP Server (MINA) --> |
| <dependency> |
| <groupId>org.apache.ftpserver</groupId> |
| <artifactId>ftpserver-core</artifactId> |
| <version>1.0.6</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>1.5.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>1.5.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <version>1.5.5</version> |
| <scope>test</scope> |
| </dependency> |
| <!-- Test SFTP with Apache SHHd Server (MINA) --> |
| <dependency> |
| <groupId>org.apache.sshd</groupId> |
| <artifactId>sshd-core</artifactId> |
| <version>0.8.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-core</artifactId> |
| <version>2.0.7</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.bouncycastle</groupId> |
| <artifactId>bcprov-jdk16</artifactId> |
| <version>1.46</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.4</version> |
| <scope>test</scope> |
| </dependency> |
| <!-- Test HTTP with Apache HttpComponent Core --> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpcore-nio</artifactId> |
| <version>4.2.5</version> |
| <scope>test</scope> |
| </dependency> |
| <!-- Test WebDAV with Apache Jackrabbit --> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-standalone</artifactId> |
| <version>1.6.5</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <!-- Exclude Derby due to a sealing violation --> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derby</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <!-- HDFS dependencies --> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-core</artifactId> |
| <version>1.1.2</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-test</artifactId> |
| <version>1.1.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.ws.rs</groupId> |
| <artifactId>jsr311-api</artifactId> |
| <version>1.1.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <repositories> |
| <repository> |
| <id>apache.snapshots.https</id> |
| <name>Apache Snapshot Repository</name> |
| <url>https://repository.apache.org/content/repositories/snapshots</url> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </repository> |
| <repository> |
| <id>apache.snapshots</id> |
| <name>Apache Snapshot Repository</name> |
| <url>http://people.apache.org/repo/m2-snapshot-repository/</url> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </repository> |
| </repositories> |
| |
| <distributionManagement> |
| <repository> |
| <id>apache.releases.https</id> |
| <name>Apache Release Distribution Repository</name> |
| <url>https://repository.apache.org/service/local/staging/deploy/maven2</url> |
| </repository> |
| <snapshotRepository> |
| <id>apache.snapshots.https</id> |
| <name>Apache Development Snapshot Repository</name> |
| <url>https://repository.apache.org/content/repositories/snapshots</url> |
| </snapshotRepository> |
| <site> |
| <id>apache.website</id> |
| <name>Apache Commons Site</name> |
| <url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/${commons.componentid}</url> |
| </site> |
| </distributionManagement> |
| |
| <!-- Releasing VFS as a multi-module build with binary artifacts is somewhat painful. This profile hooks into the commons-parent |
| and the apache-pom to get the build done and then uses the assembly to package it up. --> |
| <profiles> |
| <profile> |
| <id>include-sandbox</id> |
| <modules> |
| <module>sandbox</module> |
| </modules> |
| </profile> |
| <profile> |
| <id>relnotes</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-changes-plugin</artifactId> |
| <version>2.8</version> |
| <configuration> |
| <template>announcement.vm</template> |
| <templateDirectory>src/changes</templateDirectory> |
| <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> |
| <outputDirectory>.</outputDirectory> |
| <announcementFile>RELEASE-NOTES.txt</announcementFile> |
| <announceParameters> |
| <releaseVersion>${commons.release.version}</releaseVersion> |
| </announceParameters> |
| </configuration> |
| <executions> |
| <execution> |
| <id>create-release-notes</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>announcement-generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <!-- Don't build the archives here. They are constructed in the dist project --> |
| <execution> |
| <configuration> |
| <skipAssembly>true</skipAssembly> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| </profiles> |
| </project> |