Hi ,
I have created two modules "tuscany-jmx-activator" and "tuscany-jmx".
The core-spi module should have a dependency on the tuscany-jmx module. I
have included this dependency in the pom file of core-spi as following
<dependencies>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-jmx</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
</dependencies>
And this is how the content of the, tuscany-jmx pom looks like
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-modules</artifactId>
<version>2.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>tuscany-jmx</artifactId>
<name>Apache Tuscany SCA JMX integration</name>
</project>
I'm using a test case to bootstrap tuscany
https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/samples/running-tuscany/junit/src/test/java/launcher/LaunchCalculatorContributionTestCase.java,
to check the consistency of the MXbeans I have created via the jconsole.
The test case worked fine till I added the dependency. I wonder whether I
did anything wrong in creating the pom of tuscany-jmx and adding the
dependency to core-spi. Any suggestions are wellcome. (I have attached a
path to JIRA)
--
Thanks
Amindri Udugala
University of Colombo School of Computing,
Sri Lanka.