blob: b6fe32384861d785b8b3fe91066364846d7abddb [file] [log] [blame]
<?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>21</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-vfs2-project</artifactId>
<name>Commons VFS</name>
<description>VFS is a Virtual File System library.</description>
<packaging>pom</packaging>
<version>2.0</version>
<url>http://commons.apache.org/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/tags/commons-vfs2-project-2.0</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/vfs/tags/commons-vfs2-project-2.0</developerConnection>
<url>http://svn.apache.org/viewvc/commons/proper/vfs/tags/commons-vfs2-project-2.0</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>Apache Software Foundation</organization>
</developer>
<developer>
<name>James Carman</name>
<id>jcarman</id>
<email>jcarman -at- apache.org</email>
<organization>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>
</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>
</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.compile.source>1.5</maven.compile.source>
<maven.compile.target>1.5</maven.compile.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.7</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-changes-plugin</artifactId>
<version>2.6</version>
<configuration>
<xmlPath>${basedir}/src/changes/changes.xml</xmlPath>
<issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.7</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.3.2</version>
<configuration>
<threshold>Normal</threshold>
<effort>Default</effort>
<excludeFilterFile>findbugs-exclude-filter.xml</excludeFilterFile>
</configuration>
</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.1</version>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.1</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.1</version>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-webdav</artifactId>
<version>1.5.2</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</version>
</dependency>
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
<version>0.1.42</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</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-api</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-svnexe</artifactId>
<version>1.4</version>
</dependency>
</dependencies>
<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>
<url>scp://people.apache.org/www/commons.apache.org/vfs</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.6</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>apache-release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<!-- Don't build the source archives here. They are constructed in the dist project
-->
<execution>
<id>source-release-assembly</id>
<configuration>
<skipAssembly>true</skipAssembly>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>cleanup-release</id>
<build>
</build>
</profile>
</profiles>
</project>