maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (MPIR-334) Empty Maven Dependency Convergence Report
Date Wed, 18 Oct 2017 23:09:00 GMT

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

Hervé Boutemy edited comment on MPIR-334 at 10/18/17 11:08 PM:
---------------------------------------------------------------

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):
{code:xml}<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>{code}



was (Author: ice09):
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
>              Labels: close-pending
>
> 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.4.14#64029)

Mime
View raw message