hi all,
  i am running xd2 maven2 plugin for generating hibernate mapping files...
plugin has always worked in the last 3 months, but yesterday when i tried 
i got this disaster exception (i couldnt find anything on google about 
it..)


here's stacktrace

[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking 
for updates from codehaus-plugins
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking 
for updates from central
[INFO] artifact xdoclet:maven2-xdoclet2-plugin: checking for updates from 
codehaus-plugins
[INFO] artifact xdoclet:maven2-xdoclet2-plugin: checking for updates from 
central
[INFO] snapshot xdoclet-plugins:xdoclet-plugin-hibernate:1.0.4-SNAPSHOT: 
checking for updates from codehaus-plugins
[INFO] snapshot xdoclet-plugins:xdoclet-plugin-hibernate:1.0.4-SNAPSHOT: 
checking for updates from dist.codehaus.org
[INFO] snapshot xdoclet-plugins:xdoclet-plugin-hibernate:1.0.4-SNAPSHOT: 
checking for updates from apache
[INFO] snapshot xdoclet-plugins:xdoclet-plugin-hibernate:1.0.4-SNAPSHOT: 
checking for updates from apache-snapshots
[INFO] snapshot xdoclet-plugins:xdoclet-plugin-hibernate:1.0.4-SNAPSHOT: 
checking for updates from codehausSnapshots
[INFO] snapshot xdoclet-plugins:xdoclet-plugin-hibernate:1.0.4-SNAPSHOT: 
checking for updates from Codehaus
[INFO] snapshot xdoclet-plugins:xdoclet-taglib-plugin:1.0.4-SNAPSHOT: 
checking for updates from codehaus-plugins
[INFO] snapshot xdoclet-plugins:xdoclet-taglib-plugin:1.0.4-SNAPSHOT: 
checking for updates from dist.codehaus.org
[INFO] snapshot xdoclet-plugins:xdoclet-taglib-plugin:1.0.4-SNAPSHOT: 
checking for updates from apache
[INFO] snapshot xdoclet-plugins:xdoclet-taglib-plugin:1.0.4-SNAPSHOT: 
checking for updates from apache-snapshots
[INFO] snapshot xdoclet-plugins:xdoclet-taglib-plugin:1.0.4-SNAPSHOT: 
checking for updates from codehausSnapshots
[INFO] snapshot xdoclet-plugins:xdoclet-taglib-plugin:1.0.4-SNAPSHOT: 
checking for updates from Codehaus
[INFO] snapshot xdoclet-plugins:xdoclet-plugins:1.0.4-SNAPSHOT: checking 
for updates from codehaus-plugins
[INFO] snapshot xdoclet-plugins:xdoclet-plugins:1.0.4-SNAPSHOT: checking 
for updates from dist.codehaus.org
[INFO] snapshot xdoclet-plugins:xdoclet-plugins:1.0.4-SNAPSHOT: checking 
for updates from apache
[INFO] snapshot xdoclet-plugins:xdoclet-plugins:1.0.4-SNAPSHOT: checking 
for updates from apache-snapshots
[INFO] snapshot xdoclet-plugins:xdoclet-plugins:1.0.4-SNAPSHOT: checking 
for updates from codehausSnapshots
[INFO] snapshot xdoclet-plugins:xdoclet-plugins:1.0.4-SNAPSHOT: checking 
for updates from Codehaus
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:compile' is invalid. It will 
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:compile' is invalid. It will 
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
Downloading: 
http://dist.codehaus.org//generama/poms/qdox-20051211.114207.pom
Downloading: 
http://dist.codehaus.org/generama/poms/qdox-20051211.114207.pom
Downloading: 
http://cvs.apache.org/repository/generama/poms/qdox-20051211.114207.pom
Downloading: 
http://people.apache.org/maven-snapshot-repository//generama/qdox/20051211.114207/qdox-20051211.114207.pom
Downloading: 
http://repo1.maven.org/maven2/generama/qdox/20051211.114207/qdox-20051211.114207.pom
Downloading: 
http://repository.codehaus.org//generama/qdox/20051211.114207/qdox-20051211.114207.pom
Downloading: 
http://repo1.maven.org/maven2/generama/qdox/20051211.114207/qdox-20051211.114207.pom
[WARNING] POM for 
'commons-jelly:commons-jelly-tags-xml:pom:20050823.222913:compile' is 
invalid. It will be ignored for artifact resolution. Reason: Not a v4.0.0 
POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:runtime' is invalid. It will 
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:runtime' is invalid. It will 
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [2-xdoclet2:xdoclet {execution: xdoclet}]
[INFO] 
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] org.codehaus.xdoclet.Component
[INFO] 
------------------------------------------------------------------------
[INFO] Trace
java.lang.ClassCastException: org.codehaus.xdoclet.Component
        at org.codehaus.xdoclet.XDocletMojo.execute(XDocletMojo.java:136)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        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:272)
        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:585)
        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)
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Tue May 01 09:01:29 BST 2007
[INFO] Final Memory: 3M/7M
[INFO] 
------------------------------------------------------------------------



and here' smy pom.xml

<?xml version="1.0"?><project>
  <parent>
    <artifactId>WebWorkApp</artifactId>
    <groupId>WebWorkApp</groupId>
    <version>1.0-SNAPSHOT</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>WebWorkApp</groupId>
  <artifactId>WebWorkBackend</artifactId>
  <name>WebWorkBackend</name>
  <version>1.0-SNAPSHOT</version>
  <url>http://maven.apache.org</url>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate</artifactId>
      <version>3.2.3.ga</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-aop</artifactId>
    </dependency>
    <dependency>
        <groupId>commons-lang</groupId>
        <artifactId>commons-lang</artifactId>
    </dependency>
    <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
    </dependency>
    <dependency>
        <groupId>axis</groupId>
        <artifactId>axis</artifactId>
    </dependency>
    <dependency>
        <groupId>lucene</groupId>
        <artifactId>lucene</artifactId>
    </dependency>
    <dependency>
        <groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>
    </dependency>
    <dependency>
        <groupId>commons-beanutils</groupId>
        <artifactId>commons-beanutils</artifactId>
    </dependency>
    <dependency>
        <groupId>geronimo-spec</groupId>
        <artifactId>geronimo-spec-j2ee</artifactId>
    </dependency>
    <dependency>
        <groupId>poi</groupId>
        <artifactId>poi</artifactId>
        <version>2.5.1</version>
    </dependency>
  </dependencies>
    <build>
      <plugins>
          <plugin>
              <groupId>xdoclet</groupId>
              <artifactId>maven2-xdoclet2-plugin</artifactId>
              <version>2.0.5-SNAPSHOT</version>
              <executions>
                <execution>
                    <id>xdoclet</id>
                    <phase>generate-sources</phase>
                    <goals>
                        <goal>xdoclet</goal>
                    </goals>
                 </execution>
              </executions>
              <dependencies>
                <dependency>
                    <groupId>xdoclet-plugins</groupId>
                    <artifactId>xdoclet-plugin-hibernate</artifactId>
                    <version>1.0.4-SNAPSHOT</version>
                </dependency>
              </dependencies>

              <configuration>
                  <configs>
                      <component>
 
<classname>org.xdoclet.plugin.hibernate.HibernateMappingPlugin</classname>
                      </component>
                  </configs>
              </configuration>
           </plugin>
      </plugins>
  </build>

</project>


could anyone help me out?


thanx in advance and regards
  marco




This message and any attachments (the "message") is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**********************************************************************************************

BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI & AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to