The <executions> node goes inside <configuration> and outside of <components>.

Wayne

On 8/16/07, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote:
>
> I got
>
> "Failed to configure plugin parameters for:
> org.codehaus.mojo:hibernate3-maven-plugin:2.0-alpha-2"
>
> here are the pom.xml
>
> ....
> <build>
>        <plugins>
>                <plugin>
>                        <groupId>org.codehaus.mojo</groupId>
>                        <artifactId>hibernate3-maven-plugin</artifactId>
>                        <version>2.0-alpha-2</version>
>                        <configuration>
>                                <components>
>                                        <executions>
>                                                <execution>
>                                                        
> <phase>generate-sources</phase>
>                                                        <goals>
>                                                                
> <goal>hbm2ddl</goal>
>                                                        </goals>
>                                                </execution>
>                                        </executions>
>                                        <component>
>                                                <name>hbm2ddl</name>
>                                                
> <implementation>annotationconfiguration</implementation>
>                                        </component>
>                                        <component>
>                                                <name>hbm2hbmxml</name>
>                                                
> <outputDirectory>src/main/resources</outputDirectory>
>                                        </component>
>                                </components>
>                                <componentProperties>
>                                        <drop>true</drop>
>                                        <create>true</create>
>
> <configurationfile>src/main/resources/hibernate.cfg.xml</configurationfile>
>                                                
> <outputfilename>schema.sql</outputfilename>
>                                </componentProperties>
>                        </configuration>
>                </plugin>
>        </plugins>
>        <resources>
>                <resource>
>                        <directory>src/main/resources</directory>
>                        <filtering>true</filtering>
>                </resource>
>        </resources>
>  </build>
> ...
> --
> View this message in context: 
> http://www.nabble.com/hibernate3-maven-plugin-not-running-tf4280489s177.html#a12186181
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to