-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix split repos when publishing to Sonatype Nexus
Unfortunately the Gradle Publish Plugin behaves erratically in combination with Sonatype Nexus. In particular if timing is bad, split repositories will be created. The only way I could find to mitigate this problem is the `de.marcphilipp.nexus-publish` plugin, which will create a Sonatype repository in a pre-step, then publish all artifacts to this repository. As far as I could see it works fine for releases and snapshots, has a shorter config and solves the problem at hand. Also compare gradle/gradle#5711 Signed-off-by: Peter Gafert <[email protected]>
- Loading branch information
1 parent
2b84aaf
commit 00ea9ed
Showing
2 changed files
with
7 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters