Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-3290

Being able to check for a groupId/artifactId in different locations

    XMLWordPrintable

Details

    • Story
    • Resolution: Unresolved
    • Major
    • None
    • 5.2.0.Final
    • None
    • None
    • False
    • False
    • Hide
      * *Why we missed the bug?*
       ** Pick to proper answer from drop-down field upper.
       +_Additional comments:_+


       * *What is required:*
       ** Pick to proper answer from drop-down field upper.
       +_Additional comments:_+
      Show
      * *Why we missed the bug?*  ** Pick to proper answer from drop-down field upper.  +_Additional comments:_+  * *What is required:*  ** Pick to proper answer from drop-down field upper.  +_Additional comments:_+
    • ---
    • ---

    Description

      Today WindUp can check for a specific groupId/artifactId only for dependencies in the pom.xml. The following rule:

       
      <when>
      <project>
      <artifact groupId="org.springframework.boot" artifactId="spring-boot-starter-parent"/>
      </project>
      </when>
      will detect the artifactId in the dependency element:
      <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-parent</artifactId>
      <version>2.2.6</version>
      </dependency>
      but not in the parent element:
      <parent>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-parent</artifactId>
      <version>2.2.6</version>
      </parent>
      It would be nice to be able to check a groupId/artifactId anywhere in the pom.xml. For that, we could add a location (such as in javaclass):

      <when>
      <project>
      <artifact groupId="org.springframework.boot" artifactId="spring-boot-starter-parent" toVersion="2.2.7.RELEASE">
      <location>DEPENDENCY</location>
      </artifact>
      </project>
      </when>
      With <location> being DEPENDENCYPARENTPLUGIN...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: