blob: c4273045aac219fc2b34812282eebfe55578d97b [file] [log] [blame]
Jim Manico5b28a402015-03-29 14:14:11 -10001<?xml version="1.0" encoding="US-ASCII"?>
Jim Manico5b28a402015-03-29 14:14:11 -10002<!--
Jeremy Long4d0667e2015-03-30 06:54:25 -04003~ 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-->
Jim Manico5b28a402015-03-29 14:14:11 -100037
38<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 -040039 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 -100040 <modelVersion>4.0.0</modelVersion>
41
42 <groupId>org.owasp.encoder</groupId>
43 <artifactId>encoder-parent</artifactId>
Philipp Berger573f67f2020-10-13 13:39:06 +020044 <version>1.2.3-SNAPSHOT</version>
Jim Manico5b28a402015-03-29 14:14:11 -100045 <packaging>pom</packaging>
46
Jeremy Long90be2862017-02-13 09:16:54 -050047 <name>OWASP Java Encoder Project</name>
Jim Manico5b28a402015-03-29 14:14:11 -100048 <description>
Jeremy Long4d0667e2015-03-30 06:54:25 -040049 The OWASP Encoders package is a collection of high-performance low-overhead
50 contextual encoders, that when utilized correctly, is an effective tool in
51 preventing Web Application security vulnerabilities such as Cross-Site
52 Scripting.
Jim Manico5b28a402015-03-29 14:14:11 -100053 </description>
54
Jeremy Long6b29c002015-03-31 09:06:33 -040055 <modules>
56 <module>core</module>
57 <module>jsp</module>
58 <module>esapi</module>
59 </modules>
60
Jim Manico5b28a402015-03-29 14:14:11 -100061 <url>https://www.owasp.org/index.php/OWASP_Java_Encoder_Project</url>
62 <inceptionYear>2011</inceptionYear>
63 <organization>
64 <name>OWASP (Open Web-Application Security Project)</name>
65 <url>https://www.owasp.org/</url>
66 </organization>
67
68 <licenses>
69 <license>
70 <name>The BSD 3-Clause License</name>
71 <url>http://www.opensource.org/licenses/BSD-3-Clause</url>
72 <distribution>repo</distribution>
73 </license>
74 </licenses>
75
76 <parent>
77 <groupId>org.sonatype.oss</groupId>
78 <artifactId>oss-parent</artifactId>
Jeremy Long6b29c002015-03-31 09:06:33 -040079 <version>9</version>
Jim Manico5b28a402015-03-29 14:14:11 -100080 </parent>
81
82 <scm>
Jeremy Longe18e70e2015-04-06 18:23:16 -040083 <developerConnection>scm:git:git@github.com:owasp/owasp-java-encoder.git</developerConnection>
84 <connection>scm:git:git@github.com:owasp/owasp-java-encoder.git</connection>
85 <url>https://github.com/owasp/owasp-java-encoder</url>
Jim Manico5b28a402015-03-29 14:14:11 -100086 </scm>
Jeremy Long16d8da22015-04-01 07:12:37 -040087 <distributionManagement>
88 <site>
89 <id>gh-pages</id>
90 <name>gh-pages</name>
Jeremy Longe18e70e2015-04-06 18:23:16 -040091 <url>http://owasp.github.io/owasp-java-encoder</url>
Jeremy Long16d8da22015-04-01 07:12:37 -040092 </site>
93 </distributionManagement>
Jim Manico5b28a402015-03-29 14:14:11 -100094 <mailingLists>
95 <mailingList>
96 <name>Owasp-java-encoder-project</name>
97 <subscribe>https://lists.owasp.org/mailman/listinfo/owasp-java-encoder-project</subscribe>
98 <unsubscribe>https://lists.owasp.org/mailman/listinfo/owasp-java-encoder-project</unsubscribe>
99 <post>owasp-java-encoder-project@lists.owasp.org</post>
100 <archive>http://lists.owasp.org/pipermail/owasp-java-encoder-project/</archive>
101 </mailingList>
102 </mailingLists>
103
104 <issueManagement>
Jeremy Long6b29c002015-03-31 09:06:33 -0400105 <system>github</system>
Jeremy Longe18e70e2015-04-06 18:23:16 -0400106 <url>https://github.com/owasp/owasp-java-encoder/issues</url>
Jim Manico5b28a402015-03-29 14:14:11 -1000107 </issueManagement>
108
109 <developers>
110 <developer>
111 <name>Jeff Ichnowski</name>
112 <roles>
113 <role>Project Owner</role>
114 <role>Architect</role>
115 <role>Developer</role>
116 </roles>
117 </developer>
118 <developer>
119 <name>Jim Manico</name>
Jeremy Long16d8da22015-04-01 07:12:37 -0400120 <organization>OWASP</organization>
121 <organizationUrl>https://www.owasp.org/</organizationUrl>
Jim Manico5b28a402015-03-29 14:14:11 -1000122 <roles>
123 <role>Architect</role>
124 <role>Developer</role>
125 </roles>
126 </developer>
Jeremy Long16d8da22015-04-01 07:12:37 -0400127 <developer>
Jim Manico5b28a402015-03-29 14:14:11 -1000128 <name>Jeremy Long</name>
Jeremy Long16d8da22015-04-01 07:12:37 -0400129 <email>jeremy.long@owasp.org</email>
130 <organization>OWASP</organization>
131 <organizationUrl>https://www.owasp.org/</organizationUrl>
132 <roles>
133 <role>developer</role>
134 </roles>
135 </developer>
136 </developers>
Jim Manico5b28a402015-03-29 14:14:11 -1000137
138 <properties>
139 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Jeremy Long6b29c002015-03-31 09:06:33 -0400140 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Jim Manico5b28a402015-03-29 14:14:11 -1000141 </properties>
142
Jeremy Long6b29c002015-03-31 09:06:33 -0400143 <dependencyManagement>
144 <dependencies>
145 <dependency>
146 <groupId>junit</groupId>
147 <artifactId>junit</artifactId>
148 <version>3.8.2</version>
149 </dependency>
150 </dependencies>
151 </dependencyManagement>
152 <dependencies>
153 <dependency>
154 <groupId>junit</groupId>
155 <artifactId>junit</artifactId>
156 <scope>test</scope>
157 </dependency>
158 </dependencies>
Jim Manico5b28a402015-03-29 14:14:11 -1000159 <build>
Jeremy Long6b29c002015-03-31 09:06:33 -0400160 <pluginManagement>
161 <plugins>
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-compiler-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500165 <version>3.5.1</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400166 </plugin>
167 <plugin>
168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-jar-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500170 <version>3.0.2</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400171 </plugin>
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-source-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500175 <version>3.0.1</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400176 </plugin>
177 <plugin>
178 <groupId>org.apache.maven.plugins</groupId>
179 <artifactId>maven-javadoc-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500180 <version>2.10.4</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400181 </plugin>
182 <plugin>
183 <groupId>org.codehaus.mojo</groupId>
184 <artifactId>cobertura-maven-plugin</artifactId>
Jeremy Long90be2862017-02-13 09:16:54 -0500185 <version>2.6</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400186 </plugin>
187 <plugin>
188 <groupId>org.apache.maven.plugins</groupId>
189 <artifactId>maven-failsafe-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500190 <version>2.19.1</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400191 </plugin>
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-surefire-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500195 <version>2.19.1</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400196 </plugin>
197 <plugin>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-surefire-report-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500200 <version>2.19.1</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400201 </plugin>
202 <plugin>
203 <groupId>org.apache.maven.plugins</groupId>
204 <artifactId>maven-gpg-plugin</artifactId>
205 <version>1.6</version>
206 </plugin>
207 <plugin>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-site-plugin</artifactId>
Jeremy Long90be2862017-02-13 09:16:54 -0500210 <!-- upgrading beyond 3.4 may break the reflow skin -->
211 <version>3.4</version>
Jeremy Long789a3802017-02-14 08:36:29 -0500212 <dependencies>
213 <dependency>
214 <groupId>lt.velykis.maven.skins</groupId>
215 <artifactId>reflow-velocity-tools</artifactId>
216 <version>1.1.1</version>
217 </dependency>
218 <!-- Reflow skin requires Velocity >= 1.7 -->
219 <dependency>
220 <groupId>org.apache.velocity</groupId>
221 <artifactId>velocity</artifactId>
222 <version>1.7</version>
223 </dependency>
224 <dependency>
225 <groupId>org.apache.maven.doxia</groupId>
226 <artifactId>doxia-module-markdown</artifactId>
227 <version>1.6</version>
228 </dependency>
229 </dependencies>
Jeremy Long6b29c002015-03-31 09:06:33 -0400230 </plugin>
231 <plugin>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-project-info-reports-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500234 <version>2.9</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400235 </plugin>
236 <plugin>
237 <groupId>org.apache.maven.plugins</groupId>
238 <artifactId>maven-pmd-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500239 <version>3.6</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400240 </plugin>
241 <plugin>
Philipp Berger573f67f2020-10-13 13:39:06 +0200242 <groupId>org.apache.felix</groupId>
243 <artifactId>maven-bundle-plugin</artifactId>
244 <version>3.3.0</version>
245 </plugin>
246 <plugin>
Jeremy Long6b29c002015-03-31 09:06:33 -0400247 <groupId>org.codehaus.mojo</groupId>
248 <artifactId>versions-maven-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500249 <version>2.3</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400250 </plugin>
251 <plugin>
252 <groupId>org.apache.maven.plugins</groupId>
253 <artifactId>maven-jxr-plugin</artifactId>
254 <version>2.5</version>
255 </plugin>
256 <plugin>
257 <groupId>org.codehaus.mojo</groupId>
258 <artifactId>findbugs-maven-plugin</artifactId>
Jeremy Longa8b1f6a2017-02-11 08:44:12 -0500259 <version>3.0.4</version>
Jeremy Long6b29c002015-03-31 09:06:33 -0400260 </plugin>
261 </plugins>
262 </pluginManagement>
263
Jim Manico5b28a402015-03-29 14:14:11 -1000264 <plugins>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-compiler-plugin</artifactId>
Jim Manico5b28a402015-03-29 14:14:11 -1000268 <configuration>
269 <source>1.5</source>
270 <target>1.5</target>
271 </configuration>
272 </plugin>
Jeremy Long6b29c002015-03-31 09:06:33 -0400273 <plugin>
Philipp Berger573f67f2020-10-13 13:39:06 +0200274 <groupId>org.apache.felix</groupId>
275 <artifactId>maven-bundle-plugin</artifactId>
276 <executions>
277 <execution>
278 <id>default-bundle</id>
279 <phase>process-classes</phase>
280 <goals>
281 <goal>manifest</goal>
282 </goals>
283 <configuration>
284 <excludeDependencies>true</excludeDependencies>
285 <instructions>
286 <_noee>true</_noee>
287 <_nouses>true</_nouses>
288 </instructions>
289 </configuration>
290 </execution>
291 </executions>
292 </plugin>
293 <plugin>
Jeremy Long6b29c002015-03-31 09:06:33 -0400294 <groupId>org.codehaus.mojo</groupId>
295 <artifactId>cobertura-maven-plugin</artifactId>
296 <configuration>
297 <check>
298 <branchRate>85</branchRate>
299 <lineRate>85</lineRate>
300 <haltOnFailure>false</haltOnFailure>
301 <totalBranchRate>85</totalBranchRate>
302 <totalLineRate>85</totalLineRate>
303 <packageLineRate>85</packageLineRate>
304 <packageBranchRate>85</packageBranchRate>
305 </check>
306 </configuration>
307 <executions>
308 <execution>
309 <goals>
310 <goal>clean</goal>
311 </goals>
312 </execution>
313 </executions>
314 </plugin>
315 <plugin>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-surefire-plugin</artifactId>
318 <configuration>
319 <excludes>
320 <exclude>org/owasp/encoder/BenchmarkTest.java</exclude>
321 </excludes>
Jeremy Long123bace2017-02-11 14:39:50 -0500322 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
Jeremy Long6b29c002015-03-31 09:06:33 -0400323 </configuration>
324 </plugin>
325 <plugin>
326 <groupId>org.apache.maven.plugins</groupId>
Philipp Berger573f67f2020-10-13 13:39:06 +0200327 <artifactId>maven-jar-plugin</artifactId>
328 <executions>
329 <execution>
330 <id>default-jar</id>
331 <phase>package</phase>
332 <goals>
333 <goal>jar</goal>
334 </goals>
335 <configuration>
336 <skipIfEmpty>true</skipIfEmpty>
337 <archive>
338 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
339 </archive>
340 </configuration>
341 </execution>
342 </executions>
343 </plugin>
344 <plugin>
345 <groupId>org.apache.maven.plugins</groupId>
Jeremy Long6b29c002015-03-31 09:06:33 -0400346 <artifactId>maven-source-plugin</artifactId>
347 <executions>
348 <execution>
349 <id>attach-sources</id>
350 <phase>package</phase>
351 <goals>
352 <goal>jar</goal>
353 </goals>
354 </execution>
355 </executions>
356 </plugin>
357 <plugin>
358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-javadoc-plugin</artifactId>
360 <executions>
361 <execution>
362 <id>attach-javadocs</id>
363 <phase>package</phase>
364 <goals>
365 <goal>jar</goal>
366 </goals>
367 </execution>
368 </executions>
369 </plugin>
Jeremy Long16d8da22015-04-01 07:12:37 -0400370 <plugin>
371 <groupId>org.apache.maven.plugins</groupId>
372 <artifactId>maven-site-plugin</artifactId>
Jeremy Long16d8da22015-04-01 07:12:37 -0400373 </plugin>
Jim Manico5b28a402015-03-29 14:14:11 -1000374 </plugins>
375 </build>
Jeremy Long6b29c002015-03-31 09:06:33 -0400376 <reporting>
377 <plugins>
378 <plugin>
379 <groupId>org.apache.maven.plugins</groupId>
380 <artifactId>maven-project-info-reports-plugin</artifactId>
381 <reportSets>
382 <reportSet>
383 <reports>
384 <report>index</report>
385 <report>summary</report>
386 <report>license</report>
387 <report>scm</report>
388 <report>mailing-list</report>
389 <report>issue-tracking</report>
390 <report>dependencies</report>
391 <report>plugin-management</report>
392 <report>project-team</report>
393 </reports>
394 </reportSet>
395 </reportSets>
396 </plugin>
397 <plugin>
398 <groupId>org.codehaus.mojo</groupId>
399 <artifactId>versions-maven-plugin</artifactId>
400 <reportSets>
401 <reportSet>
402 <reports>
403 <report>dependency-updates-report</report>
404 <report>plugin-updates-report</report>
405 </reports>
406 </reportSet>
407 </reportSets>
408 </plugin>
409 <plugin>
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-jxr-plugin</artifactId>
412 </plugin>
413 <plugin>
414 <groupId>org.apache.maven.plugins</groupId>
415 <artifactId>maven-surefire-report-plugin</artifactId>
416 <reportSets>
417 <reportSet>
418 <reports>
419 <report>report-only</report>
420 <report>failsafe-report-only</report>
421 </reports>
422 </reportSet>
423 </reportSets>
424 </plugin>
425 <plugin>
426 <groupId>org.codehaus.mojo</groupId>
427 <artifactId>cobertura-maven-plugin</artifactId>
428 </plugin>
429 <plugin>
430 <groupId>org.apache.maven.plugins</groupId>
431 <artifactId>maven-pmd-plugin</artifactId>
432 <configuration>
433 <targetJdk>1.5</targetJdk>
434 <linkXref>true</linkXref>
435 <sourceEncoding>utf-8</sourceEncoding>
436 </configuration>
437 </plugin>
438 <plugin>
439 <groupId>org.apache.maven.plugins</groupId>
440 <artifactId>maven-javadoc-plugin</artifactId>
441 <reportSets>
442 <reportSet>
443 <id>default</id>
444 <reports>
445 <report>javadoc</report>
446 </reports>
447 </reportSet>
448 </reportSets>
449 </plugin>
450 <plugin>
451 <groupId>org.apache.maven.plugins</groupId>
452 <artifactId>maven-checkstyle-plugin</artifactId>
453 <configuration>
454 <configLocation>src/main/config/checkstyle.xml</configLocation>
455 <headerLocation>src/main/config/checkstyle-header.txt</headerLocation>
Jeremy Long6b29c002015-03-31 09:06:33 -0400456 </configuration>
457 </plugin>
458 <plugin>
459 <groupId>org.codehaus.mojo</groupId>
460 <artifactId>findbugs-maven-plugin</artifactId>
461 </plugin>
462 </plugins>
463 </reporting>
464 <profiles>
465 <profile>
466 <id>sign-artifacts</id>
467 <activation>
468 <property>
469 <name>performRelease</name>
470 <value>true</value>
471 </property>
472 </activation>
473 <build>
474 <plugins>
475 <plugin>
476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-gpg-plugin</artifactId>
478 <executions>
479 <execution>
480 <id>sign-artifacts</id>
481 <phase>verify</phase>
482 <goals>
483 <goal>sign</goal>
484 </goals>
485 </execution>
486 </executions>
487 </plugin>
488 </plugins>
489 </build>
490 </profile>
491 </profiles>
Jim Manico5b28a402015-03-29 14:14:11 -1000492</project>