Skip to content

Commit 95b6da6

Browse files
committed
Added javadoc plugin to be able to deploy to maven central
1 parent 0e394d4 commit 95b6da6

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,19 @@
212212
</execution>
213213
</executions>
214214
</plugin>
215+
<plugin>
216+
<groupId>org.apache.maven.plugins</groupId>
217+
<artifactId>maven-javadoc-plugin</artifactId>
218+
<version>3.0.1</version>
219+
<executions>
220+
<execution>
221+
<id>attach-javadocs</id>
222+
<goals>
223+
<goal>jar</goal>
224+
</goals>
225+
</execution>
226+
</executions>
227+
</plugin>
215228
</plugins>
216229
</build>
217230
</profile>

travis-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ];
3333
mvn release:clean release:prepare release:perform -B -e -Pbintray
3434
else
3535
echo "Deploy snapshot to Bintray"
36-
mvn deploy -B
36+
mvn deploy -B -Pbintray
3737
fi
3838
fi

0 commit comments

Comments
 (0)