Skip to content

Commit

Permalink
add warning about setting pom packaging (#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielittner authored Oct 4, 2024
1 parent 2dc9686 commit 441932f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/central.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,12 @@ This configuration also determines the coordinates (`group:artifactId:version`)
POM_DEVELOPER_URL=https://github.com/username/
```

!!! warning

It's discouraged to set `packaging` on the POM, since it can lead to errors
or unintended behavior. The value will be automatically set based on the
project type if needed.

## Secrets

When publishing, you need to provide your Sonatype OSS credentials and signing GPG key.
Expand Down

0 comments on commit 441932f

Please sign in to comment.