You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ed Hillmann <ed...@gmail.com> on 2008/11/03 04:11:21 UTC

Is there DocBook plugin support for Maven 2?

Hi all.  I was reading in Better Builds With Maven that it supports
DocBook for its site generation (specifically, section 3.10).  All of
the documentation I've come across only mentions fmt, xdoc and fml.

I have found some plugins out there, but a bunch seem to be pre-alpha
stage.  One of the more complete ones looks like
maven-plugins:maven-sdocbook-plugin.  I can find this on repo1, but
whenever I try to use it (er, just including it in my plugins... I
could not find anything specific about how to configure it), I get an
error:

java.lang.IllegalStateException: The PluginDescriptor for the plugin
Plugin [maven-plugins:maven-sdocbook-plugin] was not found.
        at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:325)
        at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:212)
        at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1274)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1238)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1004)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:787)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:767)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:549)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        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:597)
        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)


So, is this a case of this being a Maven 1 plugin that doesn't work in
Maven 2?  Have I configured this wrong?  Has anyone got a plugin that
uses DocBook to generate site doco?

Thanks for any help,
Ed

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Is there DocBook plugin support for Maven 2?

Posted by Ed Hillmann <ed...@gmail.com>.
On Mon, Nov 3, 2008 at 11:10 PM, Mimil <mi...@users.sourceforge.net> wrote:
>
> Hello,
>
> You should definitly have a look to docbkx-tools plugin (
> http://code.google.com/p/docbkx-tools/
> http://code.google.com/p/docbkx-tools/  and
> http://www.agilejava.com/docbkx/docbkx-samples/html/manual.html
> http://www.agilejava.com/docbkx/docbkx-samples/html/manual.html ).
> It is working like a charm and I am developper on it too.
>
> Regards,
> Cedric,
>

Thanks.  This looks like what I'm after.  I'll give it try very soon. :)

Thanks again,
Ed

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Is there DocBook plugin support for Maven 2?

Posted by Mimil <mi...@users.sourceforge.net>.
Hello,

You should definitly have a look to docbkx-tools plugin (
http://code.google.com/p/docbkx-tools/
http://code.google.com/p/docbkx-tools/  and 
http://www.agilejava.com/docbkx/docbkx-samples/html/manual.html
http://www.agilejava.com/docbkx/docbkx-samples/html/manual.html ).
It is working like a charm and I am developper on it too.

Regards,
Cedric,

-----
May the Moo force be with you,
Said Mimil
-- 
View this message in context: http://www.nabble.com/Is-there-DocBook-plugin-support-for-Maven-2--tp20296707p20302493.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Is there DocBook plugin support for Maven 2?

Posted by Barrie Treloar <ba...@gmail.com>.
On Mon, Nov 3, 2008 at 1:41 PM, Ed Hillmann <ed...@gmail.com> wrote:
> Hi all.  I was reading in Better Builds With Maven that it supports
> DocBook for its site generation (specifically, section 3.10).  All of
> the documentation I've come across only mentions fmt, xdoc and fml.

http://maven.apache.org/doxia/

caveat: I have never used docbook.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org