File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -284,6 +284,10 @@ pipeline {
284284 deployOptions = " $skipOptions --activate-profiles private_repository -Denforcer.skip=true"
285285 }
286286
287+ // hack to ovewrite the skip of studio modules that we can't deploy in release mode into Sonatype repo
288+ // assume that we don't use this Jenkinsfile for release anymore
289+ deployOptions = deployOptions. replace(" -Prelease" , " -Psnapshot" )
290+
287291 // By default the doc is skipped for standards branches
288292 Boolean skip_documentation = ! (params. FORCE_DOC || isStdBranch)
289293 extraBuildParams = assemblyExtraBuildParams(skip_documentation)
Original file line number Diff line number Diff line change 20112011 </plugins >
20122012 </build >
20132013 </profile >
2014+ <profile >
2015+ <id >snapshot</id >
2016+ <build >
2017+ <plugins >
2018+ <plugin >
2019+ <groupId >org.sonatype.central</groupId >
2020+ <artifactId >central-publishing-maven-plugin</artifactId >
2021+ <extensions >true</extensions >
2022+ <configuration >
2023+ <publishingServerId >central.portal</publishingServerId >
2024+ <centralBaseUrl >https://central.sonatype.com</centralBaseUrl >
2025+ <failOnBuildFailure >true</failOnBuildFailure >
2026+ </configuration >
2027+ </plugin >
2028+ <plugin >
2029+ <groupId >org.apache.maven.plugins</groupId >
2030+ <artifactId >maven-source-plugin</artifactId >
2031+ <executions >
2032+ <execution >
2033+ <id >attach-sources</id >
2034+ <goals >
2035+ <goal >jar-no-fork</goal >
2036+ </goals >
2037+ </execution >
2038+ </executions >
2039+ </plugin >
2040+ <plugin >
2041+ <groupId >org.apache.maven.plugins</groupId >
2042+ <artifactId >maven-javadoc-plugin</artifactId >
2043+ <executions >
2044+ <execution >
2045+ <id >attach-javadocs</id >
2046+ <goals >
2047+ <goal >jar</goal >
2048+ </goals >
2049+ </execution >
2050+ </executions >
2051+ </plugin >
2052+ <plugin >
2053+ <groupId >org.apache.maven.plugins</groupId >
2054+ <artifactId >maven-gpg-plugin</artifactId >
2055+ <executions >
2056+ <execution >
2057+ <id >sign-artifacts</id >
2058+ <goals >
2059+ <goal >sign</goal >
2060+ </goals >
2061+ <phase >verify</phase >
2062+ </execution >
2063+ </executions >
2064+ </plugin >
2065+ </plugins >
2066+ </build >
2067+ </profile >
20142068 <profile >
20152069 <id >no-staging</id >
20162070 <build >
You can’t perform that action at this time.
0 commit comments