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

Shaded Weld SE artifact includes slf4j implementation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 1.1.1.Final
    • Java SE Support
    • None
    • 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>
    • Low

      Previously fixed but probably slipped through again.

              ajustin@redhat.com Ales Justin
              christian.bauer_jira Christian Bauer (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: