[
http://jira.codehaus.org/browse/MOJO-899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oscar Picasso updated MOJO-899:
-------------------------------
Attachment: log-dashboard-report.txt
I use maven 2.0.7.
The problem happened when executing a "site" goal when both jdepend and
dashboard where configured that way.
I found the problem I had the following reporting plugin configurations:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>dashboard-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.0-beta-1</version>
</plugin>
If I change the jdepend plugin version from 2.0-beta-1 to 2.0-SNAPSHOT the site
goal works fine.
However, if after that I do mvn dashboard-report:dashboard, I get:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-dashboard-report-plugin' does
not exist or no valid version could be found
I have attached the whole log of executing "mvn -e -X
dashboard-report:dashboard"
> 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