|
5 | 5 | <groupId>com.github.javadev</groupId> |
6 | 6 | <artifactId>underscore</artifactId> |
7 | 7 | <packaging>jar</packaging> |
8 | | - <version>1.36-SNAPSHOT</version> |
| 8 | + <version>1.36</version> |
9 | 9 | <name>java port of Underscore.js</name> |
10 | 10 | <description>The java port of Underscore.js</description> |
11 | 11 | <url>https://github.com/javadev/underscore-java</url> |
12 | 12 |
|
13 | 13 | <developers> |
14 | 14 | <developer> |
| 15 | + <id>javadev</id> |
15 | 16 | <name>Valentyn Kolesnikov</name> |
16 | 17 | </developer> |
17 | 18 | </developers> |
|
54 | 55 | <source>1.6</source> |
55 | 56 | <target>1.6</target> |
56 | 57 | <encoding>UTF-8</encoding> |
57 | | - <compilerArgs> |
58 | | - <arg>-Xlint:unchecked</arg> |
59 | | - <arg>-Xlint:deprecation</arg> |
60 | | - </compilerArgs> |
61 | 58 | </configuration> |
62 | 59 | </plugin> |
63 | 60 | <plugin> |
64 | 61 | <groupId>org.apache.maven.plugins</groupId> |
65 | 62 | <artifactId>maven-jar-plugin</artifactId> |
66 | | - <version>3.0.2</version> |
| 63 | + <version>2.4</version> |
67 | 64 | <configuration> |
68 | 65 | <archive> |
69 | 66 | <manifest> |
|
72 | 69 | </archive> |
73 | 70 | </configuration> |
74 | 71 | </plugin> |
75 | | - <plugin> |
76 | | - <groupId>org.apache.maven.plugins</groupId> |
77 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
78 | | - <version>2.13</version> |
79 | | - <executions> |
80 | | - <execution> |
81 | | - <id>checkstyle</id> |
82 | | - <phase>validate</phase> |
83 | | - <goals> |
84 | | - <goal>check</goal> |
85 | | - </goals> |
86 | | - <configuration> |
87 | | - <configLocation>${basedir}/checkstyle.xml</configLocation> |
88 | | - <includeTestSourceDirectory>true</includeTestSourceDirectory> |
89 | | - <failOnViolation>true</failOnViolation> |
90 | | - </configuration> |
91 | | - </execution> |
92 | | - </executions> |
93 | | - </plugin> |
94 | | - <plugin> |
95 | | - <groupId>com.github.searls</groupId> |
96 | | - <artifactId>jasmine-maven-plugin</artifactId> |
97 | | - <version>1.3.1.4</version> |
98 | | - <executions> |
99 | | - <execution> |
100 | | - <goals> |
101 | | - <goal>test</goal> |
102 | | - </goals> |
103 | | - </execution> |
104 | | - </executions> |
105 | | - </plugin> |
106 | | - <plugin> |
107 | | - <groupId>org.eluder.coveralls</groupId> |
108 | | - <artifactId>coveralls-maven-plugin</artifactId> |
109 | | - <version>3.2.1</version> |
110 | | - <configuration> |
111 | | - <repoToken>DD0C2Rr5T4s4XseQYHUqlsFHcWKY78Lfa</repoToken> |
112 | | - </configuration> |
113 | | - </plugin> |
114 | | - <plugin> |
115 | | - <groupId>org.jacoco</groupId> |
116 | | - <artifactId>jacoco-maven-plugin</artifactId> |
117 | | - <version>0.8.1</version> |
118 | | - <executions> |
119 | | - <execution> |
120 | | - <id>prepare-agent</id> |
121 | | - <goals> |
122 | | - <goal>prepare-agent</goal> |
123 | | - </goals> |
124 | | - </execution> |
125 | | - </executions> |
126 | | - <configuration> |
127 | | - <excludes> |
128 | | - <exclude>**/U$BaseHttpSSLSocketFactory*.class</exclude> |
129 | | - </excludes> |
130 | | - </configuration> |
131 | | - </plugin> |
132 | 72 | <plugin> |
133 | 73 | <groupId>com.github.wvengen</groupId> |
134 | 74 | <artifactId>proguard-maven-plugin</artifactId> |
|
166 | 106 | <option>-keep public class com.github.underscore.lodash.*$Chain { *; }</option> |
167 | 107 | <option>-keep public class com.github.underscore.lodash.*$ParseException { *; }</option> |
168 | 108 | <option>-keep public class com.github.underscore.lodash.*$FetchResponse { *; }</option> |
| 109 | + <option>-keep public class com.github.underscore.lodash.*$LRUCache { *; }</option> |
169 | 110 | <option>-keep public class com.github.underscore.lodash.Json$JsonStringBuilder$Step { *; }</option> |
170 | 111 | <option>-keep public class com.github.underscore.lodash.Xml$XmlStringBuilder$Step { *; }</option> |
171 | 112 | <option>-keepclassmembers class * { *** newArrayList(); *** newLinkedHashSet(); *** newHashSet(java.lang.Iterable); *** newLinkedHashMap(); }</option> |
|
177 | 118 | </configuration> |
178 | 119 | </plugin> |
179 | 120 | <plugin> |
180 | | - <groupId>org.apache.maven.plugins</groupId> |
181 | | - <artifactId>maven-project-info-reports-plugin</artifactId> |
182 | | - <version>2.9</version> |
183 | | - </plugin> |
184 | | - <plugin> |
185 | | - <groupId>org.apache.maven.plugins</groupId> |
186 | | - <artifactId>maven-site-plugin</artifactId> |
187 | | - <version>3.7.1</version> |
188 | | - </plugin> |
189 | | - </plugins> |
190 | | - </build> |
191 | | - <reporting> |
192 | | - <plugins> |
193 | | - <plugin> |
194 | | - <groupId>org.jacoco</groupId> |
195 | | - <artifactId>jacoco-maven-plugin</artifactId> |
196 | | - <version>0.8.1</version> |
197 | | - <configuration> |
198 | | - <excludes> |
199 | | - <exclude>**/U$BaseHttpSSLSocketFactory*.class</exclude> |
200 | | - </excludes> |
201 | | - </configuration> |
202 | | - </plugin> |
203 | | - <plugin> |
204 | | - <groupId>org.apache.maven.plugins</groupId> |
205 | | - <artifactId>maven-surefire-report-plugin</artifactId> |
206 | | - <version>2.18</version> |
207 | | - </plugin> |
208 | | - <plugin> |
209 | | - <groupId>org.apache.maven.plugins</groupId> |
210 | | - <artifactId>maven-jxr-plugin</artifactId> |
211 | | - <version>2.5</version> |
| 121 | + <groupId>org.apache.maven.plugins</groupId> |
| 122 | + <artifactId>maven-source-plugin</artifactId> |
| 123 | + <version>2.4</version> |
| 124 | + <executions> |
| 125 | + <execution> |
| 126 | + <id>attach-sources</id> |
| 127 | + <goals> |
| 128 | + <goal>jar</goal> |
| 129 | + <goal>test-jar</goal> |
| 130 | + </goals> |
| 131 | + </execution> |
| 132 | + </executions> |
212 | 133 | </plugin> |
213 | 134 | <plugin> |
214 | 135 | <groupId>org.apache.maven.plugins</groupId> |
215 | | - <artifactId>maven-checkstyle-plugin</artifactId> |
216 | | - <version>2.13</version> |
217 | | - <configuration> |
218 | | - <configLocation>${basedir}/checkstyle.xml</configLocation> |
219 | | - <includeTestSourceDirectory>true</includeTestSourceDirectory> |
220 | | - </configuration> |
| 136 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 137 | + <version>3.0.0</version> |
| 138 | + <executions> |
| 139 | + <execution> |
| 140 | + <id>attach-sources</id> |
| 141 | + <goals> |
| 142 | + <goal>jar</goal> |
| 143 | + <goal>test-jar</goal> |
| 144 | + </goals> |
| 145 | + </execution> |
| 146 | + </executions> |
221 | 147 | </plugin> |
222 | 148 | <plugin> |
223 | 149 | <groupId>org.apache.maven.plugins</groupId> |
224 | | - <artifactId>maven-pmd-plugin</artifactId> |
225 | | - <version>3.5</version> |
226 | | - <configuration> |
227 | | - <targetJdk>1.8</targetJdk> |
228 | | - <rulesets> |
229 | | - <ruleset>rulesets/java/basic.xml</ruleset> |
230 | | - <ruleset>rulesets/java/design.xml</ruleset> |
231 | | - <ruleset>rulesets/java/junit.xml</ruleset> |
232 | | - <ruleset>rulesets/java/finalizers.xml</ruleset> |
233 | | - <ruleset>rulesets/java/clone.xml</ruleset> |
234 | | - <ruleset>rulesets/java/unusedcode.xml</ruleset> |
235 | | - <ruleset>rulesets/java/imports.xml</ruleset> |
236 | | - <ruleset>rulesets/java/strings.xml</ruleset> |
237 | | - <ruleset>rulesets/java/braces.xml</ruleset> |
238 | | - <ruleset>rulesets/java/codesize.xml</ruleset> |
239 | | - <ruleset>rulesets/java/coupling.xml</ruleset> |
240 | | - <ruleset>rulesets/java/strictexception.xml</ruleset> |
241 | | - </rulesets> |
242 | | - </configuration> |
243 | | - </plugin> |
244 | | - <plugin> |
245 | | - <groupId>org.codehaus.mojo</groupId> |
246 | | - <artifactId>findbugs-maven-plugin</artifactId> |
247 | | - <version>3.0.3</version> |
248 | | - </plugin> |
249 | | - <plugin> |
250 | | - <groupId>org.codehaus.mojo</groupId> |
251 | | - <artifactId>taglist-maven-plugin</artifactId> |
252 | | - <version>2.4</version> |
| 150 | + <artifactId>maven-gpg-plugin</artifactId> |
| 151 | + <version>1.4</version> |
| 152 | + <executions> |
| 153 | + <execution> |
| 154 | + <id>sign-artifacts</id> |
| 155 | + <phase>verify</phase> |
| 156 | + <goals> |
| 157 | + <goal>sign</goal> |
| 158 | + </goals> |
| 159 | + </execution> |
| 160 | + </executions> |
253 | 161 | </plugin> |
254 | 162 | </plugins> |
255 | | - </reporting> |
| 163 | + </build> |
256 | 164 | <dependencies> |
257 | 165 | <dependency> |
258 | 166 | <groupId>junit</groupId> |
|
267 | 175 | <scope>test</scope> |
268 | 176 | </dependency> |
269 | 177 | </dependencies> |
270 | | - |
| 178 | + |
271 | 179 | </project> |
0 commit comments