Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-903

Shaded Weld SE artifact includes slf4j implementation

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.1.1.Final
    • Fix Version/s: None
    • Component/s: Java SE Support
    • Labels:
      None
    • Workaround Description:
      Hide

      f you want to use Weld in Java SE, don't use this Maven dependency:

      <dependency>
      <groupId>org.jboss.weld.se</groupId>
      <artifactId>weld-se</artifactId>
      <version>1.1.1.Final</version>
      </dependency>

      Use this instead:

      <dependency>
      <groupId>org.jboss.weld.se</groupId>
      <artifactId>weld-se-core</artifactId>
      <version>1.1.1.Final</version>
      </dependency>

      <dependency>
      <groupId>org.jboss.weld</groupId>
      <artifactId>weld-core</artifactId>
      <version>1.1.1.Final</version>
      </dependency>

      <dependency>
      <groupId>org.javassist</groupId>
      <artifactId>javassist</artifactId>
      <version>3.14.0-GA</version>
      </dependency>

      <!-- Here you pick what logging system you really want to use -->
      <dependency>
      <groupId>org.slf4j</groupId>
      <Unable to render embedded object: File (-- Oh, I have an idea) not found. There is one in every JVM classpath! -->
      <artifactId>slf4j-jdk14</artifactId>
      <!-- Has to be >= 1.5.5 because SLF4J is garbage -->
      <version>1.5.10</version>
      </dependency>

      Show
      f you want to use Weld in Java SE, don't use this Maven dependency: <dependency> <groupId>org.jboss.weld.se</groupId> <artifactId>weld-se</artifactId> <version>1.1.1.Final</version> </dependency> Use this instead: <dependency> <groupId>org.jboss.weld.se</groupId> <artifactId>weld-se-core</artifactId> <version>1.1.1.Final</version> </dependency> <dependency> <groupId>org.jboss.weld</groupId> <artifactId>weld-core</artifactId> <version>1.1.1.Final</version> </dependency> <dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> <version>3.14.0-GA</version> </dependency> <!-- Here you pick what logging system you really want to use --> <dependency> <groupId>org.slf4j</groupId> < Unable to render embedded object: File (-- Oh, I have an idea) not found. There is one in every JVM classpath! --> <artifactId>slf4j-jdk14</artifactId> <!-- Has to be >= 1.5.5 because SLF4J is garbage --> <version>1.5.10</version> </dependency>
    • Estimated Difficulty:
      Low

      Description

      Previously fixed but probably slipped through again.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alesj Ales Justin
                  Reporter:
                  christian.bauer Christian Bauer
                • Votes:
                  5 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: