Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-213

resolve dependencyManagement section with option to fail the build

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 2.0
    • None
    • resolve
    • None

    Description

      When using the dependencyManagement section of a pom of type "pom" to create a bill of materials, it's currently possible to specify an invalid version. eg:

      	<dependencyManagement>
      		<dependencies>
      			<dependency>
      				<groupId>commons-logging</groupId>
      				<artifactId>commons-logging</artifactId>
      				<version>9.9</version>
      			</dependency>
      		</dependencies>
      	</dependencyManagement>
      

      It would be really useful for these types of pom's to be able to force all the dependencies to be resolved when running something like "install" and have that fail the build.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sellersj Jim Sellers
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: