From 5854b1df5bc6ac1b07e5f8462eb666ddac1f3c60 Mon Sep 17 00:00:00 2001 From: Bruno Borges Date: Mon, 10 Jul 2023 11:29:40 -0700 Subject: [PATCH] Java: Add source plugin (#1925) This ensures that a `mvn install` will also post source JARs into the local repository, helping developers navigate through the source code while debugging. --- java/pom.xml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/java/pom.xml b/java/pom.xml index d0bba63ab5..b141f87f17 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -1,7 +1,8 @@ - + 4.0.0 @@ -441,6 +442,20 @@ + + org.apache.maven.plugins + maven-source-plugin + 3.3.0 + + + attach-sources + verify + + jar-no-fork + + + + @@ -668,7 +683,7 @@ // Copyright (c) Microsoft. All rights reserved. - +