Skip to content

Commit d042903

Browse files
committed
Fixing missing javadoc and source for utility and adding developer information to allow Maven Central Upload
Signed-off-by: James Sutton <james.sutton@uk.ibm.com>
1 parent 3e6b1e1 commit d042903

2 files changed

Lines changed: 40 additions & 3 deletions

File tree

org.eclipse.paho.sample.utility/pom.xml

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<artifactId>java-parent</artifactId>
77
<version>1.0.2</version>
88
</parent>
9-
9+
1010
<artifactId>org.eclipse.paho.mqtt.utility</artifactId>
1111
<packaging>jar</packaging>
1212

@@ -16,7 +16,7 @@
1616
<groupId>org.apache.maven.plugins</groupId>
1717
<artifactId>maven-compiler-plugin</artifactId>
1818
</plugin>
19-
19+
2020
<plugin>
2121
<artifactId>maven-assembly-plugin</artifactId>
2222
<configuration>
@@ -39,9 +39,34 @@
3939
</execution>
4040
</executions>
4141
</plugin>
42+
<plugin>
43+
<groupId>org.apache.maven.plugins</groupId>
44+
<artifactId>maven-source-plugin</artifactId>
45+
<executions>
46+
<execution>
47+
<id>attach-sources</id>
48+
<goals>
49+
<goal>jar</goal>
50+
</goals>
51+
</execution>
52+
</executions>
53+
</plugin>
54+
<plugin>
55+
<groupId>org.apache.maven.plugins</groupId>
56+
<artifactId>maven-javadoc-plugin</artifactId>
57+
<executions>
58+
<execution>
59+
<id>attach-javadocs</id>
60+
<goals>
61+
<goal>jar</goal>
62+
</goals>
63+
</execution>
64+
</executions>
65+
</plugin>
66+
4267
</plugins>
4368
</build>
44-
69+
4570
<dependencies>
4671
<dependency>
4772
<groupId>org.eclipse.paho</groupId>

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@
3030
<url>http://www.eclipse.org/paho</url>
3131
</organization>
3232

33+
<developers>
34+
<developer>
35+
<id>jsutton</id>
36+
<name>James Sutton</name>
37+
<email>james.sutton@uk.ibm.com</email>
38+
<organization>IBM</organization>
39+
<organizationUrl>http://www.ibm.com</organizationUrl>
40+
<roles>
41+
<role>Developer</role>
42+
</roles>
43+
</developer>
44+
</developers>
3345
<licenses>
3446
<license>
3547
<name>Eclipse Public License - Version 1.0</name>

0 commit comments

Comments
 (0)