Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-5827

pluginArtifacts in pom.xml point to wrong groupId

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.10.0
    • None
    • None
    • None

      In some pom.xml we have

                              <pluginArtifact>
                                  <groupId>com.atlassian.fecru</groupId>
                                  <artifactId>fecru-commithooks-plugin</artifactId>
                                  <version>${project.parent.version}</version>
                              </pluginArtifact>
                          </pluginArtifacts>

      while fecru-commithooks-plugin inherits a different groupId:

          <parent>
              <groupId>com.atlassian.fecru.plugin.commithook</groupId>

      In effect we get

      fecru-reviewcommithook-plugin $ atlas-debug
      ...
      [ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-amps-dispatcher-plugin:5.1.18:debug (default-cli) 
      on project fecru-reviewcommithook-plugin: Unable to execute mojo: Unable to find artifact. 
      Failure to find com.atlassian.fecru:fecru-commithooks-plugin:jar:3.10.0-SNAPSHOT 
      in https://m2proxy.atlassian.com/content/groups/internal was cached in the local repository, 
      resolution will not be reattempted until the update interval of central has elapsed or updates are forced

              kcichy Kamil Cichy (Inactive)
              kcichy Kamil Cichy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: