You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Villemos, Gert" <ge...@logica.com> on 2009/10/09 23:07:28 UTC

Problem with javadoc plugin - The PluginDescriptor for the plugin XYZ was not found. Should have been in realm:

We are using the Eclipse maven plugin with maven 2 and the javadoc plugin. The POM file is listed below. When we run the maven build, it fails with the error message:
 

Error message: Failed to load report plugin: org.apache.maven.plugins:maven-javadoc-plugin. Reason: Failed to load plugin. Reason: The PluginDescriptor for the plugin org.apache.maven.plugins:maven-javadoc-plugin was not found. Should have been in realm: ClassRealm[/plugins/org.apache.maven.plugins:maven-javadoc-plugin:2.3@48/thread:main, parent: null]

Root error message: The PluginDescriptor for the plugin org.apache.maven.plugins:maven-javadoc-plugin was not found. Should have been in realm: ClassRealm[/plugins/org.apache.maven.plugins:maven-javadoc-plugin:2.3@48/thread:main, parent: null]

 

We have seen this problem with other plugins recently, or example the emma-maven-plugin. Anyone know what courses this? And how to correct it?

Cheers,

Gert.

 

--------------- pom.xml -----------------------------------------------

 

<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>esa.dops.game</groupId>

<artifactId>project</artifactId>

<packaging>pom</packaging>

<version>0.0.1-SNAPSHOT</version>

<modules>

<module>commons</module>

<module>crawler</module>

<module>notifier</module>

</modules>

<properties>

<log4j.version>1.2.14</log4j.version>

<spring.version>2.5.6</spring.version>

<junit.version>3.8.1</junit.version>

</properties>

<build>

<pluginManagement>

<plugins>

<plugin>

<groupId>org.codehaus.mojo</groupId>

<artifactId>cobertura-maven-plugin</artifactId>

<configuration>

<instrumentation>

<ignores>

<ignore>com.example.boringcode.*</ignore>

</ignores>

<excludes>

<exclude>com/example/dullcode/**/*.class</exclude>

<exclude>com/example/**/*Test.class</exclude>

</excludes>

</instrumentation>

</configuration>

<executions>

<execution>

<goals>

<goal>clean</goal>

</goals>

</execution>

</executions>

</plugin>

 

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-surefire-plugin</artifactId>

<inherited>true</inherited>

<configuration>

<forkMode>once</forkMode>

<reportFormat>xml</reportFormat>

</configuration>

</plugin>

<plugin>

<artifactId>maven-assembly-plugin</artifactId>

<configuration>

<descriptorRefs>

<descriptorRef>jar-with-dependencies</descriptorRef>

</descriptorRefs>

</configuration>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-compiler-plugin</artifactId>

<configuration>

<source>1.5</source>

<target>1.5</target>

</configuration>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-checkstyle-plugin</artifactId>

<version>2.5</version>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-javadoc-plugin</artifactId>

<version>2.3</version>

</plugin>

 

</plugins>

</pluginManagement>

<plugins>

<plugin>

<groupId>org.codehaus.mojo</groupId>

<artifactId>cobertura-maven-plugin</artifactId>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-surefire-plugin</artifactId>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-compiler-plugin</artifactId>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-javadoc-plugin</artifactId>

</plugin>

 

</plugins>

</build>

<reporting>

<plugins>

<plugin>

<groupId>org.codehaus.mojo</groupId>

<artifactId>cobertura-maven-plugin</artifactId>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-checkstyle-plugin</artifactId>

<version>2.3</version>

</plugin>

<plugin>

<groupId>org.codehaus.mojo</groupId>

<artifactId>surefire-report-maven-plugin</artifactId>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-javadoc-plugin</artifactId>

<version>2.5</version>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-jxr-plugin</artifactId>

</plugin>

<plugin>

<groupId>org.apache.maven.plugins</groupId>

<artifactId>maven-pmd-plugin</artifactId>

</plugin>

</plugins>

</reporting>

<dependencyManagement>

<dependencies>

<dependency>

<groupId>esa.dops.game</groupId>

<artifactId>commons</artifactId>

<version>0.0.1-SNAPSHOT</version>

</dependency>

<dependency>

<groupId>log4j</groupId>

<artifactId>log4j</artifactId>

<version>${log4j.version}</version>

</dependency>

<dependency>

<groupId>junit</groupId>

<artifactId>junit</artifactId>

<version>${junit.version}</version>

<scope>test</scope>

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-core</artifactId>

<version>${spring.version}</version>

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-beans</artifactId>

<version>${spring.version}</version>

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-context</artifactId>

<version>${spring.version}</version>

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-context-support</artifactId>

<version>${spring.version}</version>

</dependency>

<dependency>

<groupId>org.springframework</groupId>

<artifactId>spring-aop</artifactId>

<version>${spring.version}</version>

</dependency>

</dependencies>

</dependencyManagement>

</project>



Please help Logica to respect the environment by not printing this email  / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.