You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bahir.apache.org by lr...@apache.org on 2016/06/24 22:09:09 UTC

[1/3] bahir git commit: [MINOR] Add package related files

Repository: bahir
Updated Branches:
  refs/heads/master cad277e61 -> 2dfcd08d1


[MINOR] Add package related files


Project: http://git-wip-us.apache.org/repos/asf/bahir/repo
Commit: http://git-wip-us.apache.org/repos/asf/bahir/commit/9110e56a
Tree: http://git-wip-us.apache.org/repos/asf/bahir/tree/9110e56a
Diff: http://git-wip-us.apache.org/repos/asf/bahir/diff/9110e56a

Branch: refs/heads/master
Commit: 9110e56ae45ee9ba297646e924da3f7a4c83340b
Parents: cad277e
Author: Luciano Resende <lr...@apache.org>
Authored: Sat Jun 18 14:12:01 2016 -0700
Committer: Luciano Resende <lr...@apache.org>
Committed: Sat Jun 18 14:12:01 2016 -0700

----------------------------------------------------------------------
 .../spark/streaming/akka/package-info.java      | 21 ++++++++++++++++++
 .../apache/spark/streaming/akka/package.scala   | 23 ++++++++++++++++++++
 2 files changed, 44 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bahir/blob/9110e56a/streaming-akka/src/main/scala/org/apache/spark/streaming/akka/package-info.java
----------------------------------------------------------------------
diff --git a/streaming-akka/src/main/scala/org/apache/spark/streaming/akka/package-info.java b/streaming-akka/src/main/scala/org/apache/spark/streaming/akka/package-info.java
new file mode 100644
index 0000000..ce72f29
--- /dev/null
+++ b/streaming-akka/src/main/scala/org/apache/spark/streaming/akka/package-info.java
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * MQTT receiver for Spark Streaming.
+ */
+package org.apache.spark.streaming.akka;
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/bahir/blob/9110e56a/streaming-akka/src/main/scala/org/apache/spark/streaming/akka/package.scala
----------------------------------------------------------------------
diff --git a/streaming-akka/src/main/scala/org/apache/spark/streaming/akka/package.scala b/streaming-akka/src/main/scala/org/apache/spark/streaming/akka/package.scala
new file mode 100644
index 0000000..c7443ea
--- /dev/null
+++ b/streaming-akka/src/main/scala/org/apache/spark/streaming/akka/package.scala
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.spark.streaming
+
+/**
+ * Akka receiver for Spark Streaming.
+ */
+package object akka


[3/3] bahir git commit: [[BAHIR-14] More parent pom cleanup

Posted by lr...@apache.org.
[[BAHIR-14] More parent pom cleanup

Remove Spark assembly related configuration, and
stop producing source jars for non-jar projects.


Project: http://git-wip-us.apache.org/repos/asf/bahir/repo
Commit: http://git-wip-us.apache.org/repos/asf/bahir/commit/2dfcd08d
Tree: http://git-wip-us.apache.org/repos/asf/bahir/tree/2dfcd08d
Diff: http://git-wip-us.apache.org/repos/asf/bahir/diff/2dfcd08d

Branch: refs/heads/master
Commit: 2dfcd08d11e94b535a39c31c87cf690f99944357
Parents: 5937073
Author: Luciano Resende <lr...@apache.org>
Authored: Fri Jun 24 14:57:50 2016 -0700
Committer: Luciano Resende <lr...@apache.org>
Committed: Fri Jun 24 14:57:50 2016 -0700

----------------------------------------------------------------------
 pom.xml                   | 55 ------------------------------------------
 streaming-akka/pom.xml    |  6 +++++
 streaming-mqtt/pom.xml    |  5 ++++
 streaming-twitter/pom.xml |  6 +++++
 streaming-zeromq/pom.xml  |  6 +++++
 5 files changed, 23 insertions(+), 55 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bahir/blob/2dfcd08d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 670d897..9488898 100644
--- a/pom.xml
+++ b/pom.xml
@@ -108,9 +108,6 @@
     <test.java.home>${java.home}</test.java.home>
     <test.exclude.tags></test.exclude.tags>
 
-    <!-- Package to use when relocating shaded classes. -->
-    <spark.shade.packageName>org.spark_project</spark.shade.packageName>
-
     <!-- Modules that copy jars to the build directory should do so under this location. -->
     <jars.target.dir>${project.build.directory}/scala-${scala.binary.version}/jars</jars.target.dir>
 
@@ -688,11 +685,6 @@
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-shade-plugin</artifactId>
-          <version>2.4.3</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-install-plugin</artifactId>
           <version>2.5.2</version>
         </plugin>
@@ -806,53 +798,6 @@
         </executions>
       </plugin>
 
-      <!--
-        The shade plug-in is used here to create effective pom's (see SPARK-3812), and also
-        remove references from the shaded libraries from artifacts published by Spark.
-      -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-        <configuration>
-          <shadedArtifactAttached>false</shadedArtifactAttached>
-          <artifactSet>
-            <includes>
-              <include>org.spark-project.spark:unused</include>
-              <include>org.eclipse.jetty:jetty-io</include>
-              <include>org.eclipse.jetty:jetty-http</include>
-              <include>org.eclipse.jetty:jetty-continuation</include>
-              <include>org.eclipse.jetty:jetty-servlet</include>
-              <include>org.eclipse.jetty:jetty-servlets</include>
-              <include>org.eclipse.jetty:jetty-plus</include>
-              <include>org.eclipse.jetty:jetty-security</include>
-              <include>org.eclipse.jetty:jetty-util</include>
-              <include>org.eclipse.jetty:jetty-server</include>
-              <include>com.google.guava:guava</include>
-            </includes>
-          </artifactSet>
-          <relocations>
-            <relocation>
-              <pattern>org.eclipse.jetty</pattern>
-              <shadedPattern>${spark.shade.packageName}.jetty</shadedPattern>
-              <includes>
-                <include>org.eclipse.jetty.**</include>
-              </includes>
-            </relocation>
-            <relocation>
-              <pattern>com.google.common</pattern>
-              <shadedPattern>${spark.shade.packageName}.guava</shadedPattern>
-            </relocation>
-          </relocations>
-        </configuration>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>shade</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-enforcer-plugin</artifactId>

http://git-wip-us.apache.org/repos/asf/bahir/blob/2dfcd08d/streaming-akka/pom.xml
----------------------------------------------------------------------
diff --git a/streaming-akka/pom.xml b/streaming-akka/pom.xml
index 2c90993..1dc87e4 100644
--- a/streaming-akka/pom.xml
+++ b/streaming-akka/pom.xml
@@ -66,5 +66,11 @@
   <build>
     <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
     <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+      </plugin>
+    </plugins>
   </build>
 </project>

http://git-wip-us.apache.org/repos/asf/bahir/blob/2dfcd08d/streaming-mqtt/pom.xml
----------------------------------------------------------------------
diff --git a/streaming-mqtt/pom.xml b/streaming-mqtt/pom.xml
index e26f0ac..efa62ca 100644
--- a/streaming-mqtt/pom.xml
+++ b/streaming-mqtt/pom.xml
@@ -74,6 +74,11 @@
     <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
 
     <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+      </plugin>
+
       <!-- Assemble a jar with test dependencies for Python tests -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>

http://git-wip-us.apache.org/repos/asf/bahir/blob/2dfcd08d/streaming-twitter/pom.xml
----------------------------------------------------------------------
diff --git a/streaming-twitter/pom.xml b/streaming-twitter/pom.xml
index c2daa77..72de5aa 100644
--- a/streaming-twitter/pom.xml
+++ b/streaming-twitter/pom.xml
@@ -66,5 +66,11 @@
   <build>
     <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
     <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+      </plugin>
+    </plugins>
   </build>
 </project>

http://git-wip-us.apache.org/repos/asf/bahir/blob/2dfcd08d/streaming-zeromq/pom.xml
----------------------------------------------------------------------
diff --git a/streaming-zeromq/pom.xml b/streaming-zeromq/pom.xml
index d6994ef..aca7d23 100644
--- a/streaming-zeromq/pom.xml
+++ b/streaming-zeromq/pom.xml
@@ -70,5 +70,11 @@
   <build>
     <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
     <testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+      </plugin>
+    </plugins>
   </build>
 </project>


[2/3] bahir git commit: [BAHIR-17] Disable javadoc generation

Posted by lr...@apache.org.
[BAHIR-17] Disable javadoc generation


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

Branch: refs/heads/master
Commit: 5937073740d2f7389f085ff2cf43c44393bf39bf
Parents: 9110e56
Author: Luciano Resende <lr...@apache.org>
Authored: Sat Jun 18 14:13:52 2016 -0700
Committer: Luciano Resende <lr...@apache.org>
Committed: Sat Jun 18 14:23:36 2016 -0700

----------------------------------------------------------------------
 pom.xml | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bahir/blob/59370737/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 07824ad..670d897 100644
--- a/pom.xml
+++ b/pom.xml
@@ -672,6 +672,9 @@
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-javadoc-plugin</artifactId>
           <version>2.10.3</version>
+          <configuration>
+            <skip>true</skip>
+          </configuration>
         </plugin>
         <plugin>
           <groupId>org.codehaus.mojo</groupId>