[
http://jira.codehaus.org/browse/MOJO-899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_110339
]
David Vicente commented on MOJO-899:
------------------------------------
Hi all,
as described in dashboard documentation :
http://mojo.codehaus.org/dashboard-maven-plugin/
you must add this in your pom.xml or settings.xml to use properly the dashboard
plugin:
<pluginRepositories>
<pluginRepository>
<id>Codehaus Snapshots</id>
<url> http://snapshots.repository.codehaus.org/</url>
</pluginRepository>
</pluginRepositories>
But even if this configuration is well done, Maven doesn't recognize the "mvn
dashboard-report:dashboard" command.
and to work fine, you must run "mvn
org.codehaus.mojo:dashboard-maven-plugin:1.0-SNAPSHOT:dashboard" command
instead of "mvn dashboard-report:dashboard".
See :
http://www.nabble.com/Make-a-Codehaus-plugin-works-on-a-local-configuration-tf4297606s177.html
or
http://www.nabble.com/Multimodule-code-coverage-report-tf4511339s177.html
In the project's beginning, i decided to modify the goal prefix to
"dashboard-report" instead of the default's one by adding in the pom.xml of the
dashboard plugin :
...
<build>
....
<plugins>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
<configuration>
<goalPrefix>dashboard-report</goalPrefix>
</configuration>
</plugin>
...
</plugins>
...
</build>
....
I think it's The Maven resolution problem of "dashboard-report".
Maven does not resolve properly the plugin prefix.
it's for that : "mvn dashboard-report:dashboard" doesn't work correctly.
For the next release , i will post a vote to "[EMAIL PROTECTED] " and "[EMAIL
PROTECTED]" mailing lists to delete this goalPrefix and let the default's one
which works fine.
After that, you will have to modify the goal prefix in your command line or
Continuum goals to use the dashboard report :
from "dashboard-report:dashboard" to "dashboard:dashboard"
or
from "dashboard-report:persist" to "dashboard:persist"
Best regards
> Missing mojo dependency
> -----------------------
>
> Key: MOJO-899
> URL: http://jira.codehaus.org/browse/MOJO-899
> Project: Mojo
> Issue Type: Bug
> Components: dashboard
> Reporter: Oscar Picasso
> Assignee: David Vicente
> Attachments: log-dashboard-report.txt
>
>
> With the snapshot 1.0-20070825.183730-14 we get error above with the
> dashboard component.
> Note: both 2.0-beta-1 and 2.0-SNAPSHOT versions of the jdepend plugin itself
> work fine when not used with the dashboard.
> [INFO] Error getting reports from the plugin
> 'org.codehaus.mojo:jdepend-maven-plugin': Unable to find the mojo
> 'org.codehaus.mojo:jdepend-maven-plugin:2.0-SNAPSHOT:generate' in the plugin
> 'org.codehaus.mojo:jdepend-maven-plugin'
> Component descriptor cannot be found in the component repository:
> org.apache.maven.plugin.Mojoorg.codehaus.mojo:jdepend-maven-plugin:2.0-SNAPSHOT:generate.
--
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
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email