Skip to content

Conversation

@snazy
Copy link
Member

@snazy snazy commented Nov 21, 2025

This change ensures that publishing tasks work correctly, the right MavenPublications are being used and no duplicate MavenPublications exist.

  • The Gradle plugin-plugin uses the name pluginMaven for the "main" publication. This name is then used instead of the common name maven, removing a duplicate (shadowing) publication.
  • The Maven plugin-plugin uses the name mavenJava for the "main" publication. This name is then used instead of the common name maven, removing a duplicate (shadowing) publication.
  • The Gradle plugin-plugin adds another publication for the "plugin marker" artifact, which only consists of a pom.xml. Adding the license and parent information to that pom as well.

@snazy
Copy link
Member Author

snazy commented Nov 21, 2025

Depends on #65

@snazy snazy force-pushed the ar-maven-pub-work branch from 3b9edcb to c77d058 Compare November 22, 2025 10:14
@snazy snazy marked this pull request as ready for review November 22, 2025 10:14
@snazy snazy requested a review from pingtimeout November 22, 2025 10:14
This change ensures that publishing tasks work correctly, the right `MavenPublications` are being used and no duplicate `MavenPublications` exist.

* The Gradle plugin-plugin uses the name `pluginMaven` for the "main" publication. This name is then used instead of the common name `maven`, removing a duplicate (shadowing) publication.
* The Maven plugin-plugin uses the name `mavenJava` for the "main" publication. This name is then used instead of the common name `maven`, removing a duplicate (shadowing) publication.
* The Gradle plugin-plugin adds another publication for the "plugin marker" artifact, which only consists of a pom.xml. Adding the license and parent information to that pom as well.
@snazy snazy force-pushed the ar-maven-pub-work branch from c77d058 to 88c9633 Compare December 2, 2025 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant