dev@glassfish.java.net

how to fix dependency on javax.management.j2ee

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Mon, 02 Jun 2008 10:27:12 -0700

It's been 2 weeks or so since I've built v3. Something has changed.
amx-api pom.xml has this declaration:

     <dependencies>
         <dependency>
             <groupId>javax.management.j2ee</groupId>
             <artifactId>management-api</artifactId>
             <version>${management-api.version}</version>
             <scope>provided</scope>
         </dependency>
     </dependencies>

But building it results in a big warning...how to fix this?


INFO: Loading modules list from /v3/code/common/amx-api/pom.xml
Jun 2, 2008 10:24:05 AM DependencyAnalyserMojo execute
WARNING: Missing dependency. See details below:
        com.sun.appserv.management.j2ee.statistics.BoundaryStatisticImpl ->
{javax.management.j2ee.statistics.BoundaryStatistic}
        com.sun.appserv.management.monitor.statistics.EJBMethodStats ->
{javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.TimeStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.j2ee.statistics.BoundedRangeStatisticImpl -
> {javax.management.j2ee.statistics.BoundedRangeStatistic}
        com.sun.appserv.management.monitor.statistics.HTTPListenerStats ->
{javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.monitor.statistics.EJBCacheStats ->
{javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.BoundedRangeStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.j2ee.StatisticsProvider ->
{javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.j2ee.statistics.StatsFactory ->
{javax.management.j2ee.statistics.JMSSessionStats,
javax.management.j2ee.statistics.Statistic,
javax.management.j2ee.statistics.JMSStats,
javax.management.j2ee.statistics.JMSConsumerStats,
javax.management.j2ee.statistics.SessionBeanStats,
javax.management.j2ee.statistics.StatelessSessionBeanStats,
javax.management.j2ee.statistics.JCAConnectionStats,
javax.management.j2ee.statistics.JVMStats,
javax.management.j2ee.statistics.JTAStats,
javax.management.j2ee.statistics.Stats,
javax.management.j2ee.statistics.JDBCStats,
javax.management.j2ee.statistics.URLStats,
javax.management.j2ee.statistics.JDBCConnectionStats,
javax.management.j2ee.statistics.JMSConnectionStats,
javax.management.j2ee.statistics.JCAStats,
javax.management.j2ee.statistics.JMSEndpointStats,
javax.management.j2ee.statistics.JavaMailStats,
javax.management.j2ee.statistics.EJBStats,
javax.management.j2ee.statistics.JDBCConnectionPoolStats,
javax.management.j2ee.statistics.StatefulSessionBeanStats,
javax.management.j2ee.statistics.JCAConnectionPoolStats,
javax.management.j2ee.statistics.JMSProducerStats,
javax.management.j2ee.statistics.MessageDrivenBeanStats,
javax.management.j2ee.statistics.ServletStats,
javax.management.j2ee.statistics.EntityBeanStats}
        com.sun.appserv.management.monitor.statistics.FileCacheStats ->
{javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.monitor.statistics.EJBPoolStats ->
{javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.BoundedRangeStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.j2ee.statistics.NumberStatistic ->
{javax.management.j2ee.statistics.Statistic}
        com.sun.appserv.management.monitor.StatefulSessionBeanMonitor ->
{javax.management.j2ee.statistics.StatefulSessionBeanStats}
        com.sun.appserv.management.monitor.statistics.ConnectionManagerStats -
> {javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.BoundedRangeStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.monitor.statistics.AltServletStats ->
{javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.ServletStats,
javax.management.j2ee.statistics.TimeStatistic}
        com.sun.appserv.management.j2ee.EntityBean ->
{javax.management.j2ee.statistics.EntityBeanStats}
        com.sun.appserv.management.monitor.EntityBeanMonitor ->
{javax.management.j2ee.statistics.EntityBeanStats}
        com.sun.appserv.management.j2ee.statistics.TimeStatisticImpl ->
{javax.management.j2ee.statistics.TimeStatistic}
        com.sun.appserv.management.monitor.BeanMonitor ->
{javax.management.j2ee.statistics.EJBStats}
        com.sun.appserv.management.j2ee.statistics.MapStatisticImpl ->
{javax.management.j2ee.statistics.Statistic}
        com.sun.appserv.management.monitor.MonitoringStats ->
{javax.management.j2ee.statistics.Statistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.monitor.statistics.LoadBalancerServerStats
-> {javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.monitor.JVMMonitor ->
{javax.management.j2ee.statistics.JVMStats}
         
com
.sun
.appserv
.management.monitor.statistics.WebServiceEndpointAggregateStats ->
{javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.monitor.statistics.ConnectionQueueStats ->
{javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.monitor.statistics.KeepAliveStats ->
{javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.Stats}
         
com
.sun
.appserv.management.monitor.statistics.LoadBalancerContextRootStats ->
{javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.TimeStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.monitor.statistics.TransactionServiceStats
-> {javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.j2ee.statistics.MapStatistic ->
{javax.management.j2ee.statistics.Statistic}
         
com
.sun.appserv.management.util.jmx.stringifier.StringifierRegistryIniter
-> {javax.management.j2ee.statistics.Statistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.j2ee.statistics.StatsImpl ->
{javax.management.j2ee.statistics.Statistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.util.j2ee.stringifier.StatisticStringifier
-> {javax.management.j2ee.statistics.Statistic}
        com.sun.appserv.management.j2ee.statistics.StringStatistic ->
{javax.management.j2ee.statistics.Statistic}
        com.sun.appserv.management.monitor.statistics.ThreadPoolStats ->
{javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.BoundedRangeStatistic,
javax.management.j2ee.statistics.RangeStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.j2ee.statistics.StatisticFactory ->
{javax.management.j2ee.statistics.Statistic,
javax.management.j2ee.statistics.RangeStatistic,
javax.management.j2ee.statistics.BoundaryStatistic,
javax.management.j2ee.statistics.TimeStatistic,
javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.BoundedRangeStatistic}
        com.sun.appserv.management.monitor.StatelessSessionBeanMonitor ->
{javax.management.j2ee.statistics.StatelessSessionBeanStats}
        com.sun.appserv.management.j2ee.statistics.RangeStatisticImpl ->
{javax.management.j2ee.statistics.RangeStatistic}
         
com
.sun.appserv.management.monitor.statistics.WebModuleVirtualServerStats
-> {javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.j2ee.statistics.StatisticImpl ->
{javax.management.j2ee.statistics.Statistic}
        com.sun.appserv.management.j2ee.statistics.CompositeDataStats ->
{javax.management.j2ee.statistics.Statistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.monitor.MessageDrivenBeanMonitor ->
{javax.management.j2ee.statistics.MessageDrivenBeanStats}
        com.sun.appserv.management.util.j2ee.J2EEUtil ->
{javax.management.j2ee.statistics.JMSSessionStats,
javax.management.j2ee.statistics.Statistic,
javax.management.j2ee.statistics.RangeStatistic,
javax.management.j2ee.statistics.JMSConsumerStats,
javax.management.j2ee.statistics.JCAConnectionStats,
javax.management.j2ee.statistics.JVMStats,
javax.management.j2ee.statistics.Stats,
javax.management.j2ee.statistics.JCAStats,
javax.management.j2ee.statistics.TimeStatistic,
javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.JavaMailStats,
javax.management.j2ee.statistics.JDBCConnectionPoolStats,
javax.management.j2ee.statistics.EntityBeanStats,
javax.management.j2ee.statistics.ServletStats,
javax.management.j2ee.statistics.JMSStats,
javax.management.j2ee.statistics.SessionBeanStats,
javax.management.j2ee.statistics.StatelessSessionBeanStats,
javax.management.j2ee.statistics.BoundaryStatistic,
javax.management.j2ee.statistics.JDBCStats,
javax.management.j2ee.statistics.URLStats,
javax.management.j2ee.statistics.JMSConnectionStats,
javax.management.j2ee.statistics.JMSEndpointStats,
javax.management.j2ee.statistics.BoundedRangeStatistic,
javax.management.j2ee.statistics.EJBStats,
javax.management.j2ee.statistics.StatefulSessionBeanStats,
javax.management.j2ee.statistics.JCAConnectionPoolStats,
javax.management.j2ee.statistics.JMSProducerStats,
javax.management.j2ee.statistics.MessageDrivenBeanStats}
        com.sun.appserv.management.j2ee.statistics.CompositeDataStatistic ->
{javax.management.j2ee.statistics.Statistic}
        com.sun.appserv.management.j2ee.statistics.CountStatisticImpl ->
{javax.management.j2ee.statistics.CountStatistic}
         
com
.sun
.appserv.management.monitor.statistics.HTTPServiceVirtualServerStats -
> {javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.monitor.statistics.ConnectionPoolStats ->
{javax.management.j2ee.statistics.CountStatistic,
javax.management.j2ee.statistics.RangeStatistic,
javax.management.j2ee.statistics.Stats}
        com.sun.appserv.management.util.j2ee.stringifier.StatsStringifier ->
{javax.management.j2ee.statistics.Stats}


---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc