Skip to content

Commit

Permalink
Specify staging profile ID
Browse files Browse the repository at this point in the history
Need to do it at the module level to simplify CI system. If the profile
ID is specified in the CI system it will apply to all modules and it
only needs to apply to the API. The implementation has a separate
staging profile ID. There are ways around this in the CI system but this
should be simpler.

Signed-off-by: Mark Thomas <markt@apache.org>
  • Loading branch information
markt-asf committed Jul 1, 2020
1 parent 999b038 commit 1fb6bd9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,15 @@ Use is subject to <a href="{@docRoot}/doc-files/EFSL.html" target="_top">license
</execution>
</executions>
</plugin>

<!-- Explicitly define staging profile ID as auto-matching finds wrong one -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<configuration>
<stagingProfileId>3bda51d9c036</stagingProfileId>
</configuration>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 1fb6bd9

Please sign in to comment.