Created
March 8, 2019 13:44
-
-
Save baymac/de891c463ccc5316fce475ef87025d19 to your computer and use it in GitHub Desktop.
This will let you use short names for Jenkins Maven plugins (i.e. hpi:create instead of org.jenkins-ci.tools:maven-hpi-plugin:1.61:create), though this is unnecessary once you are already working in a plugin project (only useful for initial hpi:create).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment