| <?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.oodt</groupId> |
| <artifactId>oodt-core</artifactId> |
| <version>1.0</version> |
| <relativePath>../../core/pom.xml</relativePath> |
| </parent> |
| <artifactId>cas-protocol-sftp</artifactId> |
| <name>CAS Protocol SFTP Implementation</name> |
| <!-- All dependencies should be listed in core/pom.xml and be ordered alphabetically by package and artifact. |
| Once the dependency is in the core pom, it can then be used in other modules without the version tags. |
| For example, within core/pom.xml: |
| |
| <dependency> |
| <groupId>com.amazonaws</groupId> |
| <artifactId>aws-java-sdk</artifactId> |
| <version>1.7.4</version> |
| </dependency> |
| |
| Elsewhere in the platform: |
| <dependency> |
| <groupId>com.amazonaws</groupId> |
| <artifactId>aws-java-sdk</artifactId> |
| </dependency> |
| |
| Where possible the same dependency version should be used across the whole platform but if required the version |
| can be overridden in a specific pom and should have a comment explaing why the version has been overridden |
| --> |
| <dependencies> |
| <dependency> |
| <groupId>com.jcraft</groupId> |
| <artifactId>jsch</artifactId> |
| <version>0.1.42</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <version>1.0.3</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.mina</groupId> |
| <artifactId>mina-core</artifactId> |
| <version>2.0.4</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.oodt</groupId> |
| <artifactId>cas-protocol-api</artifactId> |
| <version>${project.parent.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| <version>1.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>1.9.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>sshtools</groupId> |
| <artifactId>j2ssh-core</artifactId> |
| <version>0.2.9</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>sshtools</groupId> |
| <artifactId>j2ssh-daemon</artifactId> |
| <version>0.2.9</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| <build> |
| <resources> |
| <resource> |
| <targetPath>org/apache/oodt/cas/protocol/sftp</targetPath> |
| <directory>${basedir}/src/main/resources/policy</directory> |
| <includes> |
| <include>sftp-protocol-config.xml</include> |
| </includes> |
| </resource> |
| </resources> |
| </build> |
| <profiles> |
| <profile> |
| <id>audit</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>rat-maven-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/resources/examples/**/*</exclude> |
| </excludes> |
| <numUnapprovedLicenses>3</numUnapprovedLicenses> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <phase>verify</phase> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |