You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rm...@apache.org on 2011/06/24 20:26:50 UTC

svn commit: r1139402 - in /openejb/trunk/openejb3/examples/mbean-auto-registration: README.md pom.xml

Author: rmannibucau
Date: Fri Jun 24 18:26:50 2011
New Revision: 1139402

URL: http://svn.apache.org/viewvc?rev=1139402&view=rev
Log:
setting the good scope for mbean api in mbean example

Modified:
    openejb/trunk/openejb3/examples/mbean-auto-registration/README.md
    openejb/trunk/openejb3/examples/mbean-auto-registration/pom.xml

Modified: openejb/trunk/openejb3/examples/mbean-auto-registration/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/mbean-auto-registration/README.md?rev=1139402&r1=1139401&r2=1139402&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/mbean-auto-registration/README.md (original)
+++ openejb/trunk/openejb3/examples/mbean-auto-registration/README.md Fri Jun 24 18:26:50 2011
@@ -1,9 +1,20 @@
 # MBean auto registration
 
-[Download as zip](dynamic-datasource-routing.zip)
+[Download as zip](mbean-auto-registration.zip)
 
 This example shows how to automatically create and register mbeans using OpenEJB features.
 
+# Dependencies
+
+To be able to use it you need to import the mbean api (annotations):
+
+    <dependency>
+      <groupId>org.apache.openejb</groupId>
+      <artifactId>mbean-annotation-api</artifactId>
+      <version>4.0.0-SNAPSHOT</version>
+      <scope>provided</scope>
+    </dependency>
+
 # The MBean
 
 The mbean implements a simple game where the goal is to guess a number.

Modified: openejb/trunk/openejb3/examples/mbean-auto-registration/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/examples/mbean-auto-registration/pom.xml?rev=1139402&r1=1139401&r2=1139402&view=diff
==============================================================================
--- openejb/trunk/openejb3/examples/mbean-auto-registration/pom.xml (original)
+++ openejb/trunk/openejb3/examples/mbean-auto-registration/pom.xml Fri Jun 24 18:26:50 2011
@@ -57,6 +57,12 @@
       <scope>provided</scope>
     </dependency>
     <dependency>
+      <groupId>org.apache.openejb</groupId>
+      <artifactId>mbean-annotation-api</artifactId>
+      <version>4.0.0-SNAPSHOT</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <version>4.8.1</version>