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

Howard Gao hgao at redhat.com
Thu Jun 2 10:15:08 EDT 2011


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



More information about the jboss-as7-dev mailing list