-
Notifications
You must be signed in to change notification settings - Fork 207
/
pom.xml
67 lines (62 loc) · 3.32 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<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.cometd.javascript</groupId>
<artifactId>cometd-javascript-project</artifactId>
<version>2.8.0-beta1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>cometd-javascript-common</artifactId>
<packaging>war</packaging>
<name>CometD :: JavaScript :: Common</name>
<properties>
<jsSourceDir>${basedir}/src/main/js</jsSourceDir>
</properties>
<build>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<version>1.3.2</version>
<executions>
<execution>
<id>aggregate-js</id>
<goals>
<goal>compress</goal>
</goals>
<configuration>
<aggregations>
<aggregation>
<output>${project.build.directory}/${project.build.finalName}/org/cometd.js</output>
<insertNewLine>true</insertNewLine>
<includes>
<include>${jsSourceDir}/org/cometd/cometd-header.js</include>
<include>${jsSourceDir}/org/cometd/cometd-namespace.js</include>
<include>${jsSourceDir}/org/cometd/cometd-json.js</include>
<include>${jsSourceDir}/org/cometd/Utils.js</include>
<include>${jsSourceDir}/org/cometd/TransportRegistry.js</include>
<include>${jsSourceDir}/org/cometd/Transport.js</include>
<include>${jsSourceDir}/org/cometd/RequestTransport.js</include>
<include>${jsSourceDir}/org/cometd/LongPollingTransport.js</include>
<include>${jsSourceDir}/org/cometd/CallbackPollingTransport.js</include>
<include>${jsSourceDir}/org/cometd/WebSocketTransport.js</include>
<include>${jsSourceDir}/org/cometd/Cometd.js</include>
<include>${jsSourceDir}/org/cometd/cometd-amd.js</include>
</includes>
</aggregation>
</aggregations>
</configuration>
</execution>
</executions>
<configuration>
<disableOptimizations>true</disableOptimizations>
<nosuffix>true</nosuffix>
<nomunge>true</nomunge>
<jswarn>false</jswarn>
<excludes>
<exclude>${basedir}/src/main/webapp/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>