xdoclet2 maven2 plugin

Neil Blue <[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
Hello,

I have been using xdoclet2 in maven2 for a few months now, but I have 
just found a problem when a new developer has joined our team and tried 
to build the maven project. It is unable to find the xdoclet2 maven2 plugin.

Has the repository changed as my local .m2/repository can still resolve 
this plugin?
Please can anyone tell me what I have done wrong, or confirm this.

Thanks
Neil

info attached:


[INFO] 
----------------------------------------------------------------------------
[INFO] Building mod-hibernate
[INFO]    task-segment: [test]
[INFO] 
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: 
checking for updates from codehaus-plugins
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking 
for updates from codehaus-plugins
[INFO] artifact org.apache.maven.plugins:maven-surefire-plugin: checking 
for updates from codehaus-plugins
[INFO] artifact xdoclet:maven2-xdoclet2-plugin: checking for updates 
from codehaus-plugins
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no 
valid version could be found
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Sep 14 09:26:58 BST 2006
[INFO] Final Memory: 2M/4M
[INFO] 
------------------------------------------------------------------------


the pom.xml has this:

<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>group1</groupId>
        <artifactId>hibernate_mod</artifactId>
        <packaging>jar</packaging>
        <version>1.0-SNAPSHOT</version>
        <name>mod-hibernate</name>

        <dependencies>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>3.8.1</version>
                        <scope>test</scope>
                </dependency>

                <dependency>
                        <groupId>org.hibernate</groupId>
                        <artifactId>hibernate</artifactId>
                        <version>3.1.3</version>
                </dependency>

        </dependencies>

        <build>
          <plugins>
                <plugin>
                <groupId>xdoclet</groupId>
                <artifactId>maven2-xdoclet2-plugin</artifactId>
                    <executions>
                        <execution>
                            <id>xdoclet</id>
                            <phase>generate-sources</phase>
                            <goals>
                                <goal>xdoclet</goal>
                            </goals>
                        </execution>
                    </executions>
                      <dependencies>
                        <dependency>
                          <groupId>xdoclet-plugins</groupId>
                          <artifactId>xdoclet-plugin-hibernate</artifactId>
                          <version>1.0.4-SNAPSHOT</version>
                        </dependency>
                      </dependencies>
                      <configuration>
                        <configs>
                          <config>
                            <components>
                             <component>
                                
<classname>org.xdoclet.plugin.hibernate.HibernateMappingPlugin</class\name>
                            <params>
                              <version>3.0</version>
                              <destdir>target</destdir>
                              <validate>false</validate>
                            </params>
                            </component>
                           </components>
                          </config>
                        </configs>
                    </configuration>
                </plugin>
          </plugins>
        </build>

<pluginRepositories>
<pluginRepository>
  <id>codehaus-plugins</id>
  <url>http://dist.codehaus.org/</url>
  <layout>legacy</layout>
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
  <releases>
    <enabled>true</enabled>
  </releases>
</pluginRepository>
</pluginRepositories>

</project>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.