Skip to content

Commit 82a5257

Browse files
committed
fix: fix javadoc and source archive requirement
1 parent 920879d commit 82a5257

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
<version>0.0.2-SNAPSHOT</version>
88

99
<name>${project.groupId}:${project.artifactId}</name>
10-
<description />
10+
11+
<description>Repackaged version of Amazon's Product Advertising API 5.0 Java SDK</description>
1112
<url>https://github.com/osslabz/paapi5-java-sdk</url>
1213

1314
<properties>
@@ -32,6 +33,12 @@
3233
</licenses>
3334

3435
<developers>
36+
<developer>
37+
<name>Amazon Product Advertising API Team</name>
38+
<organization>Amazon</organization>
39+
<organizationUrl>https://github.com/amzn</organizationUrl>
40+
</developer>
41+
3542
<developer>
3643
<name>Raphael Vullriede</name>
3744
<email>raphael@osslabz.net</email>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package net.osslabz.paapi5;
2+
3+
/**
4+
* This project is just a re-packaged version of Repackaged version of Amazon's Product Advertising API 5.0 Java SDK since it is only available as a binary distribution.
5+
* <p>
6+
* The whole purpose is to be able to upload it to maven central for easier usage in Maven/gradle projects.
7+
*/
8+
public class ReadMe {
9+
10+
/**
11+
* This class and it's main method only exists to satisfy the maven central toolchain and expects (and enforces) the presence of javadoc and source files archives. Since the actual classes are extracted
12+
* from lib/paapi5-java-sdk.*.jar we need at least one class with source and javadoc that is not optimized away.
13+
*
14+
* @param args
15+
*/
16+
public static void main(String[] args) {
17+
18+
System.out.println("NO-OP");
19+
}
20+
}

0 commit comments

Comments
 (0)