maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6207) Create WARNINGs in case of using system scope
Date Wed, 07 Jun 2017 20:53:18 GMT

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

ASF GitHub Bot commented on MNG-6207:
-------------------------------------

GitHub user dejan2609 opened a pull request:

    https://github.com/apache/maven/pull/123

    [MNG-6207] display deprecation build warning for dependencies with scope 'system' declaration

    Note: this PR is created instead of  #119 
    
    @khmarbaise: FYI

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dejan2609/maven MNG-6207

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven/pull/123.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #123
    
----
commit 1ddb1f3982a031105384716a1b983228221e00c5
Author: dejan2609 <dejan2609@gmail.com>
Date:   2017-05-20T13:42:43Z

    [MNG-6207] display deprecation build warning for dependencies with scope 'system' declaration
    
    Note about tests: existing 'systemPath' related tests are reused/expanded (rationale:
scope 'system' and 'systemPath' are mutually dependent)

----


> Create WARNINGs in case of using system scope
> ---------------------------------------------
>
>                 Key: MNG-6207
>                 URL: https://issues.apache.org/jira/browse/MNG-6207
>             Project: Maven
>          Issue Type: Improvement
>    Affects Versions: 3.5.0
>            Reporter: Karl Heinz Marbaise
>            Assignee: Karl Heinz Marbaise
>            Priority: Minor
>             Fix For: 3.5.1
>
>
> Currently the documentation has already marked the usage of:
> {code:xml}
>  <dependency>
>       <groupId>javax.sql</groupId>
>       <artifactId>jdbc-stdext</artifactId>
>       <version>2.0</version>
>       <scope>system</scope>
>       <systemPath>${java.home}/lib/rt.jar</systemPath>
>     </dependency>
> {code}
> as [deprecated|https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#System_Dependencies].
So we should start to produce WARNING during a build if someone uses it...



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message