-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Bug Report
The following is printed during the build.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.irods.jargon:jargon-mdquery:jar:4.3.4.0-RELEASE
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: junit:junit:jar -> duplicate declaration of version (?) @ line 26, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
The warning is due to the pom.xml file for jargon-mdquery containing two <dependency> elements for junit.
Lines 16 to 20 in 6f8e492
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <scope>compile</scope> | |
| </dependency> |
Lines 26 to 30 in 6f8e492
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <scope>test</scope> | |
| </dependency> |