File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 141141 </goals >
142142 </execution >
143143 <execution >
144- <id >generate-sources </id >
144+ <id >attach-javadocs </id >
145145 <goals >
146146 <goal >doc-jar</goal >
147147 </goals >
148- <phase >package</phase >
149148 </execution >
150149 </executions >
151150 <configuration >
268267 <extensions >true</extensions >
269268 <configuration >
270269 <publishingServerId >central</publishingServerId >
271- <autoPublish >true </autoPublish >
270+ <autoPublish >false </autoPublish >
272271 </configuration >
273272 </plugin >
274273 <plugin >
Original file line number Diff line number Diff line change @@ -18,20 +18,20 @@ object Release {
1818 crossPublishSigned :: publishM2Core :: stryker4sMvnDeploy :: _
1919 ),
2020 // Called by stryker4sPublish(signed)
21- Command .command(stryker4sMvnDeploy)(mvnDeploy(baseDirectory.value, version.value))
21+ Command .command(stryker4sMvnDeploy)(mvnDeploy(baseDirectory.value, version.value, sonaDeploymentName.value ))
2222 )
2323
2424 /** Sets version of mvn project, calls `mvn deploy` and fails state if the command fails
2525 */
26- private def mvnDeploy (baseDir : File , version : String )(state : State ): State = {
26+ private def mvnDeploy (baseDir : File , version : String , sonaDeploymentName : String )(state : State ): State = {
2727
2828 /** Returns a `ProcessBuilder` that runs the given maven command in the maven subdirectory
2929 */
3030 def runGoal (command : String ): process.ProcessBuilder =
3131 process.Process (s " mvn --batch-mode --no-transfer-progress $command -P release " , baseDir / " maven" )
3232
3333 (runGoal(s " versions:set -DnewVersion= $version" ) #&&
34- runGoal(s " deploy --settings settings.xml -DskipTests " ) #&&
34+ runGoal(s " deploy --settings settings.xml -DskipTests -DdeploymentName= $sonaDeploymentName " ) #&&
3535 // Reset version setting after deployment
3636 runGoal(" versions:revert" )).! match {
3737 case 0 => state
You can’t perform that action at this time.
0 commit comments