Skip to content

Commit

Permalink
force source and javadoc jar generation to package phase e.g. before …
Browse files Browse the repository at this point in the history
…gpg:sign / verify phase
  • Loading branch information
Edvard Fonsell committed Jan 22, 2020
1 parent 776fb46 commit bbc7a5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
Expand All @@ -491,6 +492,7 @@
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ git push

prompt_continue "release version $RELEASE_VERSION to Maven Central"

mvn -Prelease clean install gpg:sign deploy $GPG_PASSPHRASE
mvn -Prelease clean deploy $GPG_PASSPHRASE

prompt_continue "tag and push tags for version $RELEASE_VERSION to remote git repository"

Expand Down

0 comments on commit bbc7a5c

Please sign in to comment.