You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2018/09/12 14:20:35 UTC
[incubator-pulsar] branch master updated: [build] Fix maven deploy
failure (#2565)
This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new a45ea9c [build] Fix maven deploy failure (#2565)
a45ea9c is described below
commit a45ea9c74f45d5b3be160d62cd96ab5754e278de
Author: Sijie Guo <gu...@gmail.com>
AuthorDate: Wed Sep 12 07:20:30 2018 -0700
[build] Fix maven deploy failure (#2565)
*Motivation*
Pulsar presto distribution doesn't inherit from apache profile.
Hence when we run `mvn deploy`, it will fail to deploy the apache repository.
```
2018-09-11T23:52:04.260 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project pulsar-presto-distribution: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1]
```
*Changes*
Make presto distribution pom file inherit from apache profile.
---
pulsar-sql/presto-distribution/pom.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pulsar-sql/presto-distribution/pom.xml b/pulsar-sql/presto-distribution/pom.xml
index 4446d83..527ba8a 100644
--- a/pulsar-sql/presto-distribution/pom.xml
+++ b/pulsar-sql/presto-distribution/pom.xml
@@ -22,6 +22,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>18</version>
+ </parent>
+
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-presto-distribution</artifactId>
<name>Pulsar SQL :: Pulsar Presto Distribution</name>