Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-1971

wildlfy-elytron jar shaded jar incorrectly contains external dependencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • None

      Wildfly-elytron jar is shaded with all wildfly elytron modules + jboss-logging, but it keeps the shaded classes in jar in its dependency chain which makes duplicated classes in dependency tree when using the wildfly-elytron in maven project.

      Avoiding duplicates would effectively need to add exclusion dependency to wildfly-elytron like:

      <dependency>
          <groupId>org.wildlfy.security</groupId>
          <artifactId>wildfly-elytron</artifactId>
          <version>some-version</version>
          <exclusions>
              <exclusion>
                  <groupId>*</groupId>
                  <artifactId>*</artifactId>
              </exclusion>
          </exclusions>
      </dependency>
      

              Unassigned Unassigned
              mnovotny@redhat.com Marek Novotny
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: