| <?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> |
| |
| <name>Apache Commons VFS Examples</name> |
| <artifactId>commons-vfs2-examples</artifactId> |
| <description>Apache Commons VFS is a Virtual File System library - Examples.</description> |
| |
| <parent> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-vfs2-project</artifactId> |
| <version>2.10.0-SNAPSHOT</version> |
| <relativePath>../</relativePath> |
| </parent> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-vfs2</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-net</groupId> |
| <artifactId>commons-net</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-collections4</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>com.jcraft</groupId> |
| <artifactId>jsch</artifactId> |
| <optional>true</optional> |
| </dependency> |
| </dependencies> |
| |
| <properties> |
| <vfs.parent.dir>${basedir}/..</vfs.parent.dir> |
| <japicmp.skip>true</japicmp.skip> |
| <commons.osgi.import> |
| * |
| </commons.osgi.import> |
| </properties> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| </resource> |
| <resource> |
| <directory>${vfs.parent.dir}</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>NOTICE.txt</include> |
| <include>LICENSE.txt</include> |
| </includes> |
| </resource> |
| </resources> |
| </build> |
| |
| <profiles> |
| |
| <profile> |
| <id>shell</id> |
| <build> |
| <defaultGoal>validate</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>3.1.0</version> |
| <executions> |
| <execution> |
| <phase>validate</phase> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <mainClass>org.apache.commons.vfs2.example.Shell</mainClass> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>with-http3</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| <property> |
| <name>http3</name> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>commons-httpclient</groupId> |
| <artifactId>commons-httpclient</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| |
| <profile> |
| <id>with-http4</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| <property> |
| <name>http4</name> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| |
| <profile> |
| <id>with-http5</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| <property> |
| <name>http5</name> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.httpcomponents.client5</groupId> |
| <artifactId>httpclient5</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| |
| <profile> |
| <id>with-webdav3</id> |
| <activation> |
| <property> |
| <name>webdav3</name> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>commons-httpclient</groupId> |
| <artifactId>commons-httpclient</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-vfs2-jackrabbit1</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>1.7.26</version> |
| <scope>runtime</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| |
| <profile> |
| <id>with-webdav4</id> |
| <activation> |
| <property> |
| <name>webdav4</name> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-vfs2-jackrabbit2</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| <version>1.7.26</version> |
| <scope>runtime</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| |
| </profiles> |
| |
| </project> |