mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2024-11-14 22:45:30 +01:00
update pom and action file to generate javadocs
This commit is contained in:
parent
1d5d597fb4
commit
20edad734d
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
@ -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
|
||||
|
9
pom.xml
9
pom.xml
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user