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

Broken Windup dependencies, needs refactoring

XMLWordPrintable

      I was trying to add windup-rules-java-ee as a dep to windup-rules-reporting-api and got a cyclic dependency, see below. In short, this is wrong:

      org.jboss.windup.rules.apps:windup-rules-java-archives:3.0.0-SNAPSHOT
      depends on
      org.jboss.windup.reporting:windup-reporting:3.0.0-SNAPSHOT

      It's there because of GetArchivesBySHA1Method freemarker method which needs to move to reporting.

      [ERROR] [ERROR] The projects in the reactor contain a cyclic reference: 
      Edge between 'Vertex{label='org.jboss.windup.reporting:windup-reporting:3.0.0-SNAPSHOT'}' 
      and          'Vertex{label='org.jboss.windup.rules.apps:windup-rules-java-ee:3.0.0-SNAPSHOT'}'
      introduces to cycle in the graph 
      org.jboss.windup.rules.apps:windup-rules-java-ee:3.0.0-SNAPSHOT --> 
      org.jboss.windup.rules.apps:windup-rules-java:3.0.0-SNAPSHOT --> 
      org.jboss.windup.rules.apps:windup-rules-java-api:3.0.0-SNAPSHOT --> 
      org.jboss.windup.rules.apps:windup-rules-java-archives:3.0.0-SNAPSHOT --> 
      org.jboss.windup.reporting:windup-reporting:3.0.0-SNAPSHOT --> 
      org.jboss.windup.rules.apps:windup-rules-java-ee:3.0.0-SNAPSHOT @ 
      

            ozizka_jira Ondrej Zizka (Inactive)
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: