Skip to main content

Automated Pull Requests in Maven

Any pom.xml that exists in the repository will be searched. Any pom.xml that is in a src/test directory is ignored.

  • Component defined inside a <dependencies> element with an inline <version> element.

    <dependencies>
      <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-databind</artifactId>
        <version>2.9.9.3</version>
      </dependency>
    </dependencies>
  • Component defined inside a <dependencyManagement> element with an inline <version> element.

    <dependencyManagement>
      <dependencies>
        <dependency>
          <groupId>com.fasterxml.jackson.core</groupId>
          <artifactId>jackson-databind</artifactId>
          <version>2.9.9.3</version>
        </dependency>
      </dependencies>
    </dependencyManagement>
  • Component defined inside either an <dependencies> element, or a <dependencyManagement> element, with the version defined via a variable in a <properties> section.

    <properties>                                                                                                                                                                                                 
      <jackson.version>2.9.9.3</jackson.version>
    </properties>                                                                                                                                                                                                 
    
    <dependencies>
      <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-databind</artifactId>
        <version>${jackson.version}</version>
      </dependency>
    </dependencies>