jenkinsci/appdynamics-plugin

Unable to build hpi from latest source

Closed this issue · 1 comments

Hi Miel,

The parent pom file is not accessible, hence unable to build the hpi file from Source. Here's the log

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.jenkins-ci.plugins:appdynamics-dashboard:1.0.3-SNAPSHOT (/Users/kumar.gangaatharan/Documents/appdynamics-plugin/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find org.jenkins-ci.plugins:plugin:pom:1.555 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 30, column 9 -> [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

When i try to browse through the central repo, there is no plugins folder, there's only a constant pool scanner folder.

Its available in Maven repositories: http://maven-repository.com/artifact/org.jenkins-ci.plugins/plugin/1.555

Perhaps you have missed to add the following section to your Maven settings.xml?

  <pluginGroups>
    <pluginGroup>org.jenkins-ci.tools</pluginGroup>
  </pluginGroups>
    <profile>
      <id>jenkins</id>
      <activation>
        <activeByDefault>true</activeByDefault> <!-- change this to false, if you don't like to have it on per default -->
      </activation>
      <repositories>
        <repository>
          <id>repo.jenkins-ci.org</id>
          <url>http://repo.jenkins-ci.org/public/</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>repo.jenkins-ci.org</id>
          <url>http://repo.jenkins-ci.org/public/</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>