Uploaded image for project: 'TFS Artifactory Plugin'
  1. TFS Artifactory Plugin
  2. TFSAP-14

Maven release:prepare results in cannot find parent pom because it is looking in wrong repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Environment:

      Description

      Running mvn fase works with configured repository releases_mvn_all:
      2019-05-21T13:42:30.4021397Z Downloaded from artifactory-release: https://artifactory.***.net/artifactory/releases_mvn_all/jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta-8.jar (232 kB at 35 kB/s)

      Verify clean fase fails because it uses mvnpublic repository which is not configured: 
      2019-05-21T13:42:32.8821989Z [main] INFO org.apache.maven.shared.release.phase.RunPrepareGoalsPhase - Executing goals 'clean verify'...
      2019-05-21T13:42:32.9343065Z [main] WARNING org.apache.maven.shared.release.exec.InvokerMavenExecutor - Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance.
      2019-05-21T13:42:36.4847969Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [INFO] Scanning for projects...
      2019-05-21T13:42:37.4654542Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - Downloading from artifactory: https://artifactory.***.net/artifactory/mvnpublic/nl/ing/riaf/riaf-parent-pom/5.4.2/riaf-parent-pom-5.4.2.pom
      2019-05-21T13:42:38.8089296Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      2019-05-21T13:42:38.8233117Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [FATAL] Non-resolvable parent POM for nl.**.api:pChangeAccountMaturity:00.00.03.30: Could not find artifact nl.**.riaf:riaf-parent-pom:pom:5.4.2 in artifactory (https://artifactory.***.net/artifactory/mvnpublic) and 'parent.relativePath' points at wrong local POM @ line 5, column 13
      2019-05-21T13:42:38.8235898Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - @
      2019-05-21T13:42:38.8351512Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [ERROR] The build could not read 1 project -> [Help 1]
      2019-05-21T13:42:38.8352344Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [ERROR]
      2019-05-21T13:42:38.8352988Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [ERROR] The project nl.***.api:pChangeAccountMaturity:00.00.03.30 (P:\A4-2_work\1587\s\pom.xml) has 1 error
      2019-05-21T13:42:38.8665221Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [ERROR] Non-resolvable parent POM for nl.***.api:pChangeAccountMaturity:00.00.03.30: Could not find artifact nl.ing.riaf:riaf-parent-pom:pom:5.4.2 in artifactory (https://artifactory.***.net/artifactory/mvnpublic) and 'parent.relativePath' points at wrong local POM @ line 5, column 13 -> [Help 2]
      2019-05-21T13:42:38.8667497Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [ERROR]
      2019-05-21T13:42:38.8679373Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      2019-05-21T13:42:38.8680639Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      2019-05-21T13:42:38.8681630Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [ERROR]
      2019-05-21T13:42:38.8682622Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [ERROR] For more information about the errors and possible solutions, please read the following articles:
      2019-05-21T13:42:38.8683751Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      2019-05-21T13:42:38.8684840Z [Thread-6] INFO org.apache.maven.shared.release.exec.InvokerMavenExecutor - [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Peter7575 Peter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: