You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dave Syer <da...@hotmail.com> on 2007/06/30 10:18:18 UTC
Re: How to use doxia-module-twiki?
Zeltner Martin wrote:
>
> I can't find any doc how to declare the "doxia-module-twiki" in my pom
> that "mvn site" will render my twiki files in "src/site/twiki" to
> "target/site".
>
If anyone else is interested, I think something has changed here. I just
tried it this morning and it worked (yesterday it didn't, but that could be
owing to my own incompetence).
Here's the magic incantation (not an extension, but a dependency):
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-twiki</artifactId>
<version>1.0-alpha-9-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
It doesn't work with site:run as far as I can tell which is a shame, but it
looks pretty good as it is.
--
View this message in context: http://www.nabble.com/How-to-use-doxia-module-twiki--tf2091128s177.html#a11371747
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: How to use doxia-module-twiki?
Posted by Dirk Olmes <di...@googlemail.com>.
Dave Syer wrote:
>
>
> Sorry, I forgot to include the other essential ingredient:
>
> <pluginRepositories>
> <pluginRepository>
> <id>apache-snapshots</id>
> <url>
> http://people.apache.org/maven-snapshot-repository
> </url>
> </pluginRepository>
> </pluginRepositories>
>
> I found a couple of bugs since I started using it (see recent DOXIA-??
> entries), but they are pretty trivial and overral I am happy.
>
Thanks David, that did the trick. I'm still getting an exception when the
site is rendered but the rendering process continues anyway.
-dirk
--
View this message in context: http://www.nabble.com/How-to-use-doxia-module-twiki--tf2091128s177.html#a11462657
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: How to use doxia-module-twiki?
Posted by Dave Syer <da...@hotmail.com>.
Sorry, I forgot to include the other essential ingredient:
<pluginRepositories>
<pluginRepository>
<id>apache-snapshots</id>
<url>
http://people.apache.org/maven-snapshot-repository
</url>
</pluginRepository>
</pluginRepositories>
I found a couple of bugs since I started using it (see recent DOXIA-??
entries), but they are pretty trivial and overral I am happy.
Dirk Olmes wrote:
>
> Dave, do you have a reference to a full pom including the twiki module? I
> put the xml above in a new pom and ran mvn site - to no avail. Other
> formats are generated fine yet the files in src/site/twiki are not
> rendered.
>
--
View this message in context: http://www.nabble.com/How-to-use-doxia-module-twiki--tf2091128s177.html#a11454158
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: How to use doxia-module-twiki?
Posted by Dirk Olmes <di...@googlemail.com>.
Dave Syer wrote:
>
>
>
> Zeltner Martin wrote:
>>
>> I can't find any doc how to declare the "doxia-module-twiki" in my pom
>> that "mvn site" will render my twiki files in "src/site/twiki" to
>> "target/site".
>>
>
> If anyone else is interested, I think something has changed here. I just
> tried it this morning and it worked (yesterday it didn't, but that could
> be owing to my own incompetence).
>
> Here's the magic incantation (not an extension, but a dependency):
>
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-site-plugin</artifactId>
> <dependencies>
> <dependency>
> <groupId>org.apache.maven.doxia</groupId>
> <artifactId>doxia-module-twiki</artifactId>
> <version>1.0-alpha-9-SNAPSHOT</version>
> </dependency>
> </dependencies>
> </plugin>
> </plugins>
> </build>
>
Dave, do you have a reference to a full pom including the twiki module? I
put the xml above in a new pom and ran mvn site - to no avail. Other formats
are generated fine yet the files in src/site/twiki are not rendered.
I'm using mvn 2.0.7 btw.
-dirk
--
View this message in context: http://www.nabble.com/How-to-use-doxia-module-twiki--tf2091128s177.html#a11453977
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: How to use doxia-module-twiki?
Posted by Dave Syer <da...@hotmail.com>.
Dave Syer wrote:
>
> The only issue I can see is that there are some inconsistencies between
> the way that the HTML is rendered from twiki and the other doxia formats -
> e.g. it uses <div class="section"> instead of <h2> - so you need a
> different css.
>
http://jira.codehaus.org/browse/DOXIA-125
--
View this message in context: http://www.nabble.com/How-to-use-doxia-module-twiki--tf2091128s177.html#a11371805
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: How to use doxia-module-twiki?
Posted by Dave Syer <da...@hotmail.com>.
Dave Syer wrote:
>
> It doesn't work with site:run as far as I can tell...
>
That's wrong, it does work. Awesome.
The only issue I can see is that there are some inconsistencies between the
way that the HTML is rendered from twiki and the other doxia formats - e.g.
it uses <div class="section"> instead of <h2> - so you need a different css.
--
View this message in context: http://www.nabble.com/How-to-use-doxia-module-twiki--tf2091128s177.html#a11371780
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