Hi Xavier, fastest solution for you would be to build snapshot yourself ( due to changes in codehaus we can not deploy with our maven-1 build - so I started to work on m2 one )
( if you are faster than me, update generama/xdoclet dependencies to 1.2.2/2.0.5 ) regards, --- Xavier MOGHRABI <[EMAIL PROTECTED]> wrote: > Hi, > > As you said, I think that the HibernatePlugin 1.0.3 > incompatible with the > latest version of xdoclet2. Concerning using a > snapshot of the plugin, I > wasn't able to find one. > > My pom.xml is the following : > > <?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> > <groupId>org.objectweb.website.jabber</groupId> > <artifactId>jabber</artifactId> > <packaging>war</packaging> > <version>1.0-SNAPSHOT</version> > <name>ObjectWeb Jabber Website</name> > <url>https://jabber.objectweb.org</url> > > <build> > <finalName>jabber</finalName> > <plugins> > <plugin> > <groupId>org.mortbay.jetty</groupId> > <artifactId>maven-jetty6-plugin</artifactId> > <configuration> > > <scanIntervalSeconds>10</scanIntervalSeconds> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <source>1.5</source> > <target>1.5</target> > </configuration> > </plugin> > <plugin> > <groupId>xdoclet</groupId> > <artifactId>maven2-xdoclet2-plugin</artifactId> > <configuration> > <configs> > <config> > <plugin> > > org.xdoclet.plugin.hibernate.HibernateMappingPlugin > </plugin> > <params> > > <version>3.0</version> > <destdir> > > ${basedir}/target/classes/ > </destdir> > </params> > </config> > <config> > <plugin> > > org.xdoclet.plugin.hibernate.HibernateConfigPlugin > </plugin> > <params> > <dialect> > > org.hibernate.dialect.MySQLDialect > </dialect> > <jdbcdriver> > > com.mysql.jdbc.Driver > </jdbcdriver> > <jdbcurl> > > jdbc:mysql://venus.objectweb.org:3306/wildfire > </jdbcurl> > > <jdbcusername>xwiki</jdbcusername> > > <jdbcpassword>changeit</jdbcpassword> > > <version>3.0</version> > </params> > </config> > </configs> > </configuration> > <dependencies> > <dependency> > > <groupId>xdoclet-plugins</groupId> > <artifactId> > xdoclet-plugin-hibernate > </artifactId> > <version>1.0</version> > </dependency> > > </dependencies> > <executions> > <execution> > <goals> > <goal>xdoclet</goal> > </goals> > </execution> > </executions> > </plugin> > </plugins> > </build> > <!-- Profile to run jetty, so the tomcat jars are > included in the bundle. > They are not included by default --> > <profiles> > <profile> > <id>jettyConfig</id> > <dependencies> > <dependency> > <groupId>javax.servlet</groupId> > <artifactId>jsp-api</artifactId> > <version>2.0</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>tomcat</groupId> > <artifactId>jasper-compiler</artifactId> > <version>5.5.9</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>tomcat</groupId> > <artifactId>jasper-runtime</artifactId> > <version>5.5.9</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>tomcat</groupId> > > <artifactId>jasper-compiler-jdt</artifactId> > <version>5.5.9</version> > <scope>compile</scope> > </dependency> > </dependencies> > </profile> > </profiles> > > <repositories> > <repository> > <releases> > <enabled>false</enabled> > </releases> > <snapshots> > <enabled>true</enabled> > </snapshots> > <id>apache-maven-snapshots</id> > > <url>http://cvs.apache.org/maven-snapshot-repository</url> > </repository> > <repository> > <id>codehaus</id> > <url>http://dist.codehaus.org/</url> > <layout>default</layout> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </repository> > <repository> > <id>codehaus-legacy</id> > <url>http://dist.codehaus.org/</url> > <layout>legacy</layout> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </repository> > </repositories> > > <!-- Repositories for plugins --> > <pluginRepositories> > <!-- Repository to get the jetty plugin --> > <pluginRepository> > <id>mortbay-repo</id> > <name>mortbay-repo</name> > <url>http://www.mortbay.org/maven2/snapshot</url> > </pluginRepository> > <pluginRepository> > <id>codehaus-plugins-legacy</id> > <url>http://dist.codehaus.org/</url> > <layout>legacy</layout> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </pluginRepository> > <pluginRepository> > <id>codehaus-plugins</id> > <url>http://dist.codehaus.org/</url> > <snapshots> > <enabled>true</enabled> > </snapshots> > <releases> > <enabled>true</enabled> > </releases> > </pluginRepository> > </pluginRepositories> > > <!-- Project dependencies --> > <dependencies> > <dependency> > <groupId>org.apache.myfaces.core</groupId> > <artifactId>myfaces-api</artifactId> > <version>1.1.4-SNAPSHOT</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>org.apache.myfaces.core</groupId> > <artifactId>myfaces-impl</artifactId> > <version>1.1.4-SNAPSHOT</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>org.apache.myfaces.tomahawk</groupId> > <artifactId>tomahawk</artifactId> > <version>1.1.3-SNAPSHOT</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>org.hibernate</groupId> > <artifactId>hibernate</artifactId> > <version>3.1.3</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>servletapi</groupId> > <artifactId>servletapi</artifactId> > <version>2.4</version> > <scope>compile</scope> > </dependency> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>3.8.1</version> > <scope>test</scope> > </dependency> > </dependencies> > </project> > > > > > -- > Xavier MOGHRABI - Consortium ObjectWeb > Jabber: [EMAIL PROTECTED] - Phone: +33 4 > 76 61 52 35 > > Le mercredi 21 juin 2006 01:48, Grégory Joseph a > écrit : > > Hmm, I'd say, try mvn with the -X or -e option to > enable stacktraces, > > and try a snapshot of the plugin of the plugin, > but I reckon that's > > not of much help. The exception basically says - I > think - that a > > class it's trying to use does not implement the > validateModel > > abstract method, so that sounds like an > incompatible xdoclet or plugin > > version. Are you sure you're using an xdoclet > plugin? Maybe pasting > > your pom could also give us hints about what's > wrong. > > > > g > > > _______________________________________________ > xdoclet-plugins-interest mailing list > xdoclet-plugins-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest > ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- Still using XDoclet 1.x? XDoclet 2 is released and of production quality. check it out: http://xdoclet.codehaus.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest