Update javadocs to only generate on deploy, add deploy script

This commit is contained in:
Aikar
2017-11-25 19:40:04 -05:00
parent c48576a4d7
commit ab95e524a0
2 changed files with 13 additions and 1 deletions
Executable
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
if [ ! -z "$1" ]; then
cd $1 || exit 1
fi
mvn clean javadoc:jar deploy || exit 1
if [ ! -z "$1" ]; then
cd - || exit 1
fi
git add docs
git commit docs -m "Updated JavaDocs"
+3 -1
View File
@@ -111,13 +111,15 @@
<quiet>true</quiet>
<notimestamp>true</notimestamp>
<linksource>true</linksource>
<nohelp>true</nohelp>
<show>public</show>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
<goal>javadoc</goal>
</goals>
</execution>
</executions>