Skip to content

Commit 6309c0a

Browse files
authored
Merge pull request #61 from OWASP/update
General Maintenance
2 parents 2b68323 + 90717bd commit 6309c0a

File tree

4 files changed

+40
-34
lines changed

4 files changed

+40
-34
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ maven-eclipse.xml
1515
nb-configuration.xml
1616
*/nbproject/*
1717

18+
/jsp/target/
19+
/esapi/target/
20+
/target/

esapi/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<dependency>
6868
<groupId>org.owasp.esapi</groupId>
6969
<artifactId>esapi</artifactId>
70-
<version>[2.2,3)</version>
70+
<version>[2.2.3.1,3)</version>
7171
</dependency>
7272
</dependencies>
7373
</project>

jsp/src/main/java/org/owasp/encoder/tag/EncodingTag.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import javax.servlet.jsp.tagext.SimpleTagSupport;
3838

3939
/**
40-
* The base class for the encoding tags within tihs package.
40+
* The base class for the encoding tags within this package.
4141
*
4242
* @author Jeremy Long ([email protected])
4343
*/

pom.xml

Lines changed: 35 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -162,27 +162,27 @@
162162
<plugin>
163163
<groupId>org.apache.maven.plugins</groupId>
164164
<artifactId>maven-compiler-plugin</artifactId>
165-
<version>3.5.1</version>
165+
<version>3.10.1</version>
166166
</plugin>
167167
<plugin>
168168
<groupId>org.apache.maven.plugins</groupId>
169169
<artifactId>maven-jar-plugin</artifactId>
170-
<version>3.0.2</version>
170+
<version>3.2.2</version>
171171
</plugin>
172172
<plugin>
173173
<groupId>org.apache.maven.plugins</groupId>
174174
<artifactId>maven-source-plugin</artifactId>
175-
<version>3.0.1</version>
175+
<version>3.2.1</version>
176176
</plugin>
177177
<plugin>
178178
<groupId>org.apache.maven.plugins</groupId>
179179
<artifactId>maven-javadoc-plugin</artifactId>
180-
<version>2.10.4</version>
180+
<version>3.4.0</version>
181181
</plugin>
182182
<plugin>
183-
<groupId>org.codehaus.mojo</groupId>
184-
<artifactId>cobertura-maven-plugin</artifactId>
185-
<version>2.6</version>
183+
<groupId>org.jacoco</groupId>
184+
<artifactId>jacoco-maven-plugin</artifactId>
185+
<version>0.8.8</version>
186186
</plugin>
187187
<plugin>
188188
<groupId>org.apache.maven.plugins</groupId>
@@ -266,8 +266,8 @@
266266
<groupId>org.apache.maven.plugins</groupId>
267267
<artifactId>maven-compiler-plugin</artifactId>
268268
<configuration>
269-
<source>1.5</source>
270-
<target>1.5</target>
269+
<source>1.6</source>
270+
<target>1.6</target>
271271
</configuration>
272272
</plugin>
273273
<plugin>
@@ -292,24 +292,17 @@
292292
</executions>
293293
</plugin>
294294
<plugin>
295-
<groupId>org.codehaus.mojo</groupId>
296-
<artifactId>cobertura-maven-plugin</artifactId>
297-
<configuration>
298-
<check>
299-
<branchRate>85</branchRate>
300-
<lineRate>85</lineRate>
301-
<haltOnFailure>false</haltOnFailure>
302-
<totalBranchRate>85</totalBranchRate>
303-
<totalLineRate>85</totalLineRate>
304-
<packageLineRate>85</packageLineRate>
305-
<packageBranchRate>85</packageBranchRate>
306-
</check>
307-
</configuration>
295+
<groupId>org.jacoco</groupId>
296+
<artifactId>jacoco-maven-plugin</artifactId>
308297
<executions>
309298
<execution>
299+
<id>prepare-agent</id>
310300
<goals>
311-
<goal>clean</goal>
301+
<goal>prepare-agent</goal>
312302
</goals>
303+
<configuration>
304+
<propertyName>surefireArgLine</propertyName>
305+
</configuration>
313306
</execution>
314307
</executions>
315308
</plugin>
@@ -320,7 +313,7 @@
320313
<excludes>
321314
<exclude>org/owasp/encoder/BenchmarkTest.java</exclude>
322315
</excludes>
323-
<argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
316+
<argLine>${surefireArgLine}</argLine>
324317
</configuration>
325318
</plugin>
326319
<plugin>
@@ -333,12 +326,6 @@
333326
<goals>
334327
<goal>jar</goal>
335328
</goals>
336-
<configuration>
337-
<skipIfEmpty>true</skipIfEmpty>
338-
<archive>
339-
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
340-
</archive>
341-
</configuration>
342329
</execution>
343330
</executions>
344331
</plugin>
@@ -365,6 +352,10 @@
365352
<goals>
366353
<goal>jar</goal>
367354
</goals>
355+
<configuration>
356+
<source>1.6</source>
357+
<failOnError>false</failOnError>
358+
</configuration>
368359
</execution>
369360
</executions>
370361
</plugin>
@@ -424,8 +415,16 @@
424415
</reportSets>
425416
</plugin>
426417
<plugin>
427-
<groupId>org.codehaus.mojo</groupId>
428-
<artifactId>cobertura-maven-plugin</artifactId>
418+
<groupId>org.jacoco</groupId>
419+
<artifactId>jacoco-maven-plugin</artifactId>
420+
<reportSets>
421+
<reportSet>
422+
<reports>
423+
<!-- select non-aggregate reports -->
424+
<report>report</report>
425+
</reports>
426+
</reportSet>
427+
</reportSets>
429428
</plugin>
430429
<plugin>
431430
<groupId>org.apache.maven.plugins</groupId>
@@ -445,6 +444,10 @@
445444
<reports>
446445
<report>javadoc</report>
447446
</reports>
447+
<configuration>
448+
<source>1.6</source>
449+
<failOnError>false</failOnError>
450+
</configuration>
448451
</reportSet>
449452
</reportSets>
450453
</plugin>

0 commit comments

Comments
 (0)