Here is a sample project that tries to download an html file from http://www.jboss.org/drools/drools-guvnor.html and rename it to something else.
Should run once you unzip it. Dan Tran wrote: > > what error? > > Could you produce a pom file to produce the issue using a well known > file on internet ( id maven central ) > > -Dan > > On Wed, May 26, 2010 at 10:48 AM, YevK <[email protected]> wrote: >> >> I setup the following config in my project and expect to have a file >> renamed >> from QA.drl to mapping.drl, but it doesn't work. Any ideas? >> >> Thanks >> >> <plugin> >> <groupId>org.codehaus.mojo</groupId> >> <artifactId>wagon-maven-plugin</artifactId> >> <version>1.0-beta-3</version> >> <executions> >> <execution> >> <id>download-drools-drl</id> >> <phase>package</phase> >> <goals> >> <goal>download-single</goal> >> </goals> >> <configuration> >> <fromFile>QA.drl</fromFile> >> <toFile>mapping.drl</toFile> >> >> <url>http://url/org.drools.guvnor.Guvnor/package/mapping/</url> >> >> <toDir>target/${artifactId}-${version}/WEB-INF/classes</toDir> >> </configuration> >> </execution> >> </executions> >> </plugin> >> -- >> View this message in context: >> http://old.nabble.com/toFile-doesn%27t-work-in-wagon-mojo-for-download-single-goal-tp28684084p28684084.html >> Sent from the mojo - dev mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > > http://old.nabble.com/file/p28685097/wagon-tofile-problem.zipx wagon-tofile-problem.zipx -- View this message in context: http://old.nabble.com/toFile-doesn%27t-work-in-wagon-mojo-for-download-single-goal-tp28684084p28685097.html Sent from the mojo - dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
