Skip to content

Commit bc526eb

Browse files
authored
chore(docs) update README to exclude central repository from mirror (#661)
1 parent d8a3ec6 commit bc526eb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Maven archetypes to help you create new components involving Jenkins, such as pl
44

55
[![GitHub release](https://img.shields.io/github/release/jenkinsci/archetypes.svg?label=release)](https://github.com/jenkinsci/archetypes/releases/latest)
66

7-
# Usage
7+
## Usage
88

99
To see all currently released archetypes and pick one to instantiate:
1010

@@ -24,21 +24,22 @@ This has been deprecated in favor of the new archetypes, which cover more scenar
2424
The NetBeans IDE also offers a [plugin for Jenkins development](https://github.com/stapler/netbeans-stapler-plugin/blob/master/README.md) which offers a Jenkins plugin archetype via the **File » New Project** wizard.
2525

2626
If you have defined a mirror like this in your `settings.xml` you might _not_ be able to use filter option as described above.
27+
2728
```xml
2829
<mirror>
2930
<id>repo.jenkins-ci.org-all</id>
3031
<url>https://repo.jenkins-ci.org/public</url>
31-
<mirrorOf>*</mirrorOf>
32+
<mirrorOf>*,!central</mirrorOf>
3233
</mirror>
3334
```
3435

35-
# Changes
36+
## Changes
3637

3738
See [GitHub Releases](https://github.com/jenkinsci/archetypes/releases) for changes.
3839

3940
For older versions, see the [archive](https://github.com/jenkinsci/archetypes/blob/314ac1a0b753179a63fe8422ee4d2fae024a7df5/README.md#14-2018-mar-12).
4041

41-
# Development
42+
## Development
4243

4344
To create a new archetype, file a pull request creating a new `module`, following the examples currently here. Important pieces:
4445

0 commit comments

Comments
 (0)