-
Task
-
Resolution: Not A Defect
-
Minor
-
None
I wanted to do some contribution to the prometheus plugin. I struck in first step itself. Not able to build the plugin in local.
I am running the below command to build it:
mvn clean install -U -X
Error:
[FATAL] Non-resolvable parent POM for org.jenkins-ci.plugins:prometheus:2.0.8-SNAPSHOT: Could not find artifact org.jenkins-ci.plugins:plugin:pom:3.56 in repo.jenkins-ci.org (https://repo.jenkins-ci.org/public/) and 'parent.relativePath' points at no local POM @ line 4, column 11
I have added the ~/.m2/settings.xml with below content:
<settings> <pluginGroups> <pluginGroup>org.jenkins-ci.tools</pluginGroup> </pluginGroups> <profiles> <!-- Give access to Jenkins plugins --> <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>https://repo.jenkins-ci.org/public/</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>repo.jenkins-ci.org</id> <url>https://repo.jenkins-ci.org/public/</url> </pluginRepository> </pluginRepositories> </profile> </profiles> <mirrors> <mirror> <id>repo.jenkins-ci.org</id> <url>https://repo.jenkins-ci.org/public/</url> <mirrorOf>m.g.o-public</mirrorOf> </mirror> </mirrors> </settings>