You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by dvicente <dv...@gmail.com> on 2007/10/02 16:13:52 UTC

Re: Multimodule code coverage report

i think the problem is : when you add this in the pom.xml of a plugin:
...
<build>
....
<plugins>
<plugin>
                                <artifactId>maven-plugin-plugin</artifactId>
                                <configuration>
                                       
<goalPrefix>dashboard-report</goalPrefix>
                                </configuration>
                        </plugin>
...
</plugins>
...
</build>
.... 

Maven does not resolve correctly the plugin prefix.

it's for that : mvn dashboard-report:dashboard doesn't work correctly.

i mustl remove this goalPrefix but before i must post a vote

Dan Tran wrote:
> 
> umm, i actually have codehaus snaphot repo thru my maven-proxy, and i do
> see
> the plugin get downloaded.  Perhaps, I need to specify mojo full name.
> 
> -D
> 
> On 9/27/07, dvicente <dv...@gmail.com> wrote:
>>
>> HI,
>>
>> as described in 
>> http://mojo.codehaus.org/dashboard-maven-plugin/usage.html
>> http://mojo.codehaus.org/dashboard-maven-plugin/usage.html
>>
>> you must add this in your pom.xml :
>>
>> <pluginRepositories>
>>        <pluginRepository>
>>                <id>Codehaus Snapshots</id>
>>                <url>http://snapshots.repository.codehaus.org/</url>
>>        </pluginRepository>
>>       </pluginRepositories>
>>
>> or modify the settings.xml (in ${M2_HOME}\conf
>>
>> to add the codehaus snapshot repository as :
>>
>> <profiles>
>>        <profile>
>>            <activation>
>>                <activeByDefault>true</activeByDefault>
>>            </activation>
>>            <repositories>
>>                <repository>
>>      <id>Codehaus Snapshots</id>
>>      <url>http://snapshots.repository.codehaus.org/</url>
>>      <snapshots>
>>        <enabled>true</enabled>
>>      </snapshots>
>>      <releases>
>>        <enabled>false</enabled>
>>      </releases>
>>    </repository>
>>            </repositories>
>>        </profile>
>>    </profiles>
>>
>> keep me informed
>>
>> Best regards
>>
>> David
>>
>> Dan Tran wrote:
>> >
>> > is there any special instruction interm of configuration that allow me
>> to
>> > run
>> >
>> > dashboard-report:dashboard  on command line.
>> >
>> > maven throws mojo not found when I run this
>> >
>> > my appology if i miss this configuration already in the site doc.
>> >
>> > -D
>> >
>> >
>> > On 9/27/07, dvicente <dv...@gmail.com> wrote:
>> >>
>> >> The problem is : when you add this in the pom.xml of a plugin:
>> >> ...
>> >> <build>
>> >> ....
>> >> <plugins>
>> >> <plugin>
>> >>
>> >> <artifactId>maven-plugin-plugin</artifactId>
>> >>                                <configuration>
>> >>
>> >> <goalPrefix>dashboard-report</goalPrefix>
>> >>                                </configuration>
>> >>                        </plugin>
>> >> ...
>> >> </plugins>
>> >> ...
>> >> </build>
>> >> ....
>> >>
>> >> this section is not used by the site plugin to generate the correct
>> >> plugin-info.html
>> >>
>> >> what is your problem ?
>> >>
>> >>
>> >> Dan Tran wrote:
>> >> >
>> >> > interesting since this site doc does not show this mojo, also
>> >> > when I run it, maven errors out with mojo not found
>> >> >
>> >> > -D
>> >> >
>> >> > On 9/27/07, dvicente <dv...@gmail.com> wrote:
>> >> >>
>> >> >> yes mvn dashboard-report:dashboard is valid.
>> >> >>
>> >> >> it is perhaps not a judicious choice but it's a choice i've made.
>> >> >>
>> >> >> Dan Tran wrote:
>> >> >> >
>> >> >> > from the site
>> >> >> >
>> >> >> > are you sure 'mvn dashboard-report:dashboard ' is valid?
>> >> >> >
>> >> >> > mvn dashboard:dashboard
>> >> >> >
>> >> >> > perhaps?
>> >> >> >
>> >> >> > On 9/26/07, dvicente <dv...@gmail.com> wrote:
>> >> >> >>
>> >> >> >> you can find the dashboard at :
>> >> >> >> http://mojo.codehaus.org/dashboard-maven-plugin/
>> >> >> >> http://mojo.codehaus.org/dashboard-maven-plugin/
>> >> >> >>
>> >> >> >>
>> >> >> >> Bruce Alspaugh-2 wrote:
>> >> >> >> >
>> >> >> >> > I'm having some trouble using the 2.0 version of the Cobertura
>> >> >> plugin
>> >> >> >> > for a multiple module build.  I configured the reporting
>> section
>> >> of
>> >> >> my
>> >> >> >> > top level POM to generate a Cobertura report as part of my
>> >> website.
>> >> >> >> > What it does is to generate reports for each of the modules
>> below
>> >> >> it,
>> >> >> >> > but I don't get any report at all at the top level.  How do I
>> >> >> configure
>> >> >> >> > the plugin to generate an aggregated report the way I can with
>> >> the
>> >> >> >> > javadoc plugin?  I don't see it mentioned in the plugin
>> >> >> documentation.
>> >> >> >> >
>> >> >> >> > Is there another plugin that would generate an aggregated code
>> >> >> coverage
>> >> >> >> > report?  Is the Emma plugin ready for primetime?
>> >> >> >> >
>> >> >> >> > Bruce
>> >> >> >> >
>> >> >> >> >
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> >> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> >> >> > For additional commands, e-mail: users-help@maven.apache.org
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >>
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/Multimodule-code-coverage-report-tf4511339s177.html#a12902383
>> >> >> >> Sent from the Maven - Users mailing list archive at Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> ---------------------------------------------------------------------
>> >> >> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> >> >> For additional commands, e-mail: users-help@maven.apache.org
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> ---------------------------------------------------------------------
>> >> >> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> >> > For additional commands, e-mail: users-help@maven.apache.org
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Multimodule-code-coverage-report-tf4511339s177.html#a12916179
>> >> >> Sent from the Maven - Users mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> >> For additional commands, e-mail: users-help@maven.apache.org
>> >> >>
>> >> >>
>> >> >
>> >> >
>> ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> > For additional commands, e-mail: users-help@maven.apache.org
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Multimodule-code-coverage-report-tf4511339s177.html#a12922369
>> >> Sent from the Maven - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> For additional commands, e-mail: users-help@maven.apache.org
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> > For additional commands, e-mail: users-help@maven.apache.org
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Multimodule-code-coverage-report-tf4511339s177.html#a12925930
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Multimodule-code-coverage-report-tf4511339s177.html#a12999694
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org