maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MPIR-80) Add Java requirements to the Dependency Report
Date Sun, 04 Jul 2010 07:44:32 GMT

    [ http://jira.codehaus.org/browse/MPIR-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227132#action_227132
] 

Herve Boutemy commented on MPIR-80:
-----------------------------------

from a [recent discussion on dev list|http://maven.40175.n5.nabble.com/Re-svn-commit-r959435-maven-shared-trunk-maven-doxia-tools-src-main-java-org-apache-maven-doxia-toola-td512464.html#a512464]
{noformat}> I had another look at Niall's patch. My original objection was that the
> value of the JVM that ran the build (or really the site generation) was
> output in the report. I think we should just remove that part and only
> focus on the "source" and "target" values of the maven-compiler-plugin
> configuration.
Well since toolchains is released, the JVM that's running Maven is really
irrelevant in deciding what JVM is required for a plugin{noformat}

Another idea: why not calculate the JDK Rev for the currently built artifact the same way
it is calculated for dependencies, ie bytecode analysis? the artifact could (should?) be taken
from local repository.

Another point: should this requirement be added to [the dependencies report|http://maven.apache.org/plugins/maven-project-info-reports-plugin/dependencies.html]
or to [the project summary|http://maven.apache.org/plugins/maven-project-info-reports-plugin/project-summary.html]?

> Add Java requirements to the Dependency Report
> ----------------------------------------------
>
>                 Key: MPIR-80
>                 URL: http://jira.codehaus.org/browse/MPIR-80
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: New Feature
>          Components: dependencies, summary
>    Affects Versions: 2.0.1
>            Reporter: Niall Pemberton
>         Attachments: maven-projectinfo-dependency-java-v3.patch, maven-projectinfo-dependency-java.patch,
maven-projectinfo-summary-java.patch
>
>
> It would be nice to add a section to the dependency report showing the java version requirements.
> Attaching a patch which discovers the java version and compiler options from the java-compiler-plugin
configuration and outputs a "Java Version" section. Has an option to configure whether or
not this section is shown (default to false).

-- 
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

        

Mime
View raw message