blob: 0afb93ae7857a226249ed9c02811a66fd9f32192 [file] [log] [blame]
Jim Manico5b28a402015-03-29 14:14:11 -10001<?xml version="1.0" encoding="US-ASCII"?>
2
3<!--
Jeremy Long4d0667e2015-03-30 06:54:25 -04004~ Copyright (c) 2015 OWASP.
5~ All rights reserved.
6~
7~ Redistribution and use in source and binary forms, with or without
8~ modification, are permitted provided that the following conditions
9~ are met:
10~
11~ * Redistributions of source code must retain the above
12~ copyright notice, this list of conditions and the following
13~ disclaimer.
14~
15~ * Redistributions in binary form must reproduce the above
16~ copyright notice, this list of conditions and the following
17~ disclaimer in the documentation and/or other materials
18~ provided with the distribution.
19~
20~ * Neither the name of the OWASP nor the names of its
21~ contributors may be used to endorse or promote products
22~ derived from this software without specific prior written
23~ permission.
24~
25~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26~ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27~ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
28~ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
29~ COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
30~ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
31~ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
32~ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33~ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
34~ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35~ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
36~ OF THE POSSIBILITY OF SUCH DAMAGE.
37-->
Jim Manico5b28a402015-03-29 14:14:11 -100038
39<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Jeremy Long4d0667e2015-03-30 06:54:25 -040040 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Jim Manico5b28a402015-03-29 14:14:11 -100041 <modelVersion>4.0.0</modelVersion>
42
43 <groupId>org.owasp.encoder</groupId>
44 <artifactId>encoder-parent</artifactId>
Jeremy Long9fa6b402015-04-12 07:40:32 -040045 <version>1.2.1-SNAPSHOT</version>
Jim Manico5b28a402015-03-29 14:14:11 -100046 <packaging>pom</packaging>
47
Jeremy Long90be2862017-02-13 09:16:54 -050048 <name>OWASP Java Encoder Project</name>
Jim Manico5b28a402015-03-29 14:14:11 -100049 <description>
Jeremy Long4d0667e2015-03-30 06:54:25 -040050 The OWASP Encoders package is a collection of high-performance low-overhead
51 contextual encoders, that when utilized correctly, is an effective tool in
52 preventing Web Application security vulnerabilities such as Cross-Site
53 Scripting.
Jim Manico5b28a402015-03-29 14:14:11 -100054 </description>
55
Jeremy Long6b29c002015-03-31 09:06:33 -040056 <modules>
57 <module>core</module>
58 <module>jsp</module>
59 <module>esapi</module>
60 </modules>
61
Jim Manico5b28a402015-03-29 14:14:11 -100062 <url>https://www.owasp.org/index.php/OWASP_Java_Encoder_Project</url>
63 <inceptionYear>2011</inceptionYear>
64 <organization>
65 <name>OWASP (Open Web-Application Security Project)</name>
66 <url>https://www.owasp.org/</url>
67 </organization>
68
69 <licenses>
70 <license>
71 <name>The BSD 3-Clause License</name>
72 <url>http://www.opensource.org/licenses/BSD-3-Clause</url>
73 <distribution>repo</distribution>
74 </license>
75 </licenses>
76
77 <parent>
78 <groupId>org.sonatype.oss</groupId>
79 <artifactId>oss-parent</artifactId>
Jeremy Long6b29c002015-03-31 09:06:33 -040080 <version>9</version>
Jim Manico5b28a402015-03-29 14:14:11 -100081 </parent>
82
83 <scm>
Jeremy Longe18e70e2015-04-06 18:23:16 -040084 <developerConnection>scm:git:git@github.com:owasp/owasp-java-encoder.git</developerConnection>
85 <connection>scm:git:git@github.com:owasp/owasp-java-encoder.git</connection>
86 <url>https://github.com/owasp/owasp-java-encoder</url>
Jim Manico5b28a402015-03-29 14:14:11 -100087 </scm>
Jeremy Long16d8da22015-04-01 07:12:37 -040088 <distributionManagement>
89 <site>
90 <id>gh-pages</id>
91 <name>gh-pages</name>
Jeremy Longe18e70e2015-04-06 18:23:16 -040092 <url>http://owasp.github.io/owasp-java-encoder</url>
Jeremy Long16d8da22015-04-01 07:12:37 -040093 </site>
94 </distributionManagement>
Jim Manico5b28a402015-03-29 14:14:11 -100095 <mailingLists>
96 <mailingList>
97 <name>Owasp-java-encoder-project</name>
98 <subscribe>https://lists.owasp.org/mailman/listinfo/owasp-java-encoder-project</subscribe>
99 <unsubscribe>https://lists.owasp.org/mailman/listinfo/owasp-java-encoder-project</unsubscribe>
100 <post>owasp-java-encoder-project@lists.owasp.org</post>
101 <archive>http://lists.owasp.org/pipermail/owasp-java-encoder-project/</archive>
102 </mailingList>
103 </mailingLists>
104
105 <issueManagement>
Jeremy Long6b29c002015-03-31 09:06:33 -0400106 <system>github</system>
Jeremy Longe18e70e2015-04-06 18:23:16 -0400107 <url>https://github.com/owasp/owasp-java-encoder/issues</url>
Jim Manico5b28a402015-03-29 14:14:11 -1000108 </issueManagement>
109
110 <developers>
111 <developer>
112 <name>Jeff Ichnowski</name>
113 <roles>
114 <role>Project Owner</role>
115 <role>Architect</role>
116 <role>Developer</role>
117 </roles>
118 </developer>
119 <developer>
120 <name>Jim Manico</name>
Jeremy Long16d8da22015-04-01 07:12:37 -0400121 <organization>OWASP</organization>
122 <organizationUrl>https://www.owasp.org/</organizationUrl>
Jim Manico5b28a402015-03-29 14:14:11 -1000123 <roles>
124 <role>Architect</role>
125 <role>Developer</role>
126 </roles>
127 </developer>
Jeremy Long16d8da22015-04-01 07:12:37 -0400128 <developer>
Jim Manico5b28a402015-03-29 14:14:11 -1000129 <name>Jeremy Long</name>
Jeremy Long16d8da22015-04-01 07:12:37 -0400130 <email>jeremy.long@owasp.org</email>
131 <organization>OWASP</organization>
132 <organizationUrl>https://www.owasp.org/</organizationUrl>
133 <roles>
134 <role>developer</role>
135 </roles>
136 </developer>
137 </developers>
Jim Manico5b28a402015-03-29 14:14:11 -1000138
139 <properties>
140 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Jeremy Long6b29c002015-03-31 09:06:33 -0400141 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Jim Manico5b28a402015-03-29 14:14:11 -1000142 </properties>
143
Jeremy Long6b29c002015-03-31 09:06:33 -0400144 <dependencyManagement>
145 <dependencies>
146 <dependency>
147 <groupId>junit</groupId>
148 <artifactId>junit</artifactId>
149 <version>3.8.2</version>
150 </dependency>
151 </dependencies>
152 </dependencyManagement>
153 <dependencies>
154 <dependency>
155 <groupId>junit</groupId>
156 <artifactId>junit</artifactId>
157 <scope>test</scope>
158 </dependency>
159 </dependencies>
Jim Manico5b28a402015-03-29 14:14:11 -1000160 <build>
Jeremy Long6b29c002015-03-31 09:06:33 -0400161 <pluginManagement>
162 <plugins>
163 <plugin>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-compiler-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500166 <version>3.5.1</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400167 </plugin>
168 <plugin>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-jar-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500171 <version>3.0.2</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400172 </plugin>
173 <plugin>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-source-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500176 <version>3.0.1</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400177 </plugin>
178 <plugin>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-javadoc-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500181 <version>2.10.4</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400182 </plugin>
183 <plugin>
184 <groupId>org.codehaus.mojo</groupId>
185 <artifactId>cobertura-maven-plugin</artifactId>
Jeremy Long90be2862017-02-13 09:16:54 -0500186 <version>2.6</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400187 </plugin>
188 <plugin>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-failsafe-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500191 <version>2.19.1</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400192 </plugin>
193 <plugin>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-surefire-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500196 <version>2.19.1</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400197 </plugin>
198 <plugin>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-surefire-report-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500201 <version>2.19.1</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400202 </plugin>
203 <plugin>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-gpg-plugin</artifactId>
206 <version>1.6</version>
207 </plugin>
208 <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-site-plugin</artifactId>
Jeremy Long90be2862017-02-13 09:16:54 -0500211 <!-- upgrading beyond 3.4 may break the reflow skin -->
212 <version>3.4</version>
Jeremy Long789a3802017-02-14 08:36:29 -0500213 <dependencies>
214 <dependency>
215 <groupId>lt.velykis.maven.skins</groupId>
216 <artifactId>reflow-velocity-tools</artifactId>
217 <version>1.1.1</version>
218 </dependency>
219 <!-- Reflow skin requires Velocity >= 1.7 -->
220 <dependency>
221 <groupId>org.apache.velocity</groupId>
222 <artifactId>velocity</artifactId>
223 <version>1.7</version>
224 </dependency>
225 <dependency>
226 <groupId>org.apache.maven.doxia</groupId>
227 <artifactId>doxia-module-markdown</artifactId>
228 <version>1.6</version>
229 </dependency>
230 </dependencies>
Jeremy Long6b29c002015-03-31 09:06:33 -0400231 </plugin>
232 <plugin>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-project-info-reports-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500235 <version>2.9</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400236 </plugin>
237 <plugin>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-pmd-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500240 <version>3.6</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400241 </plugin>
242 <plugin>
243 <groupId>org.codehaus.mojo</groupId>
244 <artifactId>versions-maven-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500245 <version>2.3</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400246 </plugin>
247 <plugin>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-jxr-plugin</artifactId>
250 <version>2.5</version>
251 </plugin>
252 <plugin>
253 <groupId>org.codehaus.mojo</groupId>
254 <artifactId>findbugs-maven-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500255 <version>3.0.4</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400256 </plugin>
257 </plugins>
258 </pluginManagement>
259
Jim Manico5b28a402015-03-29 14:14:11 -1000260 <plugins>
261 <plugin>
262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-compiler-plugin</artifactId>
Jim Manico5b28a402015-03-29 14:14:11 -1000264 <configuration>
265 <source>1.5</source>
266 <target>1.5</target>
267 </configuration>
268 </plugin>
Jeremy Long6b29c002015-03-31 09:06:33 -0400269 <plugin>
270 <groupId>org.codehaus.mojo</groupId>
271 <artifactId>cobertura-maven-plugin</artifactId>
272 <configuration>
273 <check>
274 <branchRate>85</branchRate>
275 <lineRate>85</lineRate>
276 <haltOnFailure>false</haltOnFailure>
277 <totalBranchRate>85</totalBranchRate>
278 <totalLineRate>85</totalLineRate>
279 <packageLineRate>85</packageLineRate>
280 <packageBranchRate>85</packageBranchRate>
281 </check>
282 </configuration>
283 <executions>
284 <execution>
285 <goals>
286 <goal>clean</goal>
287 </goals>
288 </execution>
289 </executions>
290 </plugin>
291 <plugin>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-surefire-plugin</artifactId>
294 <configuration>
295 <excludes>
296 <exclude>org/owasp/encoder/BenchmarkTest.java</exclude>
297 </excludes>
Jeremy Long123bace2017-02-11 14:39:50 -0500298 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
Jeremy Long6b29c002015-03-31 09:06:33 -0400299 </configuration>
300 </plugin>
301 <plugin>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-source-plugin</artifactId>
304 <executions>
305 <execution>
306 <id>attach-sources</id>
307 <phase>package</phase>
308 <goals>
309 <goal>jar</goal>
310 </goals>
311 </execution>
312 </executions>
313 </plugin>
314 <plugin>
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-javadoc-plugin</artifactId>
317 <executions>
318 <execution>
319 <id>attach-javadocs</id>
320 <phase>package</phase>
321 <goals>
322 <goal>jar</goal>
323 </goals>
324 </execution>
325 </executions>
326 </plugin>
Jeremy Long16d8da22015-04-01 07:12:37 -0400327 <plugin>
328 <groupId>org.apache.maven.plugins</groupId>
329 <artifactId>maven-site-plugin</artifactId>
Jeremy Long16d8da22015-04-01 07:12:37 -0400330 </plugin>
Jim Manico5b28a402015-03-29 14:14:11 -1000331 </plugins>
332 </build>
Jeremy Long6b29c002015-03-31 09:06:33 -0400333 <reporting>
334 <plugins>
335 <plugin>
336 <groupId>org.apache.maven.plugins</groupId>
337 <artifactId>maven-project-info-reports-plugin</artifactId>
338 <reportSets>
339 <reportSet>
340 <reports>
341 <report>index</report>
342 <report>summary</report>
343 <report>license</report>
344 <report>scm</report>
345 <report>mailing-list</report>
346 <report>issue-tracking</report>
347 <report>dependencies</report>
348 <report>plugin-management</report>
349 <report>project-team</report>
350 </reports>
351 </reportSet>
352 </reportSets>
353 </plugin>
354 <plugin>
355 <groupId>org.codehaus.mojo</groupId>
356 <artifactId>versions-maven-plugin</artifactId>
357 <reportSets>
358 <reportSet>
359 <reports>
360 <report>dependency-updates-report</report>
361 <report>plugin-updates-report</report>
362 </reports>
363 </reportSet>
364 </reportSets>
365 </plugin>
366 <plugin>
367 <groupId>org.apache.maven.plugins</groupId>
368 <artifactId>maven-jxr-plugin</artifactId>
369 </plugin>
370 <plugin>
371 <groupId>org.apache.maven.plugins</groupId>
372 <artifactId>maven-surefire-report-plugin</artifactId>
373 <reportSets>
374 <reportSet>
375 <reports>
376 <report>report-only</report>
377 <report>failsafe-report-only</report>
378 </reports>
379 </reportSet>
380 </reportSets>
381 </plugin>
382 <plugin>
383 <groupId>org.codehaus.mojo</groupId>
384 <artifactId>cobertura-maven-plugin</artifactId>
385 </plugin>
386 <plugin>
387 <groupId>org.apache.maven.plugins</groupId>
388 <artifactId>maven-pmd-plugin</artifactId>
389 <configuration>
390 <targetJdk>1.5</targetJdk>
391 <linkXref>true</linkXref>
392 <sourceEncoding>utf-8</sourceEncoding>
393 </configuration>
394 </plugin>
395 <plugin>
396 <groupId>org.apache.maven.plugins</groupId>
397 <artifactId>maven-javadoc-plugin</artifactId>
398 <reportSets>
399 <reportSet>
400 <id>default</id>
401 <reports>
402 <report>javadoc</report>
403 </reports>
404 </reportSet>
405 </reportSets>
406 </plugin>
407 <plugin>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-checkstyle-plugin</artifactId>
410 <configuration>
411 <configLocation>src/main/config/checkstyle.xml</configLocation>
412 <headerLocation>src/main/config/checkstyle-header.txt</headerLocation>
Jeremy Long6b29c002015-03-31 09:06:33 -0400413 </configuration>
414 </plugin>
415 <plugin>
416 <groupId>org.codehaus.mojo</groupId>
417 <artifactId>findbugs-maven-plugin</artifactId>
418 </plugin>
419 </plugins>
420 </reporting>
421 <profiles>
422 <profile>
423 <id>sign-artifacts</id>
424 <activation>
425 <property>
426 <name>performRelease</name>
427 <value>true</value>
428 </property>
429 </activation>
430 <build>
431 <plugins>
432 <plugin>
433 <groupId>org.apache.maven.plugins</groupId>
434 <artifactId>maven-gpg-plugin</artifactId>
435 <executions>
436 <execution>
437 <id>sign-artifacts</id>
438 <phase>verify</phase>
439 <goals>
440 <goal>sign</goal>
441 </goals>
442 </execution>
443 </executions>
444 </plugin>
445 </plugins>
446 </build>
447 </profile>
448 </profiles>
Jim Manico5b28a402015-03-29 14:14:11 -1000449</project>