You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2019/06/26 11:25:00 UTC

[jira] [Commented] (SLING-8537) Avoid weird url inheritance rules in Maven

    [ https://issues.apache.org/jira/browse/SLING-8537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873238#comment-16873238 ] 

Konrad Windszus commented on SLING-8537:
----------------------------------------

We should not yet implement this, as the feature from MNG-5951 is not supported yet by Maven Central and Nexus 2 (https://issues.sonatype.org/browse/NEXUS-19912). Also it seems that m2e does not yet support it...

> Avoid weird url inheritance rules in Maven
> ------------------------------------------
>
>                 Key: SLING-8537
>                 URL: https://issues.apache.org/jira/browse/SLING-8537
>             Project: Sling
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: Parent 35
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Parent 36
>
>
> As the {{project->url}} element is also used to generate the {{Bundle-DocUrl}} (https://github.com/bndtools/bnd/blob/master/maven/bnd-maven-plugin/README.md#default-bundle-headers) it would be nice to disable the unexpected Maven inheritance rules for that element: By default the value will be combined out of the {{parent value [+ path adjustment] + artifactId}} (https://github.com/apache/maven/blob/master/maven-model/src/main/mdo/maven.mdo#L186 and http://maven.apache.org/ref/3.6.1/maven-model-builder/#Inheritance_Assembly).
> Since Maven 3.6.0 this can be adjusted (https://issues.apache.org/jira/browse/MNG-5951). We should leverage that option as the default inheritance rule for URLs does not make any sense for Sling.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)