Ah, ok.
Well, as I said, I made some changes here and it might be so that you need
to update your business tier pom to make it work.
In trunk, when using the business archetype you will get a pom that is
correct.
For you to make it work you need to do two things:
1) Add a dependency to cglib:
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>2.2</version>
<!-- Add scope provided when deployed in jboss -->
<!--scope>provided</scope-->
</dependency>
2) If you have a dependency to joda-time, add an exclusion to cglib:
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time-hibernate</artifactId>
<version>1.1</version>
<exclusions>
<exclusion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate</artifactId>
</exclusion>
<exclusion>
<groupId>hsqldb</groupId>
<artifactId>hsqldb</artifactId>
</exclusion>
<exclusion>
<groupId>ehcache</groupId>
<artifactId>ehcache</artifactId>
</exclusion>
<exclusion>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
</exclusion>
<exclusion>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
</exclusion>
* <exclusion>
<groupId>cglib</groupId>
<artifactId>cglib-full</artifactId>
</exclusion>*
</exclusions>
</dependency>
Hope that helps.
.../Andreas
On Mon, Nov 16, 2009 at 9:26 AM, greatfooty <greatfo...@gmail.com> wrote:
>
> Andreas thanks for your reply i do have a business tier but no cglib
> dependency seems be in there
> I do notice this in the pom of the business tier though ie. explicit
> exclusion?:
>
> <dependency>
> <groupId>org.codehaus.castor</groupId>
> <artifactId>castor</artifactId>
> <version>1.1.1</version>
> <exclusions>
> <exclusion>
> <groupId>cglib</groupId>
> <artifactId>cglib-full</artifactId>
> </exclusion>
>
> I'm unfamiliar with cglib, for me to add it in as a dependency what groupid
> and artifactid do i need to include .. is it the same as that above or do i
> just need remove that exclusion?
> --
> View this message in context:
> http://old.nabble.com/-Sculptor--CGLIB2-for-webapp--tp26367197s17564p26368282.html
> Sent from the Fornax-Platform mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Fornax-developer mailing list
> Fornax-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer