You can't use version 1.1-SNAPSHOT of the confluence module with site-plugin-2.0-beta-7 (doxia.logging is only available in doxia 1.1). The site plugin has to be updated first to use doxia 1.1 which is scheduled to happen in version 2.1 [1].

HTH,
-Lukas

[1] http://jira.codehaus.org/browse/MSITE-298


Dirk Olmes wrote:
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: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



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

Reply via email to