Skip to content

Instantly share code, notes, and snippets.

@juanpicado
Created July 24, 2014 17:19
Show Gist options
  • Save juanpicado/0373dead1cce88e3b2bf to your computer and use it in GitHub Desktop.
Save juanpicado/0373dead1cce88e3b2bf to your computer and use it in GitHub Desktop.
dojo download via Maven
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<version>1.0-beta-1</version>
<executions>
<execution>
<id>download-dojo</id>
<phase>generate-resources</phase>
<goals>
<goal>download-single</goal>
</goals>
<configuration>
<serverId>dojotoolkit</serverId>
<url>http://download.dojotoolkit.org/release-${dojo.version}</url>
<fromFile>dojo-release-${dojo.version}-src.tar.gz</fromFile>
<toDir>${project.build.directory}</toDir>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment