-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpom.xml
52 lines (52 loc) · 2.27 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.jquery</groupId>
<artifactId>jquery</artifactId>
<name>jquery</name>
<version>1.7.2-1</version>
<packaging>jar</packaging>
<distributionManagement>
<repository>
<id>webjars.github.com</id>
<url>file:///${basedir}/../webjars.github.com/m2/</url>
</repository>
</distributionManagement>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jquery.version>1.7.2</jquery.version>
<jquery.sourceUrl>http://code.jquery.com/</jquery.sourceUrl>
<destDir>${project.build.directory}/classes/public</destDir>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<version>1.0-beta-4</version>
<executions>
<execution>
<id>download-full-js</id>
<phase>process-resources</phase>
<goals><goal>download-single</goal></goals>
<configuration>
<url>${jquery.sourceUrl}</url>
<fromFile>jquery-${jquery.version}.js</fromFile>
<toFile>${destDir}/jquery.js</toFile>
</configuration>
</execution>
<execution>
<id>download-min-js</id>
<phase>process-resources</phase>
<goals><goal>download-single</goal></goals>
<configuration>
<url>${jquery.sourceUrl}</url>
<fromFile>jquery-${jquery.version}.min.js</fromFile>
<toFile>${destDir}/jquery.min.js</toFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>