Hello I'm encounting this issue : When I download a simple directory whith wagon-ssh plugin, it works fine, but if directory has subdirectory, I obtain :
[INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error handling resource Embedded error: Error occurred while listing '/media/images/part/' on remote repository: sftp://xxxxxx/opt/fatwire/deployment/CS String index out of range: 0 Here's a my pom.xml bit : <extensions> <extension> <groupId>org.apache.maven.wagon</groupId> <artifactId>wagon-ssh</artifactId> <version>1.0-beta-6</version> </extension> </extensions> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>wagon-maven-plugin</artifactId> <version>1.0-beta-3</version> <executions> <execution> <id>download-media</id> <phase>package</phase> <goals> <goal>download</goal> </goals> <configuration> <serverId>DeliveryPDC2</serverId> <url>sftp://weblogic@xxxxxx/opt/fatwire /deployment/CS</url> <includes>**/*</includes> <fromDir>/media/images</fromDir> <toDir>${project.build.directory}/media</ toDir> </configuration> </execution> </executions> </plugin> So, does wagon-ssh download recursively ? Thanks Antony --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
