svn commit: r1708765 - /james/project/trunk/mpt/impl/imap-mailbox/cyrus/pom.xml

2015-10-15 Thread matthieu
Author: matthieu
Date: Thu Oct 15 10:01:20 2015
New Revision: 1708765

URL: http://svn.apache.org/viewvc?rev=1708765=rev
Log:
MPT-30 switch cyrus mpt to java 8

Modified:
james/project/trunk/mpt/impl/imap-mailbox/cyrus/pom.xml

Modified: james/project/trunk/mpt/impl/imap-mailbox/cyrus/pom.xml
URL: 
http://svn.apache.org/viewvc/james/project/trunk/mpt/impl/imap-mailbox/cyrus/pom.xml?rev=1708765=1708764=1708765=diff
==
--- james/project/trunk/mpt/impl/imap-mailbox/cyrus/pom.xml (original)
+++ james/project/trunk/mpt/impl/imap-mailbox/cyrus/pom.xml Thu Oct 15 10:01:20 
2015
@@ -33,16 +33,158 @@
 apache-james-mpt-imapmailbox-cyrus
 Apache James MPT Imap Mailbox - Cyrus
 
-
-
-com.spotify
-docker-client
-2.7.25
-
-
-org.apache.james
-apache-james-mpt-imapmailbox-core
-
-
+
+
+disable-build-for-older-jdk
+
+(,1.8)
+
+
+
+
+maven-jar-plugin
+
+
+default-jar
+none
+
+
+jar
+none
+
+
+test-jar
+none
+
+
+
+
+maven-compiler-plugin
+
+
+default-compile
+none
+
+
+default-testCompile
+none
+
+
+
+
+maven-surefire-plugin
+
+
+default-test
+none
+
+
+
+
+maven-source-plugin
+
+
+attach-sources
+none
+
+
+
+
+maven-install-plugin
+
+
+default-install
+none
+
+
+
+
+maven-resources-plugin
+
+
+default-resources
+none
+
+
+default-testResources
+none
+
+
+
+
+maven-site-plugin
+
+
+attach-descriptor
+none
+
+
+
+
+
+
+
+build-for-jdk-8
+
+[1.8,)
+
+
+
+com.spotify
+docker-client
+2.7.25
+
+
+org.apache.james
+apache-james-mpt-imapmailbox-core
+
+
+
+
+
+maven-assembly-plugin
+
+
+
+
fully.qualified.MainClass
+
+
+
+
jar-with-dependencies
+
+
+
+
+org.apache.maven.plugins
+maven-compiler-plugin
+
+1.8
+1.8
+
+
+
+
+
+
+disable-animal-sniffer
+
+[1.6,)
+

svn commit: r1708763 - /james/project/trunk/server/app/pom.xml

2015-10-15 Thread matthieu
Author: matthieu
Date: Thu Oct 15 09:59:32 2015
New Revision: 1708763

URL: http://svn.apache.org/viewvc?rev=1708763=rev
Log:
JAMES-1625 app depends on elasticsearch only when built with java 8

Modified:
james/project/trunk/server/app/pom.xml

Modified: james/project/trunk/server/app/pom.xml
URL: 
http://svn.apache.org/viewvc/james/project/trunk/server/app/pom.xml?rev=1708763=1708762=1708763=diff
==
--- james/project/trunk/server/app/pom.xml (original)
+++ james/project/trunk/server/app/pom.xml Thu Oct 15 09:59:32 2015
@@ -461,28 +461,6 @@
 
 
 org.apache.james
-apache-james-mailbox-elasticsearch
-runtime
-
-
-mail
-javax.mail
-
-
-
-
-org.apache.james
-apache-james-mailbox-tika
-runtime
-
-
-mail
-javax.mail
-
-
-
-
-org.apache.james
 james-server-data-file
 runtime
 
@@ -565,6 +543,36 @@
 
 
 
+   
+build-for-jdk-8
+
+[1.8,)
+
+   
+   
+   org.apache.james
+   apache-james-mailbox-elasticsearch
+   runtime
+   
+
+   mail
+   javax.mail
+   
+   
+   
+   
+   org.apache.james
+   apache-james-mailbox-tika
+   runtime
+   
+
+ mail
+ javax.mail
+   
+   
+   
+   
+
 
 cassandra
 



-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Created] (MPT-32) external-james should only run when JAMES_ADDRESS is defined

2015-10-15 Thread Matthieu Baechler (JIRA)
Matthieu Baechler created MPT-32:


 Summary: external-james should only run when JAMES_ADDRESS is 
defined
 Key: MPT-32
 URL: https://issues.apache.org/jira/browse/MPT-32
 Project: James MPT
  Issue Type: Bug
  Components: Main
Reporter: Matthieu Baechler


External-james should run against a freshly compile James to check basic 
behaviour. It should not run unless JAMES_ADDRESS environnement entry is set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Closed] (MPT-30) cyrus tests could use Java 8

2015-10-15 Thread Matthieu Baechler (JIRA)

 [ 
https://issues.apache.org/jira/browse/MPT-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthieu Baechler closed MPT-30.

Resolution: Fixed

> cyrus tests could use Java 8
> 
>
> Key: MPT-30
> URL: https://issues.apache.org/jira/browse/MPT-30
> Project: James MPT
>  Issue Type: Task
>  Components: Main
>Reporter: Matthieu Baechler
>
> Cyrus tests are not part of James product and could be written using java 8.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (MPT-30) cyrus tests could use Java 8

2015-10-15 Thread Matthieu Baechler (JIRA)

[ 
https://issues.apache.org/jira/browse/MPT-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14958733#comment-14958733
 ] 

Matthieu Baechler commented on MPT-30:
--

merged

> cyrus tests could use Java 8
> 
>
> Key: MPT-30
> URL: https://issues.apache.org/jira/browse/MPT-30
> Project: James MPT
>  Issue Type: Task
>  Components: Main
>Reporter: Matthieu Baechler
>
> Cyrus tests are not part of James product and could be written using java 8.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Closed] (JAMES-1625) app java 6 build fail on missing apache-james-mailbox-elasticsearch

2015-10-15 Thread Matthieu Baechler (JIRA)

 [ 
https://issues.apache.org/jira/browse/JAMES-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthieu Baechler closed JAMES-1625.

Resolution: Fixed

merged

> app java 6 build fail on missing apache-james-mailbox-elasticsearch
> ---
>
> Key: JAMES-1625
> URL: https://issues.apache.org/jira/browse/JAMES-1625
> Project: James Server
>  Issue Type: Bug
>  Components: Build System
>Reporter: Matthieu Baechler
>
> The build fail because apache-james-mailbox-elasticsearch artifact is not 
> built on java 6.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (MPT-33) Support optional features when running mpt tests

2015-10-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/MPT-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14958815#comment-14958815
 ] 

ASF GitHub Bot commented on MPT-33:
---

GitHub user mbaechler opened a pull request:

https://github.com/apache/james-project/pull/2

MPT-33 introduce namespace support feature and run related tests only…

… when supported

This uses junit Assume that allowes to disable a test when a
condition if false.

TestModules have to define a boolean to advertise support of namespace.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mbaechler/james-project MPT-33

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/james-project/pull/2.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #2


commit d39be835d3ed941e2de990761b9894e1da7ca89a
Author: Matthieu Baechler 
Date:   2015-10-15T12:12:55Z

MPT-33 introduce namespace support feature and run related tests only when 
supported

This uses junit Assume that allowes to disable a test when a
condition if false.

TestModules have to define a boolean to advertise support of namespace.




> Support optional features when running mpt tests
> 
>
> Key: MPT-33
> URL: https://issues.apache.org/jira/browse/MPT-33
> Project: James MPT
>  Issue Type: Improvement
>  Components: Main
>Reporter: Matthieu Baechler
>
> MAILBOX-241 basically says : "I wrote some tests but it breaks on maildir 
> because maildir doesn't have namespace support".
> I think this kind of feature set mismatch between backends is going to happen 
> as we move on with generic tests.
> I propose to introduce feature conditioned tests in mpt to workaround this 
> kind of problems.
> Come is coming soon.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (MPT-33) Support optional features when running mpt tests

2015-10-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/MPT-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14958824#comment-14958824
 ] 

ASF GitHub Bot commented on MPT-33:
---

Github user aduprat commented on the pull request:

https://github.com/apache/james-project/pull/2#issuecomment-148371266
  
Great :+1: 


> Support optional features when running mpt tests
> 
>
> Key: MPT-33
> URL: https://issues.apache.org/jira/browse/MPT-33
> Project: James MPT
>  Issue Type: Improvement
>  Components: Main
>Reporter: Matthieu Baechler
>
> MAILBOX-241 basically says : "I wrote some tests but it breaks on maildir 
> because maildir doesn't have namespace support".
> I think this kind of feature set mismatch between backends is going to happen 
> as we move on with generic tests.
> I propose to introduce feature conditioned tests in mpt to workaround this 
> kind of problems.
> Come is coming soon.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (MPT-32) external-james should only run when JAMES_ADDRESS is defined

2015-10-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/MPT-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14958740#comment-14958740
 ] 

ASF GitHub Bot commented on MPT-32:
---

GitHub user mbaechler opened a pull request:

https://github.com/apache/james-project/pull/1

MPT-32 run external-james test when JAMES_ADDRESS env is set

Switch to Guice 4 because exception in java 8 lambda
breaks Guice 3 error reporting.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/mbaechler/james-project MPT-32

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/james-project/pull/1.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1


commit 0ec4bd2b3ef4b4d10ea6f8ada2f05e88b3d5be04
Author: Matthieu Baechler 
Date:   2015-10-15T11:06:51Z

MPT-32 run external-james test when JAMES_ADDRESS env is set

Switch to Guice 4 because exception in java 8 lambda
breaks Guice 3 error reporting.




> external-james should only run when JAMES_ADDRESS is defined
> 
>
> Key: MPT-32
> URL: https://issues.apache.org/jira/browse/MPT-32
> Project: James MPT
>  Issue Type: Bug
>  Components: Main
>Reporter: Matthieu Baechler
>
> External-james should run against a freshly compile James to check basic 
> behaviour. It should not run unless JAMES_ADDRESS environnement entry is set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Created] (MPT-33) Support optional features when running mpt tests

2015-10-15 Thread Matthieu Baechler (JIRA)
Matthieu Baechler created MPT-33:


 Summary: Support optional features when running mpt tests
 Key: MPT-33
 URL: https://issues.apache.org/jira/browse/MPT-33
 Project: James MPT
  Issue Type: Improvement
  Components: Main
Reporter: Matthieu Baechler


MAILBOX-241 basically says : "I wrote some tests but it breaks on maildir 
because maildir doesn't have namespace support".

I think this kind of feature set mismatch between backends is going to happen 
as we move on with generic tests.

I propose to introduce feature conditioned tests in mpt to workaround this kind 
of problems.

Come is coming soon.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



[jira] [Commented] (MPT-32) external-james should only run when JAMES_ADDRESS is defined

2015-10-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/MPT-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14958746#comment-14958746
 ] 

ASF GitHub Bot commented on MPT-32:
---

Github user aduprat commented on the pull request:

https://github.com/apache/james-project/pull/1#issuecomment-148355767
  
:+1: 


> external-james should only run when JAMES_ADDRESS is defined
> 
>
> Key: MPT-32
> URL: https://issues.apache.org/jira/browse/MPT-32
> Project: James MPT
>  Issue Type: Bug
>  Components: Main
>Reporter: Matthieu Baechler
>
> External-james should run against a freshly compile James to check basic 
> behaviour. It should not run unless JAMES_ADDRESS environnement entry is set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



svn commit: r1708751 - /james/project/trunk/pom.xml

2015-10-15 Thread matthieu
Author: matthieu
Date: Thu Oct 15 09:34:55 2015
New Revision: 1708751

URL: http://svn.apache.org/viewvc?rev=1708751=rev
Log:
Adding myself to developers

Modified:
james/project/trunk/pom.xml

Modified: james/project/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/project/trunk/pom.xml?rev=1708751=1708750=1708751=diff
==
--- james/project/trunk/pom.xml (original)
+++ james/project/trunk/pom.xml Thu Oct 15 09:34:55 2015
@@ -275,6 +275,15 @@
 Developer
 
 
+
+matthieu
+Matthieu Baechler
+matth...@apache.org
+
+
+Developer
+
+
 
 
 



-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org



svn commit: r1708752 - /james/project/trunk/mailbox/api/src/test/java/org/apache/james/mailbox/AbstractSubscriptionManagerTest.java

2015-10-15 Thread matthieu
Author: matthieu
Date: Thu Oct 15 09:35:35 2015
New Revision: 1708752

URL: http://svn.apache.org/viewvc?rev=1708752=rev
Log:
MAILBOX-255 don't enforce SubscriptionManager.subscriptions ordering. 
Contributed by Baechler 

Modified:

james/project/trunk/mailbox/api/src/test/java/org/apache/james/mailbox/AbstractSubscriptionManagerTest.java

Modified: 
james/project/trunk/mailbox/api/src/test/java/org/apache/james/mailbox/AbstractSubscriptionManagerTest.java
URL: 
http://svn.apache.org/viewvc/james/project/trunk/mailbox/api/src/test/java/org/apache/james/mailbox/AbstractSubscriptionManagerTest.java?rev=1708752=1708751=1708752=diff
==
--- 
james/project/trunk/mailbox/api/src/test/java/org/apache/james/mailbox/AbstractSubscriptionManagerTest.java
 (original)
+++ 
james/project/trunk/mailbox/api/src/test/java/org/apache/james/mailbox/AbstractSubscriptionManagerTest.java
 Thu Oct 15 09:35:35 2015
@@ -81,7 +81,7 @@ public abstract class AbstractSubscripti
 manager.subscribe(session, MAILBOX1);
 manager.subscribe(session, MAILBOX2);
 
-assertThat(manager.subscriptions(session)).containsExactly(MAILBOX1, 
MAILBOX2);
+assertThat(manager.subscriptions(session)).containsOnly(MAILBOX1, 
MAILBOX2);
 }
 
 @Test



-
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org