[ http://jira.codehaus.org/browse/MCLOVER-26?page=comments#action_62622 ] 

jake pezaro commented on MCLOVER-26:
------------------------------------

hi vincent.  i'm getting a problem with the svn version when trying to run the 
site goal.

the svn url i got it from is:  
https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-clover-plugin

[INFO] 
----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] null
[INFO] 
----------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at 
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:295)
        at 
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:200)
        at 
org.apache.maven.plugin.DefaultPluginManager.verifyReportPlugin(DefaultPluginManager.java:490)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyReportPlugin(DefaultLifecycleExecutor.java:1258)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:654)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:634)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:509)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        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:324)
        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)

config is:

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-site-plugin</artifactId>
                <configuration>
                    <outputDirectory>target/site</outputDirectory>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-clover-plugin</artifactId>
                <version>2.1-SNAPSHOT</version>
                <configuration>
                    <outputDirectory>target/site/clover</outputDirectory>
                    <licenseFile>C:/tmp/clover.license</licenseFile>
                </configuration>
            </plugin>
        </plugins>
    </reporting>    

> dependencies omitted from classpath during clover compile
> ---------------------------------------------------------
>
>          Key: MCLOVER-26
>          URL: http://jira.codehaus.org/browse/MCLOVER-26
>      Project: Maven 2.x Clover Plugin
>         Type: Bug

>     Versions: 2.0
>  Environment: java 1.4.2_05, solaris os, anthill pro 2.5
>     Reporter: jake pezaro
>     Assignee: Vincent Massol
>      Fix For: 2.1
>  Attachments: anthill_RiskCacheServer-Deploy-Builder_log.txt, pom.xml, 
> pom.xml, pom.xml
>
>
> my project builds & tests sucessfully using when using the normal lifecycle 
> (compiler:compile), however when clover runs the compile task (as part of mvn 
> site) the compile fails.  i have attached a debug log from such a build to 
> this bug.  from this i can see that the classpath used by the clover compile 
> is missing a dependency (com.vcint:VcCommons:jar:2.2.1-SNAPSHOT).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to