update pom and action file to generate javadocs

This commit is contained in:
Nick Minkler (Sleaker) 2020-08-02 12:46:19 -07:00
parent 1d5d597fb4
commit 20edad734d
2 changed files with 13 additions and 2 deletions

View File

@ -26,11 +26,13 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build with Maven
- name: Build Release
run: mvn -B package --file pom.xml
- name: Build javadoc
run: mvn -B javadoc:javadoc javadoc:jar --file pom.xml
- name: Stage the artifact
run: mkdir staging && cp target/*.jar staging
- uses: actions/upload-artifact@v2
with:
name: Package
name: VaultAPI
path: staging

View File

@ -88,6 +88,15 @@ Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>