Skip to content

Commit 4e7d920

Browse files
authored
Branch was updated using the 'autoupdate branch' Actions workflow.
2 parents fb9103e + 4fcf7ad commit 4e7d920

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

content/github/creating-cloning-and-archiving-repositories/licensing-a-repository.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You're under no obligation to choose a license. However, without a license, the
2323

2424
### Determining the location of your license
2525

26-
Most people place their license text in a file named `LICENSE.txt` (or `LICENSE.md`) in the root of the repository; [here's an example from Hubot](https://github.com/github/hubot/blob/master/LICENSE.md).
26+
Most people place their license text in a file named `LICENSE.txt` (or `LICENSE.md` or `LICENSE.rst`) in the root of the repository; [here's an example from Hubot](https://github.com/github/hubot/blob/master/LICENSE.md).
2727

2828
Some projects include information about their license in their README. For example, a project's README may include a note saying "This project is licensed under the terms of the MIT license."
2929

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

+8-8
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ If your instance has subdomain isolation enabled:
5757
<repository>
5858
<id>central</id>
5959
<url>https://repo1.maven.org/maven2</url>
60-
<releases><enabled>true</enabled></releases>
61-
<snapshots><enabled>true</enabled></snapshots>
6260
</repository>
6361
<repository>
6462
<id>github</id>
65-
<name>GitHub OWNER Apache Maven Packages</name>
66-
<url>https://{% if currentVersion == "free-pro-team@latest" %}maven.pkg.github.com{% else %}maven.HOSTNAME{% endif %}/OWNER/REPOSITORY</url>
63+
<url>https://{% if currentVersion == "free-pro-team@latest" %}maven.pkg.github.com{% else %}maven.HOSTNAME{% endif %}/OWNER/*</url>
64+
<snapshots>
65+
<enabled>true</enabled>
66+
</snapshots>
6767
</repository>
6868
</repositories>
6969
</profile>
@@ -99,13 +99,13 @@ If your instance has subdomain isolation disabled:
9999
<repository>
100100
<id>central</id>
101101
<url>https://repo1.maven.org/maven2</url>
102-
<releases><enabled>true</enabled></releases>
103-
<snapshots><enabled>true</enabled></snapshots>
104102
</repository>
105103
<repository>
106104
<id>github</id>
107-
<name>GitHub OWNER Apache Maven Packages</name>
108-
<url>https://HOSTNAME/_registry/maven/OWNER/REPOSITORY</url>
105+
<url>https://maven.pkg.github.com/OWNER/*</url>
106+
<snapshots>
107+
<enabled>true</enabled>
108+
</snapshots>
109109
</repository>
110110
</repositories>
111111
</profile>
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{% data variables.product.prodname_registry %} supports `SNAPSHOT` versions of Apache Maven. To use a repository for downloading this type of artifact, you must enable SNAPSHOTS in your *~/.m2/settings.xml* file.
1+
{% data variables.product.prodname_registry %} supports `SNAPSHOT` versions of Apache Maven. To use the {% data variables.product.prodname_registry %} repository for downloading `SNAPSHOT` artifacts, enable SNAPSHOTS in the POM of the consuming project or your *~/.m2/settings.xml* file.

0 commit comments

Comments
 (0)