Skip to content

Commit

Permalink
ci: Switch to javadoc plugin
Browse files Browse the repository at this point in the history
This should fix any dependency errors (and it should actually produce a
`javadoc` package instead of a site package).
  • Loading branch information
archer-321 committed Aug 18, 2021
1 parent 4056035 commit 7dcab0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ maven build:
- git config --global user.email '[email protected]'
- git submodule update --init
- ./remap.sh &&./decompile.sh && ./init.sh && ./newApplyPatches.sh
- mvn -f ci_pom.xml package
- cp server_ci_pom.xml PaperSpigot-Server/pom.xml
- cp api_ci_pom.xml PaperSpigot-API/pom.xml
- mvn deploy -f ci_pom.xml -s ci_settings.xml
- mvn package deploy -f ci_pom.xml -s ci_settings.xml
...
11 changes: 2 additions & 9 deletions api_ci_pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,8 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.0</version>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 7dcab0b

Please sign in to comment.