You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by mf...@apache.org on 2014/09/24 20:21:56 UTC

[1/6] git commit: STREAMS-174 | Lock the parent pom to the 0.1-incubating version

Repository: incubator-streams
Updated Branches:
  refs/heads/master a9f1b2fed -> 12923758a


STREAMS-174 | Lock the parent pom to the 0.1-incubating version


Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/98c44efa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/98c44efa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/98c44efa

Branch: refs/heads/master
Commit: 98c44efae2ca4f9b306b40e440531050d31071f6
Parents: 35a8fbf
Author: Stanton Sievers <ss...@w2odigital.com>
Authored: Tue Sep 16 14:53:11 2014 -0400
Committer: Stanton Sievers <ss...@w2odigital.com>
Committed: Tue Sep 16 14:53:11 2014 -0400

----------------------------------------------------------------------
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/98c44efa/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c2e1766..c362b23 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.streams</groupId>
         <artifactId>streams-master</artifactId>
-        <version>0.2-incubating-SNAPSHOT</version>
+        <version>0.1-incubating</version>
     </parent>
 
     <groupId>org.apache.streams</groupId>


[3/6] git commit: STREAMS-174 | Converge HDFS to the release version

Posted by mf...@apache.org.
STREAMS-174 | Converge HDFS to the release version


Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/0759b492
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/0759b492
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/0759b492

Branch: refs/heads/master
Commit: 0759b49237e293b92812f31b389a13b5c3cc68c6
Parents: 006190a
Author: Stanton Sievers <ss...@w2odigital.com>
Authored: Tue Sep 16 14:53:51 2014 -0400
Committer: Stanton Sievers <ss...@w2odigital.com>
Committed: Tue Sep 16 14:53:51 2014 -0400

----------------------------------------------------------------------
 streams-contrib/streams-persist-hdfs/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/0759b492/streams-contrib/streams-persist-hdfs/pom.xml
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-persist-hdfs/pom.xml b/streams-contrib/streams-persist-hdfs/pom.xml
index 5fe33b3..ae837c6 100644
--- a/streams-contrib/streams-persist-hdfs/pom.xml
+++ b/streams-contrib/streams-persist-hdfs/pom.xml
@@ -12,7 +12,7 @@
     <artifactId>streams-persist-hdfs</artifactId>
 
     <properties>
-        <hdfs.version>2.0.0-cdh4.5.0.1-SNAPSHOT</hdfs.version>
+        <hdfs.version>2.0.0-cdh4.5.0</hdfs.version>
     </properties>
 
     <repositories>
@@ -46,7 +46,7 @@
         <dependency>
             <groupId>org.apache.hadoop</groupId>
             <artifactId>hadoop-common</artifactId>
-            <version>2.0.0-cdh4.5.0</version>
+            <version>${hdfs.version}</version>
             <scope>compile</scope>
             <type>jar</type>
         </dependency>


[6/6] git commit: Merge PR#87 'sieverssj/STREAMS-174'

Posted by mf...@apache.org.
Merge PR#87 'sieverssj/STREAMS-174'


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

Branch: refs/heads/master
Commit: 12923758abbd8c41f593a1bbd3db18d483afcbcb
Parents: a9f1b2f 09a2995
Author: Matt Franklin <mf...@apache.org>
Authored: Wed Sep 24 13:56:17 2014 -0400
Committer: Matt Franklin <mf...@apache.org>
Committed: Wed Sep 24 13:56:17 2014 -0400

----------------------------------------------------------------------
 pom.xml                                         | 31 +++++++++++++++++++-
 streams-contrib/streams-persist-hbase/pom.xml   |  1 -
 streams-contrib/streams-persist-hdfs/pom.xml    |  4 +--
 .../google-gmail/pom.xml                        |  2 +-
 .../gmail/provider/GMailImapProviderTask.java   | 15 +---------
 5 files changed, 34 insertions(+), 19 deletions(-)
----------------------------------------------------------------------



[5/6] git commit: STREAMS-174 | Use the maven-enforcer-plugin to fail builds if snapshot dependencies are used

Posted by mf...@apache.org.
STREAMS-174 | Use the maven-enforcer-plugin to fail builds if snapshot dependencies are used


Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/09a2995e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/09a2995e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/09a2995e

Branch: refs/heads/master
Commit: 09a2995e20629c9298702977361b5b8e7e6acca3
Parents: 5c76c17
Author: Stanton Sievers <ss...@w2odigital.com>
Authored: Tue Sep 16 14:55:42 2014 -0400
Committer: Stanton Sievers <ss...@w2odigital.com>
Committed: Tue Sep 16 14:55:42 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/09a2995e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c362b23..85c3472 100644
--- a/pom.xml
+++ b/pom.xml
@@ -88,6 +88,7 @@
         <json-path.version>0.9.1</json-path.version>
         <build-helper.version>1.8</build-helper.version>
         <facebook4j.version>2.1.0</facebook4j.version>
+        <maven.enforcer.plugin.version>1.3.1</maven.enforcer.plugin.version>
     </properties>
 
     <modules>
