Scott England-Sullivan wrote:
> After sending this out I tried something else. I used the wizard to set up a
> new maven2 project and it worked fine. So after tinkering with my pom.xml I
> found the problem. I had an old build extention referencing wagon-ftp:
>
> <build>
> <extensions>
> <extension>
> <groupId>org.apache.maven.wagon</groupId>
> <artifactId>wagon-ftp</artifactId>
> <version>1.0-beta-1</version>
> </extension>
> </extensions>
> ...
> </build>
>
> Once I commented it out, everything worked. I tried changing and commenting
> out the version but it had to be removed to work correctly. Not sure why.
> If you want me to still enter a JIRA bug report let me know. I would be
> happy to.
I have a similar problem:
> <build>
> <plugins>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>hibernate3-maven-plugin</artifactId>
> <version>2.0-SNAPSHOT</version>
> <configuration>
> <components>
> <component>
> <name>hbm2ddl</name>
>
> <implementation>annotationconfiguration</implementation>
> </component>
> </components>
> <componentProperties>
> <export>false</export>
>
> <configurationfile>/src/main/resources/META-INF/hibernate/hibernate.cfg.xml</configurationfile>
>
> <propertyfile>src/main/resources/META-INF/cocoon/properties/database.properties</propertyfile>
>
> <namingstrategy>org.hibernate.cfg.DefaultComponentSafeNamingStrategy</namingstrategy>
> <jdk5>true</jdk5>
>
> <outputfilename>schema.sql</outputfilename>
> </componentProperties>
> </configuration>
> </plugin>
> </plugins>
> <!--
> <extensions>
> <extension>
> <groupId>mysql</groupId>
> <artifactId>mysql-connector-java</artifactId>
> <version>5.0.3</version>
> </extension>
> <extension>
> <groupId>log4j</groupId>
> <artifactId>log4j</artifactId>
> <version>1.2.13</version>
> </extension>
> </extensions>
> -->
> </build>
--
Leszek Gawron
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email