Wrong warning if you use multiple scopes for one dependency -----------------------------------------------------------
Key: MNG-5072 URL: http://jira.codehaus.org/browse/MNG-5072 Project: Maven 2 & 3 Issue Type: Bug Components: Dependencies Affects Versions: 3.0.3 Reporter: Conny Kreyssel Example POM: <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.kreyssel.maven.multiscopebug</groupId> <artifactId>multiscopebug</artifactId> <version>0.0.1-SNAPSHOT</version> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.1</version> <scope>test,runtime</scope> </dependency> </dependencies> </project> If you use multiple scope for a dependencies you get a warning like: [WARNING] Some problems were encountered while building the effective model for org.kreyssel.maven.multirepos:multirepos-parent:jar:0.0.1-SNAPSHOT [WARNING] 'dependencies.dependency.scope' for junit:junit:jar must be one of [pr ovided, compile, runtime, test, system] but is 'test,runtime'. @ line 13, column 11 Please change it. Thanks. -- 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