Emit warning when dependency with scope pom but inproper type is declared
-------------------------------------------------------------------------

                 Key: MNG-4909
                 URL: http://jira.codehaus.org/browse/MNG-4909
             Project: Maven 2 & 3
          Issue Type: Improvement
          Components: Dependencies, POM
    Affects Versions: 3.0
            Reporter: Benjamin Bentmann
            Priority: Minor


Import of managed dependencies works only if the managed depencency uses scope 
{{import}} and is of type {{pom}}. The latter condition is easily 
forgotten/overlooked by users which then wonder why the import doesn't work. 
Maven should emit a validation warning to help troubleshoot this typo.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to