There is an issue for this in Jira:
  http://jira.codehaus.org/browse/MEV-191

Dennis Lundberg wrote:
Hello

The problem is with either xdoclet or the xdoclet-maven-plugin. One of them has a dependency on commons-logging-1.1-dev, which is not yet released. That dependency is therefor not available at ibiblio.

Jerarckill - ANS wrote:
Hello,

I am trying to make the XDoclet plugin work on one of my project.
Since the task needed is ejbDoclet, i just copy-pasted the code given from
http://mojo.codehaus.org/xdoclet-maven-plugin/usage.html

This copy-pasted code is the following:
// ------------------------------------------------------------------------

<plugin>
  <artifactId>xdoclet-maven-plugin</artifactId>
  <groupId>org.codehaus.mojo</groupId>
  <version>1.0-alpha-1</version>
  <executions>
    <execution>
      <phase>generate-sources</phase>
      <goals>
        <goal>xdoclet</goal>
      </goals>
      <configuration>
        <tasks>

          <!-- example : -->

          <ejbdoclet destdir="${project.build.outputDirectory}">
<fileset dir="${basedir}/src/main/java" includes="**/*Bean.java"/>
            <entitycmp destDir="${project.build.outputDirectory}"/>
            <deploymentdescriptor
              destDir="${project.build.outputDirectory}"/META-INF"
            />
          </ejbdoclet>

        </tasks>
      </configuration>
    </goal>
  </goals>
</plugin>

// ------------------------------------------------------------------------

When launching the mvn compile goal, I receive this output, which is, as you can see, totally unclear.

// ------------------------------------------------------------------------

C:\development\projects\workflows\users-model>cmd /k mvn compile
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Theseos default Model project
[INFO]    task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/codehaus/mojo/xdoclet-maven-plugin/1.0-alpha-1/xdoclet-maven-plugin-1.0-alpha-1.pom
8K downloaded
Downloading:
http://repo1.maven.org/maven2/org/codehaus/mojo/xdoclet-maven-plugin/1.0-alpha-1/xdoclet-maven-plugin-1.0-alpha-1.jar
6K downloaded
[WARNING]
  This artifact has been relocated to javax.transaction:jta:1.0.1B.


Downloading:
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.1-dev/commons-logging-1.1-dev.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[WARNING]
  This artifact has been relocated to javax.servlet:servlet-api:2.3.


[INFO]
----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] null
[INFO]
----------------------------------------------------------------------------
[INFO] Trace
java.lang.AbstractMethodError
        at
org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:247)
        at
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:137)
        at
org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.java:56)
        at
org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1038)
        at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:563)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:377)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        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: 7 seconds
[INFO] Finished at: Mon Nov 14 13:50:08 CET 2005
[INFO] Final Memory: 3M/8M
[INFO]
----------------------------------------------------------------------------

I would really appreciate help here since all my team is waiting for this xdoclet generation to be performed in order to continue working.

Thank you in advance,

JADOULLE Jérôme


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





--
Dennis Lundberg


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

Reply via email to