Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-14276

Maven Dependencies Processor should recognise dependency on parent POM

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • None
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Given this pom.xml in maven project.

      <project xmlns="http://maven.apache.org/POM/4.0.0"
      		 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      		 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                            http://maven.apache.org/xsd/maven-4.0.0.xsd">
      	<modelVersion>4.0.0</modelVersion>
      
      	<parent>
      		<groupId>myGroup</groupId>
      		<artifactId>parent</artifactId>
      		<version>1.0-SNAPSHOT</version>
      	</parent>
      
      	<artifactId>child</artifactId>
      	<version>1.0-SNAPSHOT</version>
      
      	<dependencies>
      		<dependency>
      			<groupId>myGroup</groupId>
      			<artifactId>common</artifactId>
      			<version>1.0-SNAPSHOT</version>
      		</dependency>
      	</dependencies>
      </project>
      

      As for now the task will only consider common as the dependency of child. It would be great if the task will take parent as its dependency as if it changes, the child should take effect as well.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rjmasikome RianA
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: