You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by pa...@apache.org on 2017/05/11 21:04:17 UTC
svn commit: r19636 - /release/sling/
Author: pauls
Date: Thu May 11 21:04:16 2017
New Revision: 19636
Log:
Add the Apache Sling XSS Protection Compat Bundle version 1.1.0 release.
Added:
release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar (with props)
release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar.asc
release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar.md5
release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar.sha1
release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip (with props)
release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.asc
release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.md5
release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.sha1
release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar (with props)
release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar.asc
release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar.md5
release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar.sha1
release/sling/org.apache.sling.xss.compat-1.1.0.jar (with props)
release/sling/org.apache.sling.xss.compat-1.1.0.jar.asc
release/sling/org.apache.sling.xss.compat-1.1.0.jar.md5
release/sling/org.apache.sling.xss.compat-1.1.0.jar.sha1
release/sling/org.apache.sling.xss.compat-1.1.0.pom
release/sling/org.apache.sling.xss.compat-1.1.0.pom.asc
release/sling/org.apache.sling.xss.compat-1.1.0.pom.md5
release/sling/org.apache.sling.xss.compat-1.1.0.pom.sha1
Removed:
release/sling/org.apache.sling.xss.compat-1.0.0-javadoc.jar
release/sling/org.apache.sling.xss.compat-1.0.0-javadoc.jar.asc
release/sling/org.apache.sling.xss.compat-1.0.0-javadoc.jar.md5
release/sling/org.apache.sling.xss.compat-1.0.0-javadoc.jar.sha1
release/sling/org.apache.sling.xss.compat-1.0.0-source-release.zip
release/sling/org.apache.sling.xss.compat-1.0.0-source-release.zip.asc
release/sling/org.apache.sling.xss.compat-1.0.0-source-release.zip.md5
release/sling/org.apache.sling.xss.compat-1.0.0-source-release.zip.sha1
release/sling/org.apache.sling.xss.compat-1.0.0-sources.jar
release/sling/org.apache.sling.xss.compat-1.0.0-sources.jar.asc
release/sling/org.apache.sling.xss.compat-1.0.0-sources.jar.md5
release/sling/org.apache.sling.xss.compat-1.0.0-sources.jar.sha1
release/sling/org.apache.sling.xss.compat-1.0.0.jar
release/sling/org.apache.sling.xss.compat-1.0.0.jar.asc
release/sling/org.apache.sling.xss.compat-1.0.0.jar.md5
release/sling/org.apache.sling.xss.compat-1.0.0.jar.sha1
release/sling/org.apache.sling.xss.compat-1.0.0.pom
release/sling/org.apache.sling.xss.compat-1.0.0.pom.asc
release/sling/org.apache.sling.xss.compat-1.0.0.pom.md5
release/sling/org.apache.sling.xss.compat-1.0.0.pom.sha1
Added: release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar
==============================================================================
Binary file - no diff available.
Propchange: release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar.asc
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar.asc (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar.asc Thu May 11 21:04:16 2017
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEABECAAYFAlkQgUsACgkQkFSCOoWacjftWwCggCqbfaqcUx9n/718FMabt45G
+g6IAoJ6OHpkUjBktxW9R12Jz+AsRZtT5
+=iKX2
+-----END PGP SIGNATURE-----
Added: release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar.md5
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar.md5 (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar.md5 Thu May 11 21:04:16 2017
@@ -0,0 +1 @@
+901c96b5cdb56aaec4f3e90d38ef82a3
\ No newline at end of file
Added: release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar.sha1
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar.sha1 (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0-javadoc.jar.sha1 Thu May 11 21:04:16 2017
@@ -0,0 +1 @@
+93a3b86cbfb7d30be627d325745a75efa9f18058
\ No newline at end of file
Added: release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip
==============================================================================
Binary file - no diff available.
Propchange: release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.asc
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.asc (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.asc Thu May 11 21:04:16 2017
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEABECAAYFAlkQgUgACgkQkFSCOoWacjeLVACeKV390P1vuGz3HAQjyTeeLSq8
+VIEAn0NVzUJX368QYN+4yeQZgR/UW4N2
+=IKxn
+-----END PGP SIGNATURE-----
Added: release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.md5
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.md5 (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.md5 Thu May 11 21:04:16 2017
@@ -0,0 +1 @@
+472d5d139ffefce3781de4bea93b7044
\ No newline at end of file
Added: release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.sha1
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.sha1 (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0-source-release.zip.sha1 Thu May 11 21:04:16 2017
@@ -0,0 +1 @@
+3898b5cc0133277ef0a2c1391751515cf4fbf611
\ No newline at end of file
Added: release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar
==============================================================================
Binary file - no diff available.
Propchange: release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar.asc
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar.asc (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar.asc Thu May 11 21:04:16 2017
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEABECAAYFAlkQgUoACgkQkFSCOoWacjesKQCfVQBtEA48iy+3uJYdAEZpKszy
+5wYAn2IalAf9wYNwwt+zFsibN1/UINj+
+=31cT
+-----END PGP SIGNATURE-----
Added: release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar.md5
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar.md5 (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar.md5 Thu May 11 21:04:16 2017
@@ -0,0 +1 @@
+b4819bae6c686b638d6d741cd795d2e8
\ No newline at end of file
Added: release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar.sha1
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar.sha1 (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0-sources.jar.sha1 Thu May 11 21:04:16 2017
@@ -0,0 +1 @@
+271694d5e06b303b2f65227c7b4f1774f6d8f7bc
\ No newline at end of file
Added: release/sling/org.apache.sling.xss.compat-1.1.0.jar
==============================================================================
Binary file - no diff available.
Propchange: release/sling/org.apache.sling.xss.compat-1.1.0.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: release/sling/org.apache.sling.xss.compat-1.1.0.jar.asc
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0.jar.asc (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0.jar.asc Thu May 11 21:04:16 2017
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEABECAAYFAlkQgUYACgkQkFSCOoWacjdJNACfeTFr0X/8bnWlfFIUQFv/tQpr
+qmEAn02mkJVfii/WL7SFQm3A8RZF9MLf
+=0y5y
+-----END PGP SIGNATURE-----
Added: release/sling/org.apache.sling.xss.compat-1.1.0.jar.md5
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0.jar.md5 (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0.jar.md5 Thu May 11 21:04:16 2017
@@ -0,0 +1 @@
+0f1674ce82fb30be813b16be3ffc050d
\ No newline at end of file
Added: release/sling/org.apache.sling.xss.compat-1.1.0.jar.sha1
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0.jar.sha1 (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0.jar.sha1 Thu May 11 21:04:16 2017
@@ -0,0 +1 @@
+0418192f194ee05c5f6c0d306dddb3fc6f02c5b1
\ No newline at end of file
Added: release/sling/org.apache.sling.xss.compat-1.1.0.pom
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0.pom (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0.pom Thu May 11 21:04:16 2017
@@ -0,0 +1,297 @@
+<?xml version="1.0"?>
+<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ~ Licensed to the Apache Software Foundation (ASF) under one or
+ ~ more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information regarding
+ ~ copyright ownership. The ASF licenses this file to you under the
+ ~ Apache License, Version 2.0 (the "License"); you may not use
+ ~ this file except in compliance with the License. You may obtain
+ ~ a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+ ~ applicable law or agreed to in writing, software distributed
+ ~ under the License is distributed on an "AS IS" BASIS, WITHOUT
+ ~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions
+ ~ and limitations under the License.
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <!-- ======================================================================= -->
+ <!-- P A R E N T P R O J E C T -->
+ <!-- ======================================================================= -->
+ <parent>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>sling</artifactId>
+ <version>28</version>
+ <relativePath />
+ </parent>
+
+ <!-- ======================================================================= -->
+ <!-- P R O J E C T -->
+ <!-- ======================================================================= -->
+ <artifactId>org.apache.sling.xss.compat</artifactId>
+ <packaging>bundle</packaging>
+ <version>1.1.0</version>
+
+ <name>Apache Sling XSS Protection Compat Bundle</name>
+ <description>
+ Apache Sling XSS Protection Compat Bundle providing XSS protection based on the OWASP AntiSamy and OWASP Java Encoder libraries.
+ </description>
+
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.xss.compat-1.1.0</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.xss.compat-1.1.0</developerConnection>
+ <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.xss.compat-1.1.0</url>
+ </scm>
+
+
+ <!-- ======================================================================= -->
+ <!-- B U I L D -->
+ <!-- ======================================================================= -->
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <!-- Extend RAT configuration from parent pom -->
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes combine.children="append">
+ <exclude>src/main/resources/ESAPI.properties</exclude>
+ <exclude>src/main/resources/validation.properties</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-scr-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>maven-sling-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Import-Package>
+ !bsh,
+ !nu.xom,
+ !org.apache.log4j.spi,
+ !org.apache.log4j.xml,
+ !org.w3c.dom.svg,
+ !org.apache.avalon.framework.logger,
+ !org.apache.commons.jxpath.*,
+ !org.apache.commons.digester.*,
+ !org.apache.tools.ant.taskdefs,
+ !org.apache.xml.resolver,
+ !org.apache.xml.resolver.readers,
+ !org.apache.log,
+ !sun.io,
+ *
+ </Import-Package>
+ <Private-Package>
+ org.apache.sling.xss.impl,
+ org.apache.batik.*,
+ org.w3c.css.sac,
+ org.apache.xerces.*,
+ org.apache.xml.serialize,
+ org.apache.commons.beanutils.*;-split-package:=merge-first,
+ org.apache.commons.configuration.*,
+ org.apache.commons.logging.impl,
+ org.cyberneko.html.*,
+ </Private-Package>
+ <Embed-Dependency>
+ antisamy;inline=true,
+ esapi;inline=true,
+ encoder;inline=true
+ </Embed-Dependency>
+ <Sling-Initial-Content>
+ SLING-INF/content;path:=/libs/sling/xss;overwrite:=true;ignoreImportProviders:=xml
+ </Sling-Initial-Content>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <!-- ======================================================================= -->
+ <!-- D E P E N D E N C I E S -->
+ <!-- ======================================================================= -->
+ <dependencies>
+ <dependency>
+ <groupId>org.owasp.antisamy</groupId>
+ <artifactId>antisamy</artifactId>
+ <version>1.5.2</version>
+ <scope>provided</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>nu.xom</groupId>
+ <artifactId>com.springsource.nu.xom</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>bsh</groupId>
+ <artifactId>bsh</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.axsl.org.w3c.dom.svg</groupId>
+ <artifactId>svg-dom-java</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-jxpath</groupId>
+ <artifactId>commons-jxpath</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-digester3</artifactId>
+ </exclusion>
+ <!-- #40108 - XSS protection does not work on Java 5 -->
+ <!-- Replace batik-css 1.7 with 1.6. See below. -->
+ <exclusion>
+ <groupId>org.apache.xmlgraphics</groupId>
+ <artifactId>batik-css</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <!-- <#40108 - XSS protection does not work on Java 5> -->
+ <!-- Replace batik-css 1.7 with 1.6 to avoid breaking -->
+ <!-- the build on Java 5. The batik-css 1.6 pom doesn't -->
+ <!-- have proper dependency metadata, so we need to -->
+ <!-- reconstruct the full list here. -->
+ <!-- TODO: Remove this workaround when we dump Java 5. -->
+ <dependency>
+ <groupId>batik</groupId>
+ <artifactId>batik-css</artifactId>
+ <version>1.6</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>batik</groupId>
+ <artifactId>batik-ext</artifactId>
+ <version>1.6</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>batik</groupId>
+ <artifactId>batik-util</artifactId>
+ <version>1.6</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>batik</groupId>
+ <artifactId>batik-gui-util</artifactId>
+ <version>1.6</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis-ext</artifactId>
+ <version>1.3.04</version>
+ <scope>provided</scope>
+ </dependency>
+ <!-- </#40108 - XSS protection does not work on Java 5> -->
+
+ <dependency>
+ <groupId>org.owasp.esapi</groupId>
+ <artifactId>esapi</artifactId>
+ <version>2.1.0</version>
+ <scope>provided</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>nu.xom</groupId>
+ <artifactId>com.springsource.nu.xom</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>bsh</groupId>
+ <artifactId>bsh</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.axsl.org.w3c.dom.svg</groupId>
+ <artifactId>svg-dom-java</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-jxpath</groupId>
+ <artifactId>commons-jxpath</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-digester3</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>org.owasp.encoder</groupId>
+ <artifactId>encoder</artifactId>
+ <scope>provided</scope>
+ <version>1.1.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>osgi.core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>org.apache.sling.api</artifactId>
+ <version>2.11.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>org.apache.sling.commons.json</artifactId>
+ <version>2.0.6</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>org.apache.sling.serviceusermapper</artifactId>
+ <version>1.2.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ <version>2.0.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-all</artifactId>
+ <version>1.10.19</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.powermock</groupId>
+ <artifactId>powermock-api-mockito</artifactId>
+ <version>1.6.5</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ </dependency>
+ </dependencies>
+
+</project>
Added: release/sling/org.apache.sling.xss.compat-1.1.0.pom.asc
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0.pom.asc (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0.pom.asc Thu May 11 21:04:16 2017
@@ -0,0 +1,7 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEABECAAYFAlkQgUcACgkQkFSCOoWacjdhpwCgtNsH4adlFe4VsjfXMbvViQ7k
+X5sAn21+VFxMvkvCqH01qzzK5dYsbwet
+=C1TJ
+-----END PGP SIGNATURE-----
Added: release/sling/org.apache.sling.xss.compat-1.1.0.pom.md5
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0.pom.md5 (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0.pom.md5 Thu May 11 21:04:16 2017
@@ -0,0 +1 @@
+636bbf6f60bee1ead9f7ee7a29ea23d5
\ No newline at end of file
Added: release/sling/org.apache.sling.xss.compat-1.1.0.pom.sha1
==============================================================================
--- release/sling/org.apache.sling.xss.compat-1.1.0.pom.sha1 (added)
+++ release/sling/org.apache.sling.xss.compat-1.1.0.pom.sha1 Thu May 11 21:04:16 2017
@@ -0,0 +1 @@
+58d4cb892ffc7d0750178d79ecaff58f8f4b5ca1
\ No newline at end of file