Skip to content

Commit

Permalink
Ensure jar for docs and source are generated.
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-br committed Apr 24, 2024
1 parent 4d44805 commit 7079341
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: Build and Publish

on:
push:
branches: [ "develop", "main" ]
branches: [ "develop", "main", "patch/*", "rc/*" ]
pull_request:
branches: [ "develop" ]

Expand Down
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
<goal>doc-jar</goal>
</goals>
</execution>
</executions>
Expand All @@ -115,6 +116,19 @@
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
Expand Down

0 comments on commit 7079341

Please sign in to comment.