[ https://issues.apache.org/jira/browse/TUSCANY-3845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anuj B updated TUSCANY-3845: ---------------------------- Attachment: TUSCANY-3845.patch Patch to fix the build error > maven build fails with maven 3.0 with incorrect dependency scope error message > ------------------------------------------------------------------------------ > > Key: TUSCANY-3845 > URL: https://issues.apache.org/jira/browse/TUSCANY-3845 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Integration Tests > Affects Versions: Java-SCA-2.0-Beta1 > Environment: windows, maven 3.0.1 > Reporter: Anuj B > Priority: Minor > Attachments: TUSCANY-3845.patch > > > Get the sources from svn and run the maven build with maven 3.0.1 > Output is: > [INFO] Scanning for projects... > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project org.apache.tuscany.sca:itest-spi:2.0-SNAPSHOT > (C:\Anuj\installed\tuscany-sca-svn-trunk\testing\itest\spi\pom.xml) has 2 > errors > [ERROR] > 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.scope' > for org.apache.ant:ant-apache-regexp:jar must be one of [compile > , runtime, system] but is 'test'. @ line 70, column 25 > [ERROR] > 'build.plugins.plugin[org.apache.maven.plugins:maven-antrun-plugin].dependencies.dependency.scope' > for jakarta-regexp:jakarta-regexp:jar must be one of [compile, r > untime, system] but is 'test'. @ line 76, column 26 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > C:\Anuj\installed\tuscany-sca-svn-trunk> -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira