Commit 88f0144b authored by Emmanuel Duchastenier's avatar Emmanuel Duchastenier Committed by GitHub
Browse files

defect(publication): fix deploy at end that was broken (#355)

"deployAtEnd does not work with unrelated projects"
cf. https://www.robinhowlett.com/blog/2019/05/15/solved-when-the-maven-deploy-plugin-silently-fails-to-deploy/

newly introduced bom module broke the deploy, because it has no common parent pom.
The workaround is to explicitely declare in it the Maven deploy plugin.

run with `mvn deploy -DskipTests -DaltDeploymentRepository=bonita.snapshots::default::file:///tmp` to test
parent 5ebd51ea
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.bonitasoft.distrib</groupId>
<artifactId>bonita-distrib</artifactId>
<version>7.13.0-SNAPSHOT</version>
</parent>
<groupId>org.bonitasoft.runtime</groupId>
<artifactId>bonita-runtime-bom</artifactId>
<version>7.13.0-SNAPSHOT</version>
<name>Bonita Runtime BOM (Bill of Materials)</name>
<packaging>pom</packaging>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment