[jboss-as7-dev] Help -- Bad dependencies

Andrig Miller anmiller at redhat.com
Thu Jun 2 10:21:30 EDT 2011


Howard, 

Let's make sure we use the new artifacts. I don't want to be pulling anything old and confusing the issue. 

Andy 

----- Original Message -----

> From: "Howard Gao" <hgao at redhat.com>
> To: jpai at redhat.com
> Cc: jboss-as7-dev at lists.jboss.org
> Sent: Thursday, June 2, 2011 8:15:08 AM
> Subject: Re: [jboss-as7-dev] Help -- Bad dependencies

> Thanks Jaikiran!

> Howard

> On 06/02/2011 10:01 PM, Jaikiran Pai wrote:
> > Those are deprecated artifacts. For the new spec artifacts use the
> > org.jboss.spec.* group in the HornetQ project.
> >
> > For JMS it is:
> >
> > <dependency>
> > <groupId>org.jboss.spec.javax.jms</groupId>
> > <artifactId>jboss-jms-api_1.1_spec</artifactId>
> > <version>1.0.0.Final</version>
> > </dependency>
> >
> > and for Transactions it is:
> >
> > <dependency>
> > <groupId>org.jboss.spec.javax.transaction</groupId>
> > <artifactId>jboss-transaction-api_1.1_spec</artifactId>
> > <version>1.0.0.Final</version>
> > </dependency>
> >
> > or just add an exclusion to these artifacts in the HornetQ
> > dependency of
> > the AS pom. I would recommend moving away from the deprecated
> > artifacts.
> >
> > -Jaikiran
> >
> > On Thursday 02 June 2011 07:07 PM, Howard Gao wrote:
> >> Hi Guys,
> >>
> >> Got following erro info building my branch:
> >>
> >> [INFO]
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO] Building JBoss Application Server: Messaging Subsystem
> >> 7.0.0.Beta4-SNAPSHOT
> >> [INFO]
> >> ------------------------------------------------------------------------
> >> [INFO]
> >> [INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce
> >> (ban-bad-dependencies) @ jboss-as-messaging ---
> >> [WARNING] Rule 0:
> >> org.apache.maven.plugins.enforcer.BannedDependencies
> >> failed with message:
> >> Found Banned Dependency:
> >> org.jboss.javaee:jboss-jms-api:jar:1.1.0.GA
> >> Found Banned Dependency:
> >> org.jboss.javaee:jboss-transaction-api:jar:1.0.1.GA
> >>
> >> I just updated pom.xml to point to a new version of hornetq
> >> (trunk) and
> >> then I got that.
> >>
> >> And idea how to fix it?
> >>
> >> Thanks
> >> Howard
> >>
> >>
> >> _______________________________________________
> >> jboss-as7-dev mailing list
> >> jboss-as7-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> > _______________________________________________
> > jboss-as7-dev mailing list
> > jboss-as7-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/jboss-as7-dev

> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110602/403a1e1d/attachment.html 


More information about the jboss-as7-dev mailing list