the only thing i have changed is the db config  (the activation tag)in the
pom of my app...


<profile>
            <id>hsqldb</id>
                        <activation>
                                <activeByDefault>true</activeByDefault>
                        </activation>
            <properties>
               
<dbunit.dataTypeFactoryName>org.dbunit.ext.hsqldb.HsqldbDataTypeFactory</dbunit.dataTypeFactoryName>
               
<hibernate.dialect>org.hibernate.dialect.HSQLDialect</hibernate.dialect>
                <jdbc.groupId>hsqldb</jdbc.groupId>
                <jdbc.artifactId>hsqldb</jdbc.artifactId>
                <jdbc.version>1.8.0.7</jdbc.version>
               
<jdbc.driverClassName>org.hsqldb.jdbcDriver</jdbc.driverClassName>
               
<jdbc.url><![CDATA[jdbc:hsqldb:hbe;shutdown=true]]></jdbc.url>
                <jdbc.username>sa</jdbc.username>
                <jdbc.password></jdbc.password>
            </properties>
        </profile>



mraible wrote:
> 
> Make sure you don't have any spaces or other typos in the
> hibernate3-maven-plugin - where you specify "jpaconfiguration".
> 
> Matt
> 
> On 10/24/07, emmettwalsh <[EMAIL PROTECTED]> wrote:
>>
>> here it is...
>>
>> D:\Emmett\sandbox\hbe>mvn -e
>> + Error stacktraces are turned on.
>> [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] artifact org.apache.maven.plugins:maven-site-plugin: checking for
>> updates from appfuse
>> [INFO] artifact org.apache.maven.plugins:maven-install-plugin: checking
>> for
>> updates from appfuse
>> [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] artifact org.apache.maven.plugins:maven-resources-plugin: checking
>> for updates from appfuse
>> [INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking
>> for
>> updates from appfuse
>> [INFO] artifact org.apache.maven.plugins:maven-jar-plugin: checking for
>> updates from appfuse
>> [INFO] [aspectj:compile {execution: default}]
>> [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] Trace
>> org.apache.maven.lifecycle.LifecycleExecutionException: Could not get
>> ConfigurationTask.
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:324)
>>         at
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>         at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by: org.apache.maven.plugin.MojoExecutionException: Could not get
>> ConfigurationTask.
>>         at
>> org.codehaus.mojo.hibernate3.HibernateExporterMojo.getComponentConfiguration(HibernateExporterMojo.java:223)
>>         at
>> org.codehaus.mojo.hibernate3.exporter.Hbm2DDLExporterMojo.doExecute(Hbm2DDLExporterMojo.java:87)
>>         at
>> org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:140)
>>         at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>>         ... 16 more
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 13 seconds
>> [INFO] Finished at: Wed Oct 24 08:07:16 BST 2007
>> [INFO] Final Memory: 12M/25M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>>
>> mraible wrote:
>> >
>> > What do you see if you run "mvn -e"?
>> >
>> > On 10/23/07, emmettwalsh <[EMAIL PROTECTED]> wrote:
>> >>
>> >> 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]
>> >>
>> >>
>> >
>> >
>> > --
>> > http://raibledesigns.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#a13380120
>> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Could-not-get-ConfigurationTask----sping-mvc---jsf-tf4676677s2369.html#a13405440
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to