I've upgraded to maven 2.0.6 and my build fails :

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal '
org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-2:xdoclet': Unable to find
the mojo 'org.codehaus.mojo:xdoclet-maven-plugin:1.0-alpha-2:xdoclet' in the
plugin 'org.codehaus.mojo:xdoclet-maven-plugin'
org/apache/tools/ant/PropertyHelper


The attached POM demonstrates the issue.

What's wrong ?

Nico.
<?xml version="1.0"?>

<project xmlns="http://maven.apache.org/POM/4.0.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                      http://maven.apache.org/maven-v4_0_0.xsd";>

    <modelVersion>4.0.0</modelVersion>
    <groupId>bug</groupId>
    <artifactId>demo</artifactId>
    <version>1</version>


    <build>
        <plugins>
            <plugin>
                <artifactId>xdoclet-maven-plugin</artifactId>
                <groupId>org.codehaus.mojo</groupId>
                <executions>
                    <execution>
                        <id>xdoclet</id>
                        <phase>generate-resources</phase>
                        <goals>
                            <goal>xdoclet</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <tasks>
                        <hibernatedoclet
                            destdir="${project.build.outputDirectory}"
                            mergeDir="${basedir}/src/main/merge">
                            <fileset dir="${basedir}/src/main/java"
                                includes="**/domain/*.java" />
                            <hibernate version="3.0" />
                        </hibernatedoclet>
                    </tasks>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to