From 338e98bcd8f836a4bc5b7333f40f30966721ee6f Mon Sep 17 00:00:00 2001 From: rnimour Date: Thu, 18 Jul 2024 10:32:36 +0200 Subject: [PATCH 1/2] Add maven-source-plugin and build-helper-maven-plugin to attach mixed java+kotlin sources --- pom.xml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/pom.xml b/pom.xml index 02120ab7..807655a4 100644 --- a/pom.xml +++ b/pom.xml @@ -245,6 +245,37 @@ + + + + org.codehaus.mojo + build-helper-maven-plugin + + + generate-sources + + add-source + + + + src/main/kotlin + + + + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar + + + + From cd361b2a487c436d0feea4e55105f6f14e0f4807 Mon Sep 17 00:00:00 2001 From: rnimour Date: Thu, 18 Jul 2024 10:44:37 +0200 Subject: [PATCH 2/2] remove explicit maven-source-plugin, since `source:jar` is called in GitHub workflow --- pom.xml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pom.xml b/pom.xml index 807655a4..fbc47387 100644 --- a/pom.xml +++ b/pom.xml @@ -264,18 +264,6 @@ - - org.apache.maven.plugins - maven-source-plugin - - - attach-sources - - jar - - - -