You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/18 23:25:47 UTC
[sling-org-apache-sling-urlrewriter] branch master created (now
115febc)
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git.
at 115febc SLING-7167 Adjust READMEs
This branch includes the following new commits:
new 86e747b SLING-3518 add initial version of Apache Sling URL Rewriter
new 7b37363 SLING-3518 remove default name, don't use properties for label and description
new 226e859 update to parent version 20
new bb030f1 SLING-3518 make filter internal
new 65390da SLING-3518 add a multipurpose filter based on Tuckey's UrlRewriteFilter
new 4f46b33 SLING-3518 add a multipurpose filter based on Tuckey's UrlRewriteFilter
new 56f4a35 SLING-3518 add a multipurpose filter based on Tuckey's UrlRewriteFilter
new a3edf44 SLING-3518 add a multipurpose filter based on Tuckey's UrlRewriteFilter
new 8b8d84e [maven-release-plugin] prepare release org.apache.sling.urlrewriter-0.0.2
new 4ef2fe9 [maven-release-plugin] prepare for next development iteration
new 57ccd39 SLING-4698 - Set parent.relativePath to empty for all modules
new 7953d81 Update contrib modules to Parent 23
new af7f0af Contrib: remove superflous sling.java.version=6 as it's the default now
new d0657b6 set parent version to 24 and add empty relativePath where missing
new b5e493d Update the contrib reactor to parent 25
new c09e390 Switch to parent pom 26
new 115febc SLING-7167 Adjust READMEs
The 17 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
--
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].
[sling-org-apache-sling-urlrewriter] 08/17: SLING-3518 add a
multipurpose filter based on Tuckey's UrlRewriteFilter
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit a3edf44b51b160986561b1bf7d860bc1f5996ea7
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Feb 24 14:15:40 2015 +0000
SLING-3518 add a multipurpose filter based on Tuckey's UrlRewriteFilter
* update to current parent
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1661955 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 328c0cf..982b25f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>20</version>
+ <version>22</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 07/17: SLING-3518 add a
multipurpose filter based on Tuckey's UrlRewriteFilter
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit 56f4a35690b321520f18abcf9e44e063795f2d65
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Feb 24 13:56:51 2015 +0000
SLING-3518 add a multipurpose filter based on Tuckey's UrlRewriteFilter
* style
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1661953 13f79535-47bb-0310-9956-ffa450edef68
---
.../internal/SlingUrlRewriteFilter.java | 24 ++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java b/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java
index 6427889..cca2d81 100644
--- a/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java
+++ b/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java
@@ -65,10 +65,26 @@ import org.xml.sax.helpers.DefaultHandler;
)
@Service
@Properties({
- @Property(name = Constants.SERVICE_VENDOR, value = "The Apache Software Foundation"),
- @Property(name = Constants.SERVICE_DESCRIPTION, value = "multi-purpose service for altering HTTP requests/responses based on Tuckey's UrlRewriteFilter"),
- @Property(name = Constants.SERVICE_RANKING, intValue = 0, propertyPrivate = false),
- @Property(name = EngineConstants.SLING_FILTER_SCOPE, value = {EngineConstants.FILTER_SCOPE_REQUEST, EngineConstants.FILTER_SCOPE_FORWARD})
+ @Property(
+ name = Constants.SERVICE_VENDOR,
+ value = "The Apache Software Foundation"
+ ),
+ @Property(
+ name = Constants.SERVICE_DESCRIPTION,
+ value = "multi-purpose service for altering HTTP requests/responses based on Tuckey's UrlRewriteFilter"
+ ),
+ @Property(
+ name = Constants.SERVICE_RANKING,
+ intValue = 0,
+ propertyPrivate = false
+ ),
+ @Property(
+ name = EngineConstants.SLING_FILTER_SCOPE,
+ value = {
+ EngineConstants.FILTER_SCOPE_REQUEST,
+ EngineConstants.FILTER_SCOPE_FORWARD
+ }
+ )
})
public final class SlingUrlRewriteFilter implements Filter {
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 09/17: [maven-release-plugin]
prepare release org.apache.sling.urlrewriter-0.0.2
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit 8b8d84e8998611bf0784cdd46fb91531e11e3b1c
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Feb 24 14:23:21 2015 +0000
[maven-release-plugin] prepare release org.apache.sling.urlrewriter-0.0.2
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1661961 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index 982b25f..0406dbb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
</parent>
<artifactId>org.apache.sling.urlrewriter</artifactId>
- <version>0.0.1-SNAPSHOT</version>
+ <version>0.0.2</version>
<packaging>bundle</packaging>
<name>Apache Sling URL Rewriter</name>
@@ -42,9 +42,9 @@
</properties>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/urlrewriter</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/urlrewriter</developerConnection>
- <url>http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/urlrewriter</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.urlrewriter-0.0.2</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.urlrewriter-0.0.2</developerConnection>
+ <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.urlrewriter-0.0.2</url>
</scm>
<dependencies>
@@ -124,7 +124,7 @@
<extensions>true</extensions>
<configuration>
<instructions>
- <Export-Package/>
+ <Export-Package />
<Embed-Dependency>
org.apache.sling.commons.osgi;inline="org/apache/sling/commons/osgi/PropertiesUtil.*"
</Embed-Dependency>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 04/17: SLING-3518 make filter
internal
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit bb030f14634ef17dff19fb8c53bc0bc83a14da14
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Fri Jan 23 09:32:06 2015 +0000
SLING-3518 make filter internal
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1654155 13f79535-47bb-0310-9956-ffa450edef68
---
.../apache/sling/urlrewriter/{ => internal}/SlingUrlRewriteFilter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java b/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java
similarity index 99%
rename from src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java
rename to src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java
index 1901a48..fbc5d7f 100644
--- a/src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java
+++ b/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java
@@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
-package org.apache.sling.urlrewriter;
+package org.apache.sling.urlrewriter.internal;
import java.io.ByteArrayInputStream;
import java.io.IOException;
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 12/17: Update contrib modules
to Parent 23
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit 7953d81032c3900be8fa966ab82d382f563a8993
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu Jun 25 13:10:59 2015 +0000
Update contrib modules to Parent 23
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1687503 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 6c069db..1d270fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>22</version>
+ <version>23</version>
<relativePath/>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 03/17: update to parent
version 20
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit 226e859ad02760420f3489d3a139a65020dc0244
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Mon Aug 4 18:07:50 2014 +0000
update to parent version 20
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1615715 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 4a11de5..4f5f441 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>19</version>
+ <version>20</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 06/17: SLING-3518 add a
multipurpose filter based on Tuckey's UrlRewriteFilter
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit 4f46b33ae5e754df034ffcbbbd412a2ecf9ab18f
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sat Feb 14 16:52:22 2015 +0000
SLING-3518 add a multipurpose filter based on Tuckey's UrlRewriteFilter
* add example for setting CORS headers
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1659812 13f79535-47bb-0310-9956-ffa450edef68
---
README.md | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/README.md b/README.md
index be81b6b..8e996bd 100644
--- a/README.md
+++ b/README.md
@@ -17,3 +17,25 @@ example for setting a Cache-Control header:
</rule>
</urlrewrite>
+example for setting CORS headers:
+
+ <?xml version="1.0" encoding="UTF-8"?>
+ <!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 4.0//EN" "http://www.tuckey.org/res/dtds/urlrewrite4.0.dtd">
+ <urlrewrite>
+ <rule>
+ <note>
+ http://www.w3.org/TR/cors/
+ https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS
+ http://fetch.spec.whatwg.org
+ http://enable-cors.org
+ http://www.html5rocks.com/en/tutorials/cors/
+ </note>
+ <condition type="header" name="Origin">.*</condition>
+ <condition type="header" name="Access-Control-Request-Method">.*</condition>
+ <condition type="header" name="Access-Control-Request-Headers">.*</condition>
+ <set type="response-header" name="Access-Control-Allow-Origin">%{header:Origin}</set>
+ <set type="response-header" name="Access-Control-Allow-Methods">%{header:Access-Control-Request-Method}</set>
+ <set type="response-header" name="Access-Control-Allow-Headers">%{header:Access-Control-Request-Headers}</set>
+ <set type="response-header" name="Access-Control-Allow-Credentials">true</set>
+ </rule>
+ </urlrewrite>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 14/17: set parent version to
24 and add empty relativePath where missing
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit d0657b67783769be0c5f17409aa6b21d67d8af03
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Jul 7 07:36:29 2015 +0000
set parent version to 24 and add empty relativePath where missing
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1689588 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index accf815..423e680 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>23</version>
+ <version>24</version>
<relativePath/>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 01/17: SLING-3518 add initial
version of Apache Sling URL Rewriter
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit 86e747bb5db4c70103c6f3b84dc1e57b1c44ea92
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Mon Jun 2 20:45:28 2014 +0000
SLING-3518 add initial version of Apache Sling URL Rewriter
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1599355 13f79535-47bb-0310-9956-ffa450edef68
---
README.md | 19 ++
pom.xml | 148 ++++++++++++++
.../sling/urlrewriter/SlingUrlRewriteFilter.java | 220 +++++++++++++++++++++
.../OSGI-INF/metatype/metatype.properties | 29 +++
4 files changed, 416 insertions(+)
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..be81b6b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,19 @@
+Apache Sling URL Rewriter
+=========================
+
+multi-purpose service for altering HTTP requests/responses based on Tuckey's UrlRewriteFilter
+
+* http://tuckey.org/urlrewrite/manual/4.0/guide.html
+* http://urlrewritefilter.googlecode.com/svn/trunk/src/doc/manual/4.0/index.html
+
+example for setting a Cache-Control header:
+
+ <?xml version="1.0" encoding="utf-8"?>
+ <!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 4.0//EN" "http://www.tuckey.org/res/dtds/urlrewrite4.0.dtd">
+ <urlrewrite>
+ <rule>
+ <from>.*</from>
+ <set type="response-header" name="Cache-Control">max-age=600</set>
+ </rule>
+ </urlrewrite>
+
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..4a11de5
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>sling</artifactId>
+ <version>19</version>
+ <relativePath>../../../parent/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>org.apache.sling.urlrewriter</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+
+ <name>Apache Sling URL Rewriter</name>
+ <description>Apache Sling URL Rewriter</description>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ <sling.java.version>6</sling.java.version>
+ </properties>
+
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/urlrewriter</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/urlrewriter</developerConnection>
+ <url>http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/urlrewriter</url>
+ </scm>
+
+ <dependencies>
+ <!-- javax -->
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <!-- OSGi -->
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.compendium</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <!-- Apache Commons -->
+ <dependency>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>2.4</version>
+ <scope>provided</scope>
+ </dependency>
+ <!-- Apache Sling -->
+ <dependency>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>org.apache.sling.engine</artifactId>
+ <version>2.3.2</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.sling</groupId>
+ <artifactId>org.apache.sling.commons.osgi</artifactId>
+ <version>2.2.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <!-- Apache Felix -->
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.scr.annotations</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <!-- UrlRewriteFilter -->
+ <dependency>
+ <groupId>org.tuckey</groupId>
+ <artifactId>urlrewritefilter</artifactId>
+ <version>4.0.4</version>
+ <scope>provided</scope>
+ </dependency>
+ <!-- logging -->
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.7.7</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.1</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-Category>sling</Bundle-Category>
+ <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+ <Export-Package/>
+ <Embed-Dependency>
+ org.apache.sling.commons.osgi;inline="org/apache/sling/commons/osgi/PropertiesUtil.*"
+ </Embed-Dependency>
+ <_removeheaders>
+ Embed-Dependency,
+ Private-Package,
+ Include-Resource
+ </_removeheaders>
+ </instructions>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-scr-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
diff --git a/src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java b/src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java
new file mode 100644
index 0000000..6a476ad
--- /dev/null
+++ b/src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java
@@ -0,0 +1,220 @@
+/*
+ * 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.
+ */
+package org.apache.sling.urlrewriter;
+
+import java.io.ByteArrayInputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.Dictionary;
+
+import javax.servlet.Filter;
+import javax.servlet.FilterChain;
+import javax.servlet.FilterConfig;
+import javax.servlet.ServletException;
+import javax.servlet.ServletRequest;
+import javax.servlet.ServletResponse;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+
+import org.apache.commons.io.IOUtils;
+import org.apache.felix.scr.annotations.Activate;
+import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.Deactivate;
+import org.apache.felix.scr.annotations.Modified;
+import org.apache.felix.scr.annotations.Properties;
+import org.apache.felix.scr.annotations.Property;
+import org.apache.felix.scr.annotations.Service;
+import org.apache.sling.commons.osgi.PropertiesUtil;
+import org.apache.sling.engine.EngineConstants;
+import org.osgi.framework.Constants;
+import org.osgi.service.component.ComponentContext;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.tuckey.web.filters.urlrewrite.Conf;
+import org.tuckey.web.filters.urlrewrite.UrlRewriter;
+import org.tuckey.web.filters.urlrewrite.utils.Log;
+import org.tuckey.web.filters.urlrewrite.utils.StringUtils;
+import org.w3c.dom.Document;
+import org.xml.sax.helpers.DefaultHandler;
+
+@Component(
+ name = "org.apache.sling.urlrewriter.SlingUrlRewriteFilter",
+ label = "%org.apache.sling.urlrewriter.label",
+ description = "%org.apache.sling.urlrewriter.description",
+ immediate = true,
+ metatype = true
+)
+@Service
+@Properties({
+ @Property(name = Constants.SERVICE_VENDOR, value = "The Apache Software Foundation"),
+ @Property(name = Constants.SERVICE_DESCRIPTION, value = "multi-purpose service for altering HTTP requests/responses based on Tuckey's UrlRewriteFilter"),
+ @Property(name = Constants.SERVICE_RANKING, intValue = 0, propertyPrivate = false),
+ @Property(name = EngineConstants.SLING_FILTER_SCOPE, value = {EngineConstants.FILTER_SCOPE_REQUEST, EngineConstants.FILTER_SCOPE_FORWARD})
+})
+public class SlingUrlRewriteFilter implements Filter {
+
+ private UrlRewriter rewriter;
+
+ public static final String DEFAULT_REWRITE_RULES = "<?xml version=\"1.0\" encoding=\"utf-8\"?><!DOCTYPE urlrewrite PUBLIC \"-//tuckey.org//DTD UrlRewrite 4.0//EN\" \"http://www.tuckey.org/res/dtds/urlrewrite4.0.dtd\"><urlrewrite/>";
+
+ @Property(value = DEFAULT_REWRITE_RULES)
+ public static final String REWRITE_RULES_PARAMETER = "org.apache.sling.urlrewriter.rewrite.rules";
+
+ private final Logger logger = LoggerFactory.getLogger(SlingUrlRewriteFilter.class);
+
+ public SlingUrlRewriteFilter() {
+ Log.setLevel("SLF4J");
+ }
+
+ @Activate
+ private void activate(final ComponentContext context) {
+ logger.debug("activate");
+ configure(context);
+ }
+
+ @Modified
+ private void modified(final ComponentContext context) {
+ logger.debug("modified");
+ configure(context);
+ }
+
+ @Deactivate
+ private void deactivate() {
+ logger.debug("deactivate");
+ clearRewriter();
+ }
+
+ private synchronized void configure(final ComponentContext context) {
+ logger.info("configuring URL rewriter");
+ final Dictionary properties = context.getProperties();
+ final String rules = PropertiesUtil.toString(properties.get(REWRITE_RULES_PARAMETER), DEFAULT_REWRITE_RULES);
+
+ final Document document = createDocument(rules);
+ if (document == null) {
+ logger.error("creating rules document failed");
+ return;
+ }
+
+ final Conf conf = new DocumentConf(document);
+ conf.initialise();
+ clearRewriter();
+
+ if (conf.isOk()) {
+ logger.info("rewrite configuration is ok");
+ } else {
+ logger.error("rewrite configuration is NOT ok");
+ return;
+ }
+
+ rewriter = new UrlRewriter(conf);
+ logger.info("rewrite engine is enabled: {}", conf.isEngineEnabled());
+ if (conf.getRules() != null) {
+ logger.info("number of rewrite rules: {}", conf.getRules().size());
+ } else {
+ logger.info("no rewrite rules");
+ }
+ }
+
+ @Override
+ public void destroy() {
+ logger.debug("destroy()");
+ }
+
+ @Override
+ public void init(final FilterConfig filterConfig) throws ServletException {
+ logger.debug("init({})", filterConfig);
+ }
+
+ @Override
+ public void doFilter(final ServletRequest servletRequest, final ServletResponse servletResponse, final FilterChain filterChain) throws IOException, ServletException {
+ logger.debug("do filter");
+ if (rewriter != null && servletRequest instanceof HttpServletRequest && servletResponse instanceof HttpServletResponse) {
+ final HttpServletRequest httpServletRequest = (HttpServletRequest) servletRequest;
+ final HttpServletResponse httpServletResponse = (HttpServletResponse) servletResponse;
+ final boolean handled = rewriter.processRequest(httpServletRequest, httpServletResponse, filterChain);
+ if (handled) {
+ logger.debug("request handled by rewriter");
+ return;
+ }
+ }
+ logger.debug("request NOT handled by rewriter");
+ filterChain.doFilter(servletRequest, servletResponse);
+ }
+
+ private Document createDocument(final String rules) {
+ if (StringUtils.isBlank(rules)) {
+ logger.warn("given rules are blank");
+ return null;
+ }
+
+ final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+ factory.setValidating(true);
+ factory.setNamespaceAware(true);
+ factory.setIgnoringComments(true);
+ factory.setIgnoringElementContentWhitespace(true);
+
+ try {
+ final String systemId = "";
+ final ConfHandler confHandler = new ConfHandler(systemId);
+ final DocumentBuilder documentBuilder = factory.newDocumentBuilder();
+ documentBuilder.setErrorHandler(confHandler);
+ documentBuilder.setEntityResolver(confHandler);
+
+ final InputStream inputStream = new ByteArrayInputStream(rules.getBytes("UTF-8"));
+ final Document document = documentBuilder.parse(inputStream); // , systemId);
+ IOUtils.closeQuietly(inputStream);
+ return document;
+ } catch (Exception e) {
+ logger.error("error creating document from rules property", e);
+ return null;
+ }
+ }
+
+ private synchronized void clearRewriter() {
+ if (rewriter != null) {
+ rewriter.destroy();
+ rewriter = null;
+ }
+ }
+
+ public class DocumentConf extends Conf {
+
+ public DocumentConf(final Document rules) {
+ processConfDoc(rules);
+ // TODO check docProcessed
+ initialise();
+ // TODO set loadedDate
+ }
+
+ }
+
+ // TODO
+ public class ConfHandler extends DefaultHandler {
+
+ protected final String systemId;
+
+ public ConfHandler(final String systemId) {
+ this.systemId = systemId;
+ }
+
+ }
+
+}
diff --git a/src/main/resources/OSGI-INF/metatype/metatype.properties b/src/main/resources/OSGI-INF/metatype/metatype.properties
new file mode 100644
index 0000000..38be239
--- /dev/null
+++ b/src/main/resources/OSGI-INF/metatype/metatype.properties
@@ -0,0 +1,29 @@
+#
+# 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.
+#
+
+service.ranking.name = service ranking
+service.ranking.description = service property for identifying the service's ranking number
+
+sling.filter.scope.name = filter scopes
+sling.filter.scope.description = see http://sling.apache.org/documentation/the-sling-engine/filters.html
+
+org.apache.sling.urlrewriter.label = Apache Sling URL Rewriter
+org.apache.sling.urlrewriter.description = multi-purpose service for altering HTTP requests/responses based on Tuckey's UrlRewriteFilter
+org.apache.sling.urlrewriter.rewrite.rules.name = rewrite rules (urlrewrite.xml)
+org.apache.sling.urlrewriter.rewrite.rules.description = see http://urlrewritefilter.googlecode.com/svn/trunk/src/doc/manual/4.0/index.html#configuration
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 10/17: [maven-release-plugin]
prepare for next development iteration
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit 4ef2fe93819084c7cafcd8a96ab7620b18b48058
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Feb 24 14:23:52 2015 +0000
[maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1661963 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 0406dbb..9f2c121 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
</parent>
<artifactId>org.apache.sling.urlrewriter</artifactId>
- <version>0.0.2</version>
+ <version>0.0.3-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>Apache Sling URL Rewriter</name>
@@ -42,9 +42,9 @@
</properties>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.urlrewriter-0.0.2</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.urlrewriter-0.0.2</developerConnection>
- <url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.urlrewriter-0.0.2</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/urlrewriter</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/urlrewriter</developerConnection>
+ <url>http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/urlrewriter</url>
</scm>
<dependencies>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 11/17: SLING-4698 - Set
parent.relativePath to empty for all modules
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit 57ccd39d606a620d726da307d11586eecc537780
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu May 7 10:14:40 2015 +0000
SLING-4698 - Set parent.relativePath to empty for all modules
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1678154 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 9f2c121..6c069db 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
<version>22</version>
- <relativePath>../../../parent/pom.xml</relativePath>
+ <relativePath/>
</parent>
<artifactId>org.apache.sling.urlrewriter</artifactId>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 13/17: Contrib: remove
superflous sling.java.version=6 as it's the default now
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit af7f0af178d9115ed70b6fc563c6842c880e0333
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Thu Jun 25 13:16:35 2015 +0000
Contrib: remove superflous sling.java.version=6 as it's the default now
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1687508 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 1 -
1 file changed, 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 1d270fb..accf815 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,7 +38,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
- <sling.java.version>6</sling.java.version>
</properties>
<scm>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 17/17: SLING-7167 Adjust
READMEs
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit 115febcf3713400b86784bed11d1088e38244dd4
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Oct 3 10:05:13 2017 +0000
SLING-7167 Adjust READMEs
add uniform header linking to Sling project
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1810909 13f79535-47bb-0310-9956-ffa450edef68
---
README.md | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 8e996bd..39a7be9 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
-Apache Sling URL Rewriter
-=========================
+# Apache Sling URL Rewriter
+
+This module is part of the [Apache Sling](https://sling.apache.org) project.
multi-purpose service for altering HTTP requests/responses based on Tuckey's UrlRewriteFilter
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 02/17: SLING-3518 remove
default name, don't use properties for label and description
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit 7b37363fb3ef4227deb27702974dcc4017d17fd2
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Tue Jun 17 04:25:34 2014 +0000
SLING-3518 remove default name, don't use properties for label and description
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1603053 13f79535-47bb-0310-9956-ffa450edef68
---
.../java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java | 5 ++---
src/main/resources/OSGI-INF/metatype/metatype.properties | 2 --
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java b/src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java
index 6a476ad..1901a48 100644
--- a/src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java
+++ b/src/main/java/org/apache/sling/urlrewriter/SlingUrlRewriteFilter.java
@@ -56,9 +56,8 @@ import org.w3c.dom.Document;
import org.xml.sax.helpers.DefaultHandler;
@Component(
- name = "org.apache.sling.urlrewriter.SlingUrlRewriteFilter",
- label = "%org.apache.sling.urlrewriter.label",
- description = "%org.apache.sling.urlrewriter.description",
+ label = "Apache Sling URL Rewriter",
+ description = "multi-purpose service for altering HTTP requests/responses based on Tuckey's UrlRewriteFilter",
immediate = true,
metatype = true
)
diff --git a/src/main/resources/OSGI-INF/metatype/metatype.properties b/src/main/resources/OSGI-INF/metatype/metatype.properties
index 38be239..91ef40c 100644
--- a/src/main/resources/OSGI-INF/metatype/metatype.properties
+++ b/src/main/resources/OSGI-INF/metatype/metatype.properties
@@ -23,7 +23,5 @@ service.ranking.description = service property for identifying the service's ran
sling.filter.scope.name = filter scopes
sling.filter.scope.description = see http://sling.apache.org/documentation/the-sling-engine/filters.html
-org.apache.sling.urlrewriter.label = Apache Sling URL Rewriter
-org.apache.sling.urlrewriter.description = multi-purpose service for altering HTTP requests/responses based on Tuckey's UrlRewriteFilter
org.apache.sling.urlrewriter.rewrite.rules.name = rewrite rules (urlrewrite.xml)
org.apache.sling.urlrewriter.rewrite.rules.description = see http://urlrewritefilter.googlecode.com/svn/trunk/src/doc/manual/4.0/index.html#configuration
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 05/17: SLING-3518 add a
multipurpose filter based on Tuckey's UrlRewriteFilter
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit 65390da7fa8ca7a1541472f6627f116cc2dba8c7
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sat Feb 14 16:39:53 2015 +0000
SLING-3518 add a multipurpose filter based on Tuckey's UrlRewriteFilter
* remove duplicate bundle settings
* require configuration for component
* make filter final
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1659805 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 --
.../apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java | 8 +++++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4f5f441..328c0cf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -124,8 +124,6 @@
<extensions>true</extensions>
<configuration>
<instructions>
- <Bundle-Category>sling</Bundle-Category>
- <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Export-Package/>
<Embed-Dependency>
org.apache.sling.commons.osgi;inline="org/apache/sling/commons/osgi/PropertiesUtil.*"
diff --git a/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java b/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java
index fbc5d7f..6427889 100644
--- a/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java
+++ b/src/main/java/org/apache/sling/urlrewriter/internal/SlingUrlRewriteFilter.java
@@ -37,6 +37,7 @@ import javax.xml.parsers.DocumentBuilderFactory;
import org.apache.commons.io.IOUtils;
import org.apache.felix.scr.annotations.Activate;
import org.apache.felix.scr.annotations.Component;
+import org.apache.felix.scr.annotations.ConfigurationPolicy;
import org.apache.felix.scr.annotations.Deactivate;
import org.apache.felix.scr.annotations.Modified;
import org.apache.felix.scr.annotations.Properties;
@@ -59,7 +60,8 @@ import org.xml.sax.helpers.DefaultHandler;
label = "Apache Sling URL Rewriter",
description = "multi-purpose service for altering HTTP requests/responses based on Tuckey's UrlRewriteFilter",
immediate = true,
- metatype = true
+ metatype = true,
+ policy = ConfigurationPolicy.REQUIRE
)
@Service
@Properties({
@@ -68,7 +70,7 @@ import org.xml.sax.helpers.DefaultHandler;
@Property(name = Constants.SERVICE_RANKING, intValue = 0, propertyPrivate = false),
@Property(name = EngineConstants.SLING_FILTER_SCOPE, value = {EngineConstants.FILTER_SCOPE_REQUEST, EngineConstants.FILTER_SCOPE_FORWARD})
})
-public class SlingUrlRewriteFilter implements Filter {
+public final class SlingUrlRewriteFilter implements Filter {
private UrlRewriter rewriter;
@@ -101,7 +103,7 @@ public class SlingUrlRewriteFilter implements Filter {
clearRewriter();
}
- private synchronized void configure(final ComponentContext context) {
+ private void configure(final ComponentContext context) {
logger.info("configuring URL rewriter");
final Dictionary properties = context.getProperties();
final String rules = PropertiesUtil.toString(properties.get(REWRITE_RULES_PARAMETER), DEFAULT_REWRITE_RULES);
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 16/17: Switch to parent pom 26
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit c09e3904471958d3998d52d834fc8d6bab1eb6ef
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Sun Jan 3 14:07:46 2016 +0000
Switch to parent pom 26
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1722720 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index ef17d7f..d2d1b95 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>25</version>
+ <version>26</version>
<relativePath/>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.
[sling-org-apache-sling-urlrewriter] 15/17: Update the contrib
reactor to parent 25
Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-urlrewriter.git
commit b5e493dbd3ac2b4651ab0fe368e702e576bea708
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Mon Oct 5 10:04:15 2015 +0000
Update the contrib reactor to parent 25
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1706781 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 423e680..ef17d7f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
- <version>24</version>
+ <version>25</version>
<relativePath/>
</parent>
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.