here is the pom from core...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.xxx.com</groupId> <artifactId>hbe</artifactId> <version>1.0-SNAPSHOT</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>hbe-core</artifactId> <packaging>jar</packaging> <name>AppFuse Modular Application - Core</name> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>aspectj-maven-plugin</artifactId> <version>1.0-beta-2</version> <configuration> <source>1.5</source> <verbose>true</verbose> <complianceLevel>1.5</complianceLevel> <showWeaveInfo>true</showWeaveInfo> <aspectLibraries> <aspectLibrary> <groupId>org.springframework</groupId> <artifactId>spring-aspects</artifactId> </aspectLibrary> </aspectLibraries> </configuration> <executions> <execution> <goals> <goal>compile</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>hibernate3-maven-plugin</artifactId> <version>2.0-alpha-2</version> <configuration> <components> <component> <name>hbm2ddl</name> <implementation>annotationconfiguration</implementation> </component> </components> <componentProperties> <drop>true</drop> <jdk5>true</jdk5> <propertyfile>target/test-classes/jdbc.properties</propertyfile> <skip>${maven.test.skip}</skip> </componentProperties> </configuration> <executions> <execution> <phase>process-test-resources</phase> <goals> <goal>hbm2ddl</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>${jdbc.groupId}</groupId> <artifactId>${jdbc.artifactId}</artifactId> <version>${jdbc.version}</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>dbunit-maven-plugin</artifactId> <version>1.0-beta-1</version> <configuration> <dataTypeFactoryName>${dbunit.dataTypeFactoryName}</dataTypeFactoryName> <driver>${jdbc.driverClassName}</driver> <username>${jdbc.username}</username> <password>${jdbc.password}</password> <url>${jdbc.url}</url> <src>src/test/resources/sample-data.xml</src> <type>${dbunit.operation.type}</type> <schema>${dbunit.schema}</schema> <skip>${maven.test.skip}</skip> </configuration> <executions> <execution> <phase>test-compile</phase> <goals> <goal>operation</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>${jdbc.groupId}</groupId> <artifactId>${jdbc.artifactId}</artifactId> <version>${jdbc.version}</version> </dependency> </dependencies> </plugin> </plugins> <testResources> <testResource> <directory>src/test/resources</directory> <filtering>true</filtering> </testResource> </testResources> </build> <dependencies> <dependency> <groupId>org.appfuse</groupId> <artifactId>appfuse-service</artifactId> <version>${appfuse.version}</version> <!-- This exclusion and the dependency following this one allow DAO framework switching. --> <!-- You only need these if you want to use JPA or iBATIS. See APF-565 for more information. --> <!-- It does no harm to leave it in for Hibernate, but it's not needed. --> <exclusions> <exclusion> <groupId>org.appfuse</groupId> <artifactId>appfuse-hibernate</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.appfuse</groupId> <artifactId>appfuse-${dao.framework}</artifactId> <version>${appfuse.version}</version> </dependency> </dependencies> </project> Mike Horwitz wrote: > > Looks like there is an issue with the configuration of the Maven Hibernate > 3 > project in your core module's pom.xml. Could you post the snippet from the > pom.xml for this plugin? > > Mike > > On 10/23/07, emmettwalsh <[EMAIL PROTECTED]> wrote: >> >> >> Hi, Im getting the following, anyone any ideas ? >> >> >> D:\Emmett\sandbox\hbe>mvn >> [INFO] Scanning for projects... >> [INFO] Reactor build order: >> [INFO] AppFuse Modular Application >> [INFO] AppFuse Modular Application - Core >> [INFO] AppFuse Modular Application - Web (Spring MVC) >> [INFO] >> >> ---------------------------------------------------------------------------- >> [INFO] Building AppFuse Modular Application >> [INFO] task-segment: [install] >> [INFO] >> >> ---------------------------------------------------------------------------- >> [INFO] [site:attach-descriptor] >> [INFO] [install:install] >> [INFO] Installing D:\Emmett\sandbox\hbe\pom.xml to C:\Documents and >> Settings\c_walsh_e\.m2\repository\com\sodamodena\com\hbe\1.0-SNAPSHOT\hbe- >> 1.0-SNAP >> SHOT.pom >> [INFO] >> >> ---------------------------------------------------------------------------- >> [INFO] Building AppFuse Modular Application - Core >> [INFO] task-segment: [install] >> [INFO] >> >> ---------------------------------------------------------------------------- >> [INFO] [aspectj:compile {execution: default}] >> [WARNING] bad version number found in C:\Documents and >> Settings\c_walsh_e\.m2\repository\aspectj\aspectjrt\1.5.3\aspectjrt- >> 1.5.3.jar >> expected 1.5.2a f >> ound 1.5.3 >> [INFO] [resources:resources] >> [INFO] Using default encoding to copy filtered resources. >> [INFO] [compiler:compile] >> [INFO] Nothing to compile - all classes are up to date >> [INFO] [resources:testResources] >> [INFO] Using default encoding to copy filtered resources. >> [INFO] Preparing hibernate3:hbm2ddl >> [WARNING] Removing: hbm2ddl from forked lifecycle, to prevent recursive >> invocation. >> [INFO] [aspectj:compile {execution: default}] >> [INFO] [resources:resources] >> [INFO] Using default encoding to copy filtered resources. >> [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is >> invalid. >> It will be ignored for artifact resolution. Reason: Parse error reading >> PO >> M. Reason: TEXT must be immediately followed by END_TAG and not START_TAG >> (position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13) for >> pro >> ject org.hibernate:jtidy at C:\Documents and >> Settings\c_walsh_e\.m2\repository\org\hibernate\jtidy\r8-20060801\jtidy- >> r8-20060801.pom >> [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is >> invalid. >> It will be ignored for artifact resolution. Reason: Parse error reading >> PO >> M. Reason: TEXT must be immediately followed by END_TAG and not START_TAG >> (position: START_TAG seen ...<licenses>\n\t\t\t<license>... @12:13) for >> pro >> ject org.hibernate:jtidy at C:\Documents and >> Settings\c_walsh_e\.m2\repository\org\hibernate\jtidy\r8-20060801\jtidy- >> r8-20060801.pom >> [INFO] [hibernate3:hbm2ddl {execution: default}] >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Could not get ConfigurationTask. >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 8 seconds >> [INFO] Finished at: Tue Oct 23 11:52:04 BST 2007 >> [INFO] Final Memory: 13M/26M >> [INFO] >> ------------------------------------------------------------------------ >> -- >> View this message in context: >> http://www.nabble.com/Could-not-get-ConfigurationTask----sping-mvc---jsf-tf4676677s2369.html#a13361684 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Could-not-get-ConfigurationTask----sping-mvc---jsf-tf4676677s2369.html#a13362040 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
