Skip to content

Commit c24f6bd

Browse files
committed
Adding Source jar creation to mqttv5 client
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
1 parent 33331f0 commit c24f6bd

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

org.eclipse.paho.mqttv5.client/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,20 @@
8484
</executions>
8585
</plugin>
8686

87+
<plugin>
88+
<groupId>org.apache.maven.plugins</groupId>
89+
<artifactId>maven-source-plugin</artifactId>
90+
<version>${mvnsource.version}</version>
91+
<executions>
92+
<execution>
93+
<id>attach-sources</id>
94+
<goals>
95+
<goal>jar</goal>
96+
</goals>
97+
</execution>
98+
</executions>
99+
</plugin>
100+
87101
<!-- <plugin>
88102
<groupId>org.apache.maven.plugins</groupId>
89103
<artifactId>maven-shade-plugin</artifactId>

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<tycho.version>1.1.0</tycho.version>
1717
<junit.version>4.12</junit.version>
1818
<javadoc.version>3.0.1</javadoc.version>
19+
<mvnsource.version>3.0.1</mvnsource.version>
1920
<test.exclude>**/*ConformantTest.java</test.exclude>
2021
<download.location>/home/data/httpd/download.eclipse.org/paho/releases/${project.version}/Java</download.location>
2122
</properties>

0 commit comments

Comments
 (0)