Mats Karlsson created MOJO-1821: ----------------------------------- Summary: maven-wagon-plugin requires apache commons-io Key: MOJO-1821 URL: https://jira.codehaus.org/browse/MOJO-1821 Project: Mojo Issue Type: Bug Components: wagon Affects Versions: wagon-maven-plugin-1.0-beta-3 Reporter: Mats Karlsson
I'm trying to use the wagon-maven-plugin to download xsd:s from a url (example pom is described below). When I try {code}mvn install{code} I get the following error {code} [ERROR] Failed to execute goal org.codehaus.mojo:wagon-maven-plugin:1.0-beta-3:download (default) on project wsdl-test: Execution default of goal org.codehaus.mojo:wagon-maven-plugin:1.0-beta-3:download failed: A required class was missing while executing org.codehaus.mojo:wagon-maven-plugin:1.0-beta-3:download: org/apache/commons/io/IOUtils{code} When I add the commons-io dependency the plugin ignores it, which is expected since it's described in the documentation :) I have also tried the example projects from https://svn.codehaus.org/mojo/trunk/mojo/wagon-maven-plugin/src/it/ with the same result. I'm using windows maven 3 {code} <?xml version="1.0" encoding="UTF-8" ?> <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <name>wagon-test</name> <groupId>com.example.wagon</groupId> <artifactId>wagon-test</artifactId> <version>1.0-SNAPSHOT</version> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>wagon-maven-plugin</artifactId> <version>1.0-beta-3</version> <executions> <execution> <phase>install</phase> <goals> <goal>download</goal> </goals> </execution> </executions> <configuration> <url>http://example.com/</url> <fromDir>dir</fromDir> <toDir>${project.outputDirectory}/test</toDir> </configuration> </plugin> </plugins> </build> </project> {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email