Skip to content

Commit 3a4bec2

Browse files
authored
Make 2nd example consistent
1 parent bb7148b commit 3a4bec2

1 file changed

Lines changed: 13 additions & 28 deletions

File tree

content/packages/guides/configuring-apache-maven-for-use-with-github-packages.md

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -93,34 +93,19 @@ If your instance has subdomain isolation disabled:
9393
<profiles>
9494
<profile>
9595
<id>github</id>
96-
<repositories>
97-
<repository>
98-
<id>central</id>
99-
<url>https://repo1.maven.org/maven2</url>
100-
</repository>
101-
<repository>
102-
<id>github</id>
103-
<name>GitHub OWNER Apache Maven Packages</name>
104-
<url>https://maven.pkg.github.com/OWNER/REPOSITORY</url>
105-
<releases>
106-
<enabled>true</enabled>
107-
</releases>
108-
<snapshots>
109-
<enabled>true</enabled>
110-
</snapshots>
111-
</repository>
112-
<repository>
113-
<id>github</id>
114-
<name>GitHub OWNER Apache Maven Packages</name>
115-
<url>https://maven.pkg.github.com/OWNER/REPOSITORY-2</url>
116-
<releases>
117-
<enabled>true</enabled>
118-
</releases>
119-
<snapshots>
120-
<enabled>true</enabled>
121-
</snapshots>
122-
</repository>
123-
</repositories>
96+
<repositories>
97+
<repository>
98+
<id>central</id>
99+
<url>https://repo1.maven.org/maven2</url>
100+
</repository>
101+
<repository>
102+
<id>github</id>
103+
<url>https://maven.pkg.github.com/OWNER/*</url>
104+
<snapshots>
105+
<enabled>true</enabled>
106+
</snapshots>
107+
</repository>
108+
</repositories>
124109
</profile>
125110
</profiles>
126111

0 commit comments

Comments
 (0)