Skip to content

Commit

Permalink
update contributing
Browse files Browse the repository at this point in the history
  • Loading branch information
carmine.dimacsio committed Jul 19, 2020
1 parent 3b991d3 commit 5275ed7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,23 @@ Contributors are not responsible for pushing packages to mavencentral and jcente
```shell
mvn clean package dokka:javadocJar
```

### Publish to Github Packages

Add `distributionManagement` to `pom.xml`

```xml
<distributionManagement>
<repository>
<id>github</id>
<name>Carmine M DiMascio</name>
<url>https://maven.pkg.github.com/cdimascio/java-dotenv</url>
</repository>
</distributionManagement>
```

```shell
# deploy to github packages
mvn deploy -Dregistry=https://maven.pkg.github.com/cdimascio -Dtoken=XXXX
```
https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-apache-maven-for-use-with-github-packages

0 comments on commit 5275ed7

Please sign in to comment.