diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index e24e79d..d8a7459 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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 diff --git a/pom.xml b/pom.xml index 39450c3..aea2827 100644 --- a/pom.xml +++ b/pom.xml @@ -88,6 +88,15 @@ Vault currently supports the following: Permissions 3, PEX, GroupManager, bPerms org.apache.maven.plugins maven-source-plugin 3.2.1 + + + attach-sources + verify + + jar-no-fork + + + org.apache.maven.plugins