You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flume.apache.org by mp...@apache.org on 2017/02/28 19:33:24 UTC

flume git commit: flume-checkstyle module should use ASF root pom as parent

Repository: flume
Updated Branches:
  refs/heads/trunk 4b6b841ab -> 73d874440


flume-checkstyle module should use ASF root pom as parent

The flume-checkstyle module doesn't currently declare a parent pom. This
will be a problem when we try to deploy our artifacts because we are
missing a distributionManagement section in the flume-checkstyle module.
The deploy will fail with an error message that looks something like:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy)
on project flume-checkstyle: Deployment failed: repository element was not specified in the POM inside
distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter

This patch should solve the problem.

Reviewers: Attila Simon, Denes Arvay, Bessenyei Bal�zs Don�t

Closes #109.


Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/73d87444
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/73d87444
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/73d87444

Branch: refs/heads/trunk
Commit: 73d87444013a656f763feb38ce20c43670dc6230
Parents: 4b6b841
Author: Mike Percy <mp...@apache.org>
Authored: Thu Feb 23 20:56:54 2017 -0800
Committer: Mike Percy <mp...@apache.org>
Committed: Tue Feb 28 11:32:42 2017 -0800

----------------------------------------------------------------------
 flume-checkstyle/pom.xml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/73d87444/flume-checkstyle/pom.xml
----------------------------------------------------------------------
diff --git a/flume-checkstyle/pom.xml b/flume-checkstyle/pom.xml
index 23e0a48..02b0982 100644
--- a/flume-checkstyle/pom.xml
+++ b/flume-checkstyle/pom.xml
@@ -21,11 +21,18 @@
   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.flume</groupId>
   <artifactId>flume-checkstyle</artifactId>
-  <name>Flume checkstyle project</name>
   <version>1.8.0-SNAPSHOT</version>
 
+  <name>Flume checkstyle project</name>
+
   <properties>
     <!-- Set default encoding to UTF-8 to remove maven complaints -->
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>