You need to exclude appfuse-data-common from the warpath dependency as well.

Matt

On 11/5/07, mavenj <[EMAIL PROTECTED]> wrote:
>
> I'm running a "Basic Spring MVC Archetype".  I modified the User class,
> making the Address transient and adding a couple of attributes.  When the
> database is created, it looks the way I expect (no address fields, etc...).
> I believe I followed the instructions
> http://appfuse.org/display/APF/AppFuse+Core+Classes here  for modifying the
> pom, but during tests, when the UserDao is accessing the database, sql
> executes as if the unmodified User model class is still in play (error
> messages like "Unknown column 'user0_.address' in 'field list'" result in
> tests).
> I could only get the tests to run by excluding appfuse-data-common from
> appfuse-hibernate:
>         <dependency>
>             <groupId>org.appfuse</groupId>
>             <artifactId>appfuse-${dao.framework}</artifactId>
>             <version>${appfuse.version}</version>
>             <exclusions>
>                 <!-- building within the app -->
>                 <exclusion>
>                   <groupId>org.appfuse</groupId>
>                   <artifactId>appfuse-data-common</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>
> and also removing it from the main project:
>         <!--dependency>
>             <groupId>org.appfuse</groupId>
>             <artifactId>appfuse-data-common</artifactId>
>             <version>2.0-m5</version>
>         </dependency-->
>
> Doesn't seem right.  I'm not sure what's going on here, and would appreciate
> some comments.
> --
> View this message in context: 
> http://www.nabble.com/modifying-core-classes---test-dependencies-tf4753927s2369.html#a13594235
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to