Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-1652

Missing repositories section in pom.xml causes build failures during release process

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Fedora 4.3.0
    • Fix Version/s: Fedora 4.4.0
    • Component/s: f4-audit
    • Labels:
      None
    • Sprint:
      Sprint 2015 - 9

      Description

      I can build for the release if I have the section added. If this section is missing, I get:

      [nruest@gorille:fcrepo-audit] (git)-[local-release]-$ mvn release:clean -V
      Apache Maven 3.0.5
      Maven home: /usr/share/maven
      Java version: 1.8.0_45, vendor: Oracle Corporation
      Java home: /usr/lib/jvm/java-8-oracle/jre
      Default locale: en_CA, platform encoding: UTF-8
      OS name: "linux", version: "3.19.0-23-generic", arch: "amd64", family: "unix"
      [INFO] Scanning for projects...
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]
      [ERROR] The project org.fcrepo:fcrepo-audit:4.2.1-SNAPSHOT (/home/nruest/git/fcrepo-release/fcrepo-audit/pom.xml) has 1 error
      [ERROR] Non-resolvable parent POM: Could not find artifact org.fcrepo:fcrepo:pom:4.2.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 6, 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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nruest Nick Ruest
                Reporter:
                nruest Nick Ruest
                Reviewer:
                Andrew Woods
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: