You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by er...@apache.org on 2010/12/13 16:39:04 UTC

svn commit: r1045178 - /james/mailbox/trunk/parent/pom.xml

Author: eric
Date: Mon Dec 13 15:39:04 2010
New Revision: 1045178

URL: http://svn.apache.org/viewvc?rev=1045178&view=rev
Log:
Add jsr250 (MAILBOX-19) + Align derby version to server project derby version.

Modified:
    james/mailbox/trunk/parent/pom.xml

Modified: james/mailbox/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/parent/pom.xml?rev=1045178&r1=1045177&r2=1045178&view=diff
==============================================================================
--- james/mailbox/trunk/parent/pom.xml (original)
+++ james/mailbox/trunk/parent/pom.xml Mon Dec 13 15:39:04 2010
@@ -425,7 +425,7 @@
       <dependency>
         <groupId>org.apache.derby</groupId>
         <artifactId>derby</artifactId>
-        <version>10.2.2.0</version>
+        <version>10.6.2.1</version>
         <scope>test</scope>
       </dependency>
       <dependency>
@@ -563,7 +563,22 @@
         END JCR
       -->
       
+      <!--
+        START JSR250
+      -->
+
+    <dependency>
+      <groupId>javax.annotation</groupId>
+      <artifactId>jsr250-api</artifactId>
+      <version>1.0</version>
+    </dependency>
+
+    <!-- 
+      END JSR250
+     -->
+
     </dependencies>
+    
   </dependencyManagement>
 
   <profiles>



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


Re: svn commit: r1045178 - /james/mailbox/trunk/parent/pom.xml

Posted by Eric Charles <er...@apache.org>.
Hi Norman,

I use it to inject the mailboxCopier bean in the MailboxCopierManagement 
(callable via JMX)

public class MailboxCopierManagement extends StandardMBean implements 
MailboxCopierManagementMBean {

     @Resource(name="mailboxCopier")
     private MailboxCopier mailboxCopier;

     public MailboxCopierManagement() throws NotCompliantMBeanException {
         super(MailboxCopierManagementMBean.class);
     }

     public Boolean copyMailboxes() {
         return mailboxCopier.copyMailboxes();
     }

Tks,

Eric



On 13/12/2010 16:47, Norman Maurer wrote:
> I wonder what you need the jsr-250 stuff for.. Could you explain ?
>
> Bye,
> Norman
>
> 2010/12/13<er...@apache.org>:
>> Author: eric
>> Date: Mon Dec 13 15:39:04 2010
>> New Revision: 1045178
>>
>> URL: http://svn.apache.org/viewvc?rev=1045178&view=rev
>> Log:
>> Add jsr250 (MAILBOX-19) + Align derby version to server project derby version.
>>
>> Modified:
>>     james/mailbox/trunk/parent/pom.xml
>>
>> Modified: james/mailbox/trunk/parent/pom.xml
>> URL: http://svn.apache.org/viewvc/james/mailbox/trunk/parent/pom.xml?rev=1045178&r1=1045177&r2=1045178&view=diff
>> ==============================================================================
>> --- james/mailbox/trunk/parent/pom.xml (original)
>> +++ james/mailbox/trunk/parent/pom.xml Mon Dec 13 15:39:04 2010
>> @@ -425,7 +425,7 @@
>>        <dependency>
>>          <groupId>org.apache.derby</groupId>
>>          <artifactId>derby</artifactId>
>> -<version>10.2.2.0</version>
>> +<version>10.6.2.1</version>
>>          <scope>test</scope>
>>        </dependency>
>>        <dependency>
>> @@ -563,7 +563,22 @@
>>          END JCR
>>        -->
>>
>> +<!--
>> +        START JSR250
>> +      -->
>> +
>> +<dependency>
>> +<groupId>javax.annotation</groupId>
>> +<artifactId>jsr250-api</artifactId>
>> +<version>1.0</version>
>> +</dependency>
>> +
>> +<!--
>> +      END JSR250
>> +     -->
>> +
>>      </dependencies>
>> +
>>    </dependencyManagement>
>>
>>    <profiles>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>


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


Re: svn commit: r1045178 - /james/mailbox/trunk/parent/pom.xml

Posted by Norman Maurer <no...@apache.org>.
I wonder what you need the jsr-250 stuff for.. Could you explain ?

Bye,
Norman

2010/12/13  <er...@apache.org>:
> Author: eric
> Date: Mon Dec 13 15:39:04 2010
> New Revision: 1045178
>
> URL: http://svn.apache.org/viewvc?rev=1045178&view=rev
> Log:
> Add jsr250 (MAILBOX-19) + Align derby version to server project derby version.
>
> Modified:
>    james/mailbox/trunk/parent/pom.xml
>
> Modified: james/mailbox/trunk/parent/pom.xml
> URL: http://svn.apache.org/viewvc/james/mailbox/trunk/parent/pom.xml?rev=1045178&r1=1045177&r2=1045178&view=diff
> ==============================================================================
> --- james/mailbox/trunk/parent/pom.xml (original)
> +++ james/mailbox/trunk/parent/pom.xml Mon Dec 13 15:39:04 2010
> @@ -425,7 +425,7 @@
>       <dependency>
>         <groupId>org.apache.derby</groupId>
>         <artifactId>derby</artifactId>
> -        <version>10.2.2.0</version>
> +        <version>10.6.2.1</version>
>         <scope>test</scope>
>       </dependency>
>       <dependency>
> @@ -563,7 +563,22 @@
>         END JCR
>       -->
>
> +      <!--
> +        START JSR250
> +      -->
> +
> +    <dependency>
> +      <groupId>javax.annotation</groupId>
> +      <artifactId>jsr250-api</artifactId>
> +      <version>1.0</version>
> +    </dependency>
> +
> +    <!--
> +      END JSR250
> +     -->
> +
>     </dependencies>
> +
>   </dependencyManagement>
>
>   <profiles>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

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