@@ -129,6 +130,34 @@
                 <executions>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <version>${maven.enforcer.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>enforce-no-snapshots</id>
+                        <goals>
+                            <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                            <rules>
+                                <requireReleaseDeps>
+                                    <message>No Snapshots Allowed!</message>
+                                    <!-- Don't fail for modules within this project's groupId or sub-groupIds -->
+                                    <excludes>
+                                        <exclude>org.apache.streams:*</exclude>
+                                        <exclude>org.apache.streams.*:*</exclude>
+                                    </excludes>
+                                    <!-- Don't fail for parents being snapshots as the only parent modules are within this project -->
+                                    <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
+                                </requireReleaseDeps>
+                            </rules>
+                            <fail>true</fail>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
         <pluginManagement>
             <plugins>


[2/6] git commit: STREAMS-174 | Remove an unused property that refers to a SNAPSHOT version

Posted by mf...@apache.org.
STREAMS-174 | Remove an unused property that refers to a SNAPSHOT version


Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/006190a5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/006190a5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/006190a5

Branch: refs/heads/master
Commit: 006190a56fffb0ddeb9149f6ccd0915243e1a8e0
Parents: 98c44ef
Author: Stanton Sievers <ss...@w2odigital.com>
Authored: Tue Sep 16 14:53:28 2014 -0400
Committer: Stanton Sievers <ss...@w2odigital.com>
Committed: Tue Sep 16 14:53:28 2014 -0400

----------------------------------------------------------------------
 streams-contrib/streams-persist-hbase/pom.xml | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/006190a5/streams-contrib/streams-persist-hbase/pom.xml
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-persist-hbase/pom.xml b/streams-contrib/streams-persist-hbase/pom.xml
index 18ec32e..47e0305 100644
--- a/streams-contrib/streams-persist-hbase/pom.xml
+++ b/streams-contrib/streams-persist-hbase/pom.xml
@@ -14,7 +14,6 @@
     <properties>
         <hadoop-common.version>2.0.0-cdh4.5.0</hadoop-common.version>
         <hbase.version>0.94.6-cdh4.5.0</hbase.version>
-        <zookeeper.version>3.4.5-cdh4.5.0.1-SNAPSHOT</zookeeper.version>
     </properties>
 
     <repositories>


[4/6] git commit: STREAMS-174 | Change google4j to the latest release and update the mechanism for fetching e-mails to a mechanism supported in that release

Posted by mf...@apache.org.
STREAMS-174 | Change google4j to the latest release and update the mechanism for fetching e-mails to a mechanism supported in that release


Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/5c76c174
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/5c76c174
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/5c76c174

Branch: refs/heads/master
Commit: 5c76c1742ae9f0b5fcf97633797a13d902d544a0
Parents: 0759b49
Author: Stanton Sievers <ss...@w2odigital.com>
Authored: Tue Sep 16 14:54:26 2014 -0400
Committer: Stanton Sievers <ss...@w2odigital.com>
Committed: Tue Sep 16 14:54:26 2014 -0400

----------------------------------------------------------------------
 .../streams-provider-google/google-gmail/pom.xml     |  2 +-
 .../google/gmail/provider/GMailImapProviderTask.java | 15 +--------------
 2 files changed, 2 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/5c76c174/streams-contrib/streams-provider-google/google-gmail/pom.xml
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-google/google-gmail/pom.xml b/streams-contrib/streams-provider-google/google-gmail/pom.xml
index a277e5d..05d3709 100644
--- a/streams-contrib/streams-provider-google/google-gmail/pom.xml
+++ b/streams-contrib/streams-provider-google/google-gmail/pom.xml
@@ -70,7 +70,7 @@
         <dependency>
             <groupId>com.googlecode.gmail4j</groupId>
             <artifactId>gmail4j</artifactId>
-            <version>0.5-SNAPSHOT</version>
+            <version>0.4</version>
         </dependency>
     </dependencies>
 

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/5c76c174/streams-contrib/streams-provider-google/google-gmail/src/main/java/com/google/gmail/provider/GMailImapProviderTask.java
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-google/google-gmail/src/main/java/com/google/gmail/provider/GMailImapProviderTask.java b/streams-contrib/streams-provider-google/google-gmail/src/main/java/com/google/gmail/provider/GMailImapProviderTask.java
index e17dfda..2beeb88 100644
--- a/streams-contrib/streams-provider-google/google-gmail/src/main/java/com/google/gmail/provider/GMailImapProviderTask.java
+++ b/streams-contrib/streams-provider-google/google-gmail/src/main/java/com/google/gmail/provider/GMailImapProviderTask.java
@@ -46,20 +46,7 @@ public class GMailImapProviderTask implements Runnable {
     @Override
     public void run() {
 
-        Calendar calendar = new GregorianCalendar();
-
-        calendar.set(Calendar.YEAR, 2000);
-        calendar.set(Calendar.MONTH, 0);
-        calendar.set(Calendar.DAY_OF_MONTH, 0);
-        calendar.set(Calendar.HOUR, 0);
-        calendar.set(Calendar.MINUTE, 0);
-        calendar.set(Calendar.SECOND, 0);
-        calendar.set(Calendar.MILLISECOND, 0);
-
-        final List<GmailMessage> messages = this.provider.imapClient.getMessagesBy(
-                GmailClient.EmailSearchStrategy.DATE_GT,
-                calendar.getTime().toString()
-        );
+        final List<GmailMessage> messages = this.provider.imapClient.getUnreadMessages();
 
         for (GmailMessage message : messages) {