Borut Bolčina wrote:
> Hello,
>
> I am trying to generate a site with doxia confluence format, but getting an
> error.
[...]
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:maven-site-plugin:2.0-beta-7:site': Unable to find
> the mojo 'org.apache.maven.plugins:maven-site-plu
> gin:2.0-beta-7:site' in the plugin
> 'org.apache.maven.plugins:maven-site-plugin'
> org.apache.maven.doxia.logging.Log
This clearly looks like a connection bug to the central repo to me (it
may be a temporary outage). I use the twiki site module which follows
the same approach. Here's the pom snippet that works for me:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>2.0-beta-7</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-confluence</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
<configuration>
<inputEncoding>UTF-8</inputEncoding>
<outputEncoding>UTF-8</outputEncoding>
</configuration>
</plugin>
</plugins>
</build>
> I have src/site/confluence/index.confluence with some confluence style
> markup and a src/site/site.xml with some menu items, one of them referencing
> index.html. Is this the right approach?
Yes, this is the right approach and it worked for me with the POM
snippet above.
-dirk
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]