You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by bf...@apache.org on 2011/06/16 20:31:11 UTC
svn commit: r1136589 - in /oodt/branches/protocol/protocol-sftp: pom.xml
src/main/resources/ src/main/resources/policy/
src/main/resources/policy/sftp-protocol-config.xml
Author: bfoster
Date: Thu Jun 16 18:31:10 2011
New Revision: 1136589
URL: http://svn.apache.org/viewvc?rev=1136589&view=rev
Log:
- added Spring file for autodetect feature
---------------
OODT-194
Added:
oodt/branches/protocol/protocol-sftp/src/main/resources/
oodt/branches/protocol/protocol-sftp/src/main/resources/policy/
oodt/branches/protocol/protocol-sftp/src/main/resources/policy/sftp-protocol-config.xml (with props)
Modified:
oodt/branches/protocol/protocol-sftp/pom.xml
Modified: oodt/branches/protocol/protocol-sftp/pom.xml
URL: http://svn.apache.org/viewvc/oodt/branches/protocol/protocol-sftp/pom.xml?rev=1136589&r1=1136588&r2=1136589&view=diff
==============================================================================
--- oodt/branches/protocol/protocol-sftp/pom.xml (original)
+++ oodt/branches/protocol/protocol-sftp/pom.xml Thu Jun 16 18:31:10 2011
@@ -50,28 +50,17 @@
</build>
</profile>
</profiles>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-2</version>
- <configuration>
- <descriptors>
- <descriptor>src/main/assembly/assembly.xml</descriptor>
- </descriptors>
- </configuration>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ <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>
<dependencies>
<dependency>
<groupId>org.apache.oodt</groupId>
Added: oodt/branches/protocol/protocol-sftp/src/main/resources/policy/sftp-protocol-config.xml
URL: http://svn.apache.org/viewvc/oodt/branches/protocol/protocol-sftp/src/main/resources/policy/sftp-protocol-config.xml?rev=1136589&view=auto
==============================================================================
--- oodt/branches/protocol/protocol-sftp/src/main/resources/policy/sftp-protocol-config.xml (added)
+++ oodt/branches/protocol/protocol-sftp/src/main/resources/policy/sftp-protocol-config.xml Thu Jun 16 18:31:10 2011
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Author: bfoster
+ Description: ProtocolManager Configuration
+
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:p="http://www.springframework.org/schema/p"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+ <bean class="org.apache.oodt.cas.protocol.sftp.JschSftpProtocolFactory"/>
+
+</beans>
\ No newline at end of file
Propchange: oodt/branches/protocol/protocol-sftp/src/main/resources/policy/sftp-protocol-config.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain