-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpom.xml
124 lines (113 loc) · 4.22 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.pb.lbs</groupId>
<artifactId>geojs</artifactId>
<version>3.7.0-SNAPSHOT</version>
<name>Javascript LBS client SDK</name>
<packaging>pom</packaging>
<build>
<resources>
<resource>
<directory>src/main/javascript</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.github.searls</groupId>
<artifactId>jasmine-maven-plugin</artifactId>
<version>1.3.1.5</version>
<configuration>
<jsSrcDir>src/main/javascript</jsSrcDir>
<jsTestSrcDir>src/test/javascript</jsTestSrcDir>
<preloadSources>
<preloadSource>lib/jquery.js</preloadSource>
</preloadSources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>yuicompressor-maven-plugin</artifactId>
<version>1.3.2</version>
<executions>
<execution>
<id>compress-js</id>
<phase>compile</phase>
<goals>
<goal>compress</goal>
</goals>
</execution>
</executions>
<configuration>
<preProcessAggregates>true</preProcessAggregates>
<nosuffix>true</nosuffix>
<includes>
<include>**/*-min.js</include>
</includes>
<outputDirectory>${basedir}/src/main/javascript</outputDirectory>
<aggregations>
<aggregation>
<!-- remove files after aggregation (default: false)
<removeIncluded>true</removeIncluded> -->
<!-- insert new line after each concatenation (default: false) -->
<insertNewLine>false</insertNewLine>
<output>${basedir}/src/main/javascript/LocationIntelligenceSDK-3.7.0-min.js</output>
<!-- files to include, path relative to output's directory or absolute path-->
<inputDir>src/main/javascript</inputDir>
<includes>
<include>**/*.js</include>
</includes>
<!-- files to exclude, path relative to output's directory-->
<excludes>
<!--<exclude>**/geojs_v1.js</exclude>-->
<exclude>**/lib/*.js</exclude>
</excludes>
</aggregation>
</aggregations>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>gr.abiss.mvn.plugins</groupId>
<artifactId>maven-jstools-plugin</artifactId>
<version>0.7</version>
<configuration>
<jsDir>src/main/javascript</jsDir>
<includePrivate>true</includePrivate>
<includeUndocumented>true</includeUndocumented>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>jslint</report>
<report>jsdoc</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.6</version>
</plugin>
</plugins>
</reporting>
</project>