From 70e31ad40ed148e277556cb2b99dd38c93ab6496 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Wed, 14 Dec 2022 16:43:34 +0100 Subject: [PATCH] OZG-3284 build source package --- pluto-interface/pom.xml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/pluto-interface/pom.xml b/pluto-interface/pom.xml index 02fee5f14..4f1f21584 100644 --- a/pluto-interface/pom.xml +++ b/pluto-interface/pom.xml @@ -101,6 +101,8 @@ </dependencies> <build> + <sourceDirectory>src/main/protobuf</sourceDirectory> + <extensions> <extension> <groupId>kr.motd.maven</groupId> @@ -133,7 +135,7 @@ </execution> </executions> </plugin> - + <!-- TODO move to common --> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> @@ -162,6 +164,24 @@ </dependency> </dependencies> </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>3.2.1</version> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + + <configuration> + <finalName>pluto-interface</finalName> + </configuration> + </plugin> </plugins> </build> -- GitLab