maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Solntsev (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-4444) Unable to use "test" scope dependencies
Date Mon, 16 Nov 2009 09:14:55 GMT

    [ http://jira.codehaus.org/browse/MNG-4444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198389#action_198389
] 

Andrei Solntsev commented on MNG-4444:
--------------------------------------

Benjamin, thank you!
Removing the <scope> really helped. Stricter validation rules!

> Unable to use "test" scope dependencies
> ---------------------------------------
>
>                 Key: MNG-4444
>                 URL: http://jira.codehaus.org/browse/MNG-4444
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>    Affects Versions: 3.0-alpha-3
>            Reporter: Andrei Solntsev
>            Assignee: Benjamin Bentmann
>            Priority: Blocker
>
> Maven build fails with the following error message:
> "[ERROR]   The project bla.bla-SNAPSHOT (C:\bla\pom.xml) has 1 error
> [ERROR]     'build.plugins.plugin[org.apache.maven.plugins:maven-surefire-plugin].dependencies.dependency.scope'
must be one of [compile, runtime, system] for org.testng:testng:jar:jdk15 but is 'test'.
> Maven2.* build this project without problems.

-- 
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

        

Mime
View raw message