You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexander Culum (JIRA)" <ji...@apache.org> on 2016/01/10 22:09:39 UTC

[jira] [Commented] (MPIR-334) Empty Maven Dependency Convergence Report

    [ https://issues.apache.org/jira/browse/MPIR-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091238#comment-15091238 ] 

Alexander Culum commented on MPIR-334:
--------------------------------------

It's a modified pom from this project: https://github.com/iluwatar/java-design-patterns/blob/master/pom.xml

I just added the following reporting section (with the working 2.7, 2.8.1 is not working):
<reporting>
		<excludeDefaults>false</excludeDefaults>
		<outputDirectory>${project.build.directory}/site</outputDirectory>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<version>2.7</version>
				<configuration>
					<dependencyDetailsEnabled>true</dependencyDetailsEnabled>
					<dependencyLocationsEnabled>true</dependencyLocationsEnabled>
					<skipEmptyReport>false</skipEmptyReport>
				</configuration>
				<reportSets>
					<reportSet>
						<reports>
							<report>dependencies</report>
							<report>index</report>
							<report>modules</report>
							<report>summary</report>
							<report>dependency-convergence</report>
							<report>dependency-info</report>
							<report>dependency-management</report>
						</reports>
					</reportSet>
				</reportSets>
			</plugin>
		</plugins>
	</reporting>


> Empty Maven Dependency Convergence Report
> -----------------------------------------
>
>                 Key: MPIR-334
>                 URL: https://issues.apache.org/jira/browse/MPIR-334
>             Project: Maven Project Info Reports Plugin
>          Issue Type: Bug
>          Components: dependency-convergence
>    Affects Versions: 2.8, 2.8.1
>            Reporter: Alexander Culum
>
> copied from http://stackoverflow.com/questions/33070728/empty-maven-dependency-convergence-report
> The report section "Dependencies used in modules" is empty if org.apache.maven.plugins:maven-project-info-reports-plugin:2.8.0 or org.apache.maven.plugins:maven-project-info-reports-plugin:2.8.1 is used.
> Solution: use the older version of the plugin org.apache.maven.plugins:maven-project-info-reports-plugin:2.7. A report section 'Dependencies used in sub-projects' is added. This section contains details about the dependency convergence problem in the submodules.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)