Add maven-source-plugin to generate source jar
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/commit/47ea1058 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/tree/47ea1058 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/diff/47ea1058 Branch: refs/heads/master Commit: 47ea1058703b3046d478458524184d127c0c2077 Parents: 57df31a Author: Raman Gupta <[email protected]> Authored: Fri Nov 2 02:07:33 2018 -0400 Committer: Raman Gupta <[email protected]> Committed: Fri Nov 2 02:07:33 2018 -0400 ---------------------------------------------------------------------- pom.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/blob/47ea1058/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index a5b3020..a087c3e 100644 --- a/pom.xml +++ b/pom.xml @@ -124,6 +124,18 @@ <artifactId>maven-surefire-plugin</artifactId> <version>${surefire.plugin.version}</version> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </pluginManagement> <plugins>
