dojo-war
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.dojotoolkit</groupId> <artifactId>dojo-war</artifactId> <version>1.17.3</version> </dependency>
<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/maven-v4_0_0.xsd"> <parent> <groupId>org.dojotoolkit</groupId> <artifactId>dojo-maven</artifactId> <version>1.17.3</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>dojo-war</artifactId> <packaging>war</packaging> <name>Dojo Toolkit :: WAR</name> <build> <defaultGoal>install</defaultGoal> <plugins> <plugin> <artifactId>maven-war-plugin</artifactId> <configuration> <webXml>${basedir}/src/main/webapp/WEB-INF/web.xml</webXml> <warSourceDirectory>${project.build.directory}/dojo-release-${dojo.version}</warSourceDirectory> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>wagon-maven-plugin</artifactId> <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}.tar.gz</fromFile> <toDir>${project.build.directory}</toDir> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>unpack</id> <configuration> <target> <untar compression="gzip" src="${project.build.directory}/dojo-release-${dojo.version}.tar.gz" dest="${project.build.directory}" /> </target> </configuration> <phase>process-resources</phase> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <configuration> <scanIntervalSeconds>0</scanIntervalSeconds> <webAppConfig> <contextPath>/dojo</contextPath> </webAppConfig> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>3.1.0</version> <scope>provided</scope> </dependency> </dependencies> </project>