diff --git a/pluto-interface/pom.xml b/pluto-interface/pom.xml index 02fee5f14911fb5f468f1b425e3f15c49ac1a1c6..4f1f21584e7cb9b6987b1fa1d9468d9b5d91fc1b 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>