Aha, thanks a lot Martin :-)
/Lucas

On 08/13/2012 05:43 PM, Martin Gainty wrote:
Lucas
http://maven.apache.org/plugins/maven-project-info-reports-plugin/dependency-convergence-mojo.html

you will need to identify the report.dependencies.intro.* attributes of your customBundle
customBundle:
Path for a custom bundle instead of using the default one.
Using this field, you could change the texts in the generated reports.
  • Type: java.lang.String
  • Since: 2.3
  • Required: No
  • Default: ${project.basedir}/src/site/custom/project-info-report.properties

http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-project-info-reports-plugin/src/main/resources/project-info-report.properties
where the specific applicable dependencies you would desire are:
report.dependencies.intro.compile                                  = The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
report.dependencies.intro.provided                                 = The following is a list of provided dependencies for this project. These dependencies are required to compile the application, but should be provided by default when using the library:
report.dependencies.intro.runtime                                  = The following is a list of runtime dependencies for this project. These dependencies are required to run the application:
report.dependencies.intro.system                                   = The following is a list of system dependencies for this project. These dependencies are required to compile the application:
report.dependencies.intro.test                                     = The following is a list of test dependencies for this project. These dependencies are only required to compile and run unit tests for the application:

then parse the compile dependencies, provided dependencies, runtime dependencies, system dependencies and test dependencies

This would at least provide you the dependencies aggregated according to the scope in which the dependencies are referenced

Martin-


Date: Mon, 13 Aug 2012 14:50:17 +0200
From: lucas.pers...@oracle.com
To: users@maven.apache.org
Subject: How to generate a "Reactor Dependency Convergence" which also has info about scope?

Hi

I have a large set of projects with a top project (root project) and I want to generate an aggregated report on all the dependencies in the product. And the (mvn project-info-reports:dependency-convergence) can do that but I also need to know id the dependency is used for compile, test or runtime.

Is there some other report that can be used for that?

Thanks
Lucas

--
Oracle
Lucas Persson | Principal Member of Technical Staff
Phone: +4684773644 | | | Mobile: +46730946656
Oracle Communications Platform
ORACLE Sweden | Söder Mälarstrand 29, 6 tr | 118 25 Stockholm


Oracle Svenska AB, Kronborgsgränd 17, S-164 28 KISTA, reg.no. 556254-6746
Green
                Oracle Oracle is committed to developing practices and products that help protect the environment

--
Oracle
Lucas Persson | Principal Member of Technical Staff
Phone: +4684773644 | | | Mobile: +46730946656
Oracle Communications Platform
ORACLE Sweden | Söder Mälarstrand 29, 6 tr | 118 25 Stockholm


Oracle Svenska AB, Kronborgsgränd 17, S-164 28 KISTA, reg.no. 556254-6746
Green
          Oracle Oracle is committed to developing practices and products that help protect the environment

Reply via email to