1<?xml version="1.0" encoding="US-ASCII"?> 2<!-- 3~ Copyright (c) 2015 OWASP. 4~ All rights reserved. 5~ 6~ Redistribution and use in source and binary forms, with or without 7~ modification, are permitted provided that the following conditions 8~ are met: 9~ 10~ * Redistributions of source code must retain the above 11~ copyright notice, this list of conditions and the following 12~ disclaimer. 13~ 14~ * Redistributions in binary form must reproduce the above 15~ copyright notice, this list of conditions and the following 16~ disclaimer in the documentation and/or other materials 17~ provided with the distribution. 18~ 19~ * Neither the name of the OWASP nor the names of its 20~ contributors may be used to endorse or promote products 21~ derived from this software without specific prior written 22~ permission. 23~ 24~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 25~ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 26~ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 27~ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 28~ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 29~ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 30~ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 31~ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32~ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 33~ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 34~ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 35~ OF THE POSSIBILITY OF SUCH DAMAGE. 36--> 37 38<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 39 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 40 <modelVersion>4.0.0</modelVersion> 41 42 <parent> 43 <groupId>org.owasp.encoder</groupId> 44 <artifactId>encoder-parent</artifactId> 45 <version>1.3.1</version> 46 </parent> 47 48 <artifactId>encoder</artifactId> 49 <packaging>jar</packaging> 50 51 <name>Java Encoder</name> 52 <description> 53 The OWASP Encoders package is a collection of high-performance low-overhead 54 contextual encoders, that when utilized correctly, is an effective tool in 55 preventing Web Application security vulnerabilities such as Cross-Site 56 Scripting. 57 </description> 58 59 <properties> 60 <jigsaw.module.name>org.owasp.encoder</jigsaw.module.name> 61 </properties> 62 63 <build> 64 <plugins> 65 <plugin> 66 <groupId>org.apache.maven.plugins</groupId> 67 <artifactId>maven-surefire-plugin</artifactId> 68 <configuration> 69 <excludes> 70 <exclude>org/owasp/encoder/BenchmarkTest.java</exclude> 71 </excludes> 72 </configuration> 73 </plugin> 74 </plugins> 75 </build> 76 <profiles> 77 <profile> 78 <id>benchmark</id> 79 <build> 80 <plugins> 81 <plugin> 82 <groupId>org.apache.maven.plugins</groupId> 83 <artifactId>maven-failsafe-plugin</artifactId> 84 <configuration> 85 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine> 86 <includes> 87 <include>org/owasp/encoder/BenchmarkTest.java</include> 88 </includes> 89 </configuration> 90 <executions> 91 <execution> 92 <goals> 93 <goal>integration-test</goal> 94 <goal>verify</goal> 95 </goals> 96 </execution> 97 </executions> 98 </plugin> 99 </plugins> 100 </build> 101 </profile> 102 </profiles> 103</project> 104