You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2019/06/26 11:52:31 UTC

[sling-parent] 01/01: Prevent weird URL inheritance in Maven

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch feature/disable-url-inheritance-rule
in repository https://gitbox.apache.org/repos/asf/sling-parent.git

commit 327d304bce0b51297c52e175c958ac8772726d19
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Jun 26 13:52:19 2019 +0200

    Prevent weird URL inheritance in Maven
---
 sling-parent/pom.xml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sling-parent/pom.xml b/sling-parent/pom.xml
index 6d6b37a..275f80e 100644
--- a/sling-parent/pom.xml
+++ b/sling-parent/pom.xml
@@ -15,7 +15,8 @@
     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">
+<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"
+    child.project.url.inherit.append.path="false">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -152,7 +153,7 @@
                         <configuration>
                             <rules>
                                 <requireMavenVersion>
-                                    <version>3.3.9</version>
+                                    <version>3.6.1</version><!-- for https://issues.apache.org/jira/browse/MNG-5951 and https://issues.apache.org/jira/browse/MNG-6059-->
                                 </requireMavenVersion>
                             </rules>
                         </configuration>