Uploaded image for project: 'OODT'
  1. OODT
  2. OODT-369

Building with Maven3

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6
    • Component/s: build proces
    • Labels:
    • Environment:

      Mac

      Description

      I get the following build error.

      [INFO] Scanning for projects...
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]
      [ERROR] The project org.apache.oodt:opendapps:0.4-SNAPSHOT (/Users/adamestrada/Documents/Apache/OODT/opendapps/pom.xml) has 1 error
      [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.oodt:oodt-core:pom:0.4-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 22, column 11 -> [Help 2]
      [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
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

      The fix for this is to add

      <relativePath>../core/pom.xml</relativePath>

      within the <parent> tags in opendapps/pom.xml

      Adam

        Attachments

          Activity

            People

            • Assignee:
              chrismattmann Chris A. Mattmann
              Reporter:
              adamestrada Adam Estrada
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: