That's the Maven 1.x plugin. The error reporting is a known bug.

<groupId>org.codehuas.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>


On 11/12/05, berndq <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to use the plugin for jdepend in maven 2.
>
> With google I found
>
> http://mojo.codehaus.org/jdepend-maven-plugin/howto.html
> http://www.ibiblio.org/pub/packages/maven2/maven/maven-jdepend-plugin/1.5/
>
> I added ibiblio to my pom
>
>    <pluginRepositories>
>      <pluginRepository>
>        <id>ibibliorepo</id>
>        <name>ibiblio repo</name>
>        <url>http://www.ibiblio.org/pub/packages/maven2</url>
>           <layout>legacy</layout>
>      </pluginRepository>
>    </pluginRepositories>
>
> and added the plugin to the pom
>
>    <reporting>
>        <plugin>
>          <groupId>maven</groupId>
>          <artifactId>maven-jdepend-plugin</artifactId>
>          <version>1.5</version>
>          <configuration>
>          </configuration>
>        </plugin>
>      </plugins>
>    </reporting>
>
> It downloaded the jar and pom:
>
> Downloading:
> http://www.ibiblio.org/pub/packages/maven2/maven/poms/maven-jdepend-plugin-1.5.pom
> [WARNING] Unable to get resource from repository ibibliorepo
> (http://www.ibiblio.org/pub/packages/ma
> ven2)
> Downloading:
> http://repo1.maven.org/maven2/maven/maven-jdepend-plugin/1.5/maven-jdepend-plugin-1.5.p
> om
> 157b downloaded
> Downloading:
> http://www.ibiblio.org/pub/packages/maven2/maven/maven-plugins/maven-jdepend-plugin-1.5
> .jar
> [WARNING] Unable to get resource from repository ibibliorepo
> (http://www.ibiblio.org/pub/packages/ma
> ven2)
> Downloading:
> http://repo1.maven.org/maven2/maven/maven-jdepend-plugin/1.5/maven-jdepend-plugin-1.5.j
> ar
> 11K downloaded
>
>
> but then I get
>
> [INFO]
> ----------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>          at
> org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:292)
>          at
> org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.j
> ava:198)
>          at
> org.apache.maven.plugin.DefaultPluginManager.verifyReportPlugin(DefaultPluginManager.java
> :474)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyReportPlugin(DefaultLifecycleEx
> ecutor.java:1135)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.j
> ava:642)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.j
> ava:622)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor
> .java:501)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec
> ycleExecutor.java:469)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.
> java:448)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL
> ifecycleExecutor.java:301)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE
> xecutor.java:268)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java
> :137)
>          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
>          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
>          at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>          at java.lang.reflect.Method.invoke(Method.java:585)
>          at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>          at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>          at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>          at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>
>
> Anyone wants to help me solving the problem?
>
> thanks
> Bernd
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to