Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3845

maven build fails with maven 3.0 with incorrect dependency scope error message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Java-SCA-2.0-Beta1
    • None
    • None
    • windows, maven 3.0.1
    • Patch Available

    Description

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

      Attachments

        1. TUSCANY-3845.patch
          0.7 kB
          Anuj B

        Activity

          People

            Unassigned Unassigned
            anujb_2000 Anuj B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: