Hi,
 
i've problems getting XDoclet2/Maven2 to work.
- I've added both codehaus repositories to my pom.xml
- I cleaned my local repository
- I tried various combinations of 2.0.5-SNAPSHOT/2.0.5/1.0.4-SNAPSHOT/whatever
 
Still no luck.
Could anyone please assist?
 
Maven version: 2.0.4

Error message:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] XDoclet plugin failed: 
org.xdoclet.plugin.ejb.interfaces.RemoteHomeInterfacePlugin doesn't have any 
satisfiable constructors. Unsatisfiable dependencies:
 [[class org.generama.MergeableVelocityTemplateEngine, interface 
org.generama.WriterMapper, class org.xdoclet.plugin.ejb.EjbConfig]]

>From pom.xml:
<build>
  <plugins>
   <plugin>
    <groupId>xdoclet</groupId>
    <artifactId>maven2-xdoclet2-plugin</artifactId>
    <version>2.0.5-SNAPSHOT</version>
    <inherited>true</inherited>
    <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-ejb</artifactId>
      <version>1.0.4-SNAPSHOT</version>
     </dependency>
     <dependency>
      <groupId>xdoclet-plugins</groupId>
      <artifactId>xdoclet-plugin-qtags</artifactId>
      <version>1.0.4-SNAPSHOT</version>
     </dependency>
     <dependency>
      <groupId>xdoclet-plugins</groupId>
      <artifactId>xdoclet-plugin-plugin</artifactId>
      <version>1.0.4-SNAPSHOT</version>
     </dependency>
    </dependencies>
    
    
   
    
<repositories>
  <repository>
   <id>codehaus-maven2</id>
   <name>Codehaus Maven2 Repo</name>
   <url>http://dist.codehaus.org</url>
   <snapshots>
    <enabled>true</enabled>
   </snapshots>
  </repository>
  <repository>
   <id>codehaus-legacy</id>
   <name>Codehaus Legacy Repo</name>
   <url>http://dist.codehaus.org</url>
   <layout>legacy</layout>
   <snapshots>
    <enabled>true</enabled>
   </snapshots>
  </repository>
 </repositories>
 <pluginRepositories>
  <pluginRepository>
   <id>codehaus-maven2</id>
   <name>Codehaus Maven2 Repo</name>
   <url>http://dist.codehaus.org</url>
   <snapshots>
    <enabled>true</enabled>
   </snapshots>
  </pluginRepository>
  <pluginRepository>
   <id>codehaus-legacy</id>
   <name>Codehaus Legacy Repo</name>
   <url>http://dist.codehaus.org</url>
   <layout>legacy</layout>
   <snapshots>
    <enabled>true</enabled>
   </snapshots>
  </pluginRepository>
 </pluginRepositories>    
 
 
Detailed error message:
[DEBUG] xdoclet-plugin-qtags: using locally installed snapshot
[DEBUG] xdoclet-plugin-plugin: using locally installed snapshot
[DEBUG] xdoclet: using locally installed snapshot
[DEBUG] xdoclet-plugin-ejb: using locally installed snapshot
[DEBUG] generama: using locally installed snapshot
[DEBUG] Configuring mojo 
'xdoclet:maven2-xdoclet2-plugin:2.0.5-SNAPSHOT:xdoclet' -->
[DEBUG]   (s) includes = **/*.java
[DEBUG]   (s) params = 
{destdir=C:\development\svn\foo-ejb\target/generated-resources/xdoclet}
[DEBUG]   (s) classname = org.xdoclet.plugin.ejb.EjbConfig
[DEBUG]   (s) classname = 
org.xdoclet.plugin.ejb.interfaces.RemoteHomeInterfacePlugin
[DEBUG]   (s) classname = 
org.xdoclet.plugin.ejb.interfaces.RemoteInterfacePlugin
[DEBUG]   (s) classname = org.xdoclet.plugin.ejb.interfaces.LocalInterfacePlugin
[DEBUG]   (s) classname = 
org.xdoclet.plugin.ejb.interfaces.LocalHomeInterfacePlugin
[DEBUG]   (s) classname = org.xdoclet.plugin.ejb.descriptor.EjbJarXmlPlugin
[DEBUG]   (s) components = [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL 
PROTECTED], org.codehaus.
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
[DEBUG]   (s) configs = [Config{, includes=**/*.java, excludes=, 
encoding='Cp1252', addToSources='true', 
params={destdir=C:\development\svn\foo-ejb\target/generated-resources/xdoclet}}]
[DEBUG]   (s) project = [EMAIL PROTECTED]
[DEBUG] -- end configuration --
[INFO] [2-xdoclet2:xdoclet {execution: xdoclet}]
[DEBUG] Config{, includes=**/*.java, excludes=, encoding='Cp1252', 
addToSources='true', 
params={destdir=C:\development\svn\foo-ejb\target/generated-resources/xdoclet}}
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] XDoclet plugin failed: 
org.xdoclet.plugin.ejb.interfaces.RemoteHomeInterfacePlugin doesn't have any 
satisfiable constructors. Unsatisfiable dependencies:
 [[class org.generama.MergeableVelocityTemplateEngine, interface 
org.generama.WriterMapper, class org.xdoclet.plugin.ejb.EjbConfig]]
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: XDoclet plugin failed: 
org.xdoclet.plugin.ejb.interfaces.RemoteHomeInterfacePlugin doesn't have any 
sati
sfiable constructors. Unsatisfiable dependencies: [[class 
org.generama.MergeableVelocityTemplateEngine, interface 
org.generama.WriterMapper, class org.xdoclet.p
lugin.ejb.EjbConfig]]
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        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)
Caused by: org.apache.maven.plugin.MojoExecutionException: XDoclet plugin 
failed: org.xdoclet.plugin.ejb.interfaces.RemoteHomeInterfacePlugin doesn't 
have any s
atisfiable constructors. Unsatisfiable dependencies: [[class 
org.generama.MergeableVelocityTemplateEngine, interface 
org.generama.WriterMapper, class org.xdocle
t.plugin.ejb.EjbConfig]]
        at org.codehaus.xdoclet.XDocletMojo.execute(XDocletMojo.java:158)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        ... 16 more
Caused by: org.picocontainer.defaults.UnsatisfiableDependenciesException: 
org.xdoclet.plugin.ejb.interfaces.RemoteHomeInterfacePlugin doesn't have any 
satisfiab
le constructors. Unsatisfiable dependencies: [[class 
org.generama.MergeableVelocityTemplateEngine, interface 
org.generama.WriterMapper, class org.xdoclet.plugin
.ejb.EjbConfig]]
        at 
org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getGreediestSatisifableConstructor(ConstructorInjectionComponentAdapter.java:138)
        at 
org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:193)
        at 
org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48)
        at 
org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42)
        at 
org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:37)
        at 
org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42)
        at 
org.picocontainer.defaults.BeanPropertyComponentAdapter.getComponentInstance(BeanPropertyComponentAdapter.java:59)
        at 
org.picocontainer.defaults.DefaultPicoContainer.getComponentInstancesOfType(DefaultPicoContainer.java:274)
        at 
org.picocontainer.defaults.DefaultPicoContainer.getComponentInstancesOfTypeWithContainerAdaptersLast(DefaultPicoContainer.java:377)
        at 
org.picocontainer.defaults.DefaultPicoContainer.start(DefaultPicoContainer.java:347)
        at 
org.nanocontainer.integrationkit.LifecycleContainerBuilder.autoStart(LifecycleContainerBuilder.java:52)
        at 
org.nanocontainer.integrationkit.LifecycleContainerBuilder.buildContainer(LifecycleContainerBuilder.java:45)
        at org.codehaus.xdoclet.XDocletMojo.execute(XDocletMojo.java:149)
        ... 18 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Thu Feb 15 11:39:07 CET 2007
[INFO] Final Memory: 6M/12M
[INFO] ------------------------------------------------------------------------
 
 
--
Mike Haller
Phone @ Innovations +49-7545-202-541
Phone @ Glencore +41-41709-2989
-------------------------------------------------------------
Innovations Softwaretechnologie GmbH
Ziegelei 7, 88090 Immenstaad, Germany
Phone:   +49(0)7545-202-300
Fax:     +49(0)7545-202-301
[EMAIL PROTECTED]
www.innovations-software.com
-------------------------------------------------------------
Executives:
Achim Berger, Thomas Cotic, Walter Pitz
Register Court Ulm HRB 631622
-------------------------------------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to