Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-1043

Getting started broken: Do not depend on xercesImpl 2.11.0.SP4 because that doesn't exist in Maven Central

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.CR3
    • Fix Version/s: 4.0.0.Final
    • Component/s: None
    • Labels:
      None
    • Workaround Description:
      Hide

      Workaround for users
      Add this dependency:

            <dependency>
              <!-- TODO remove me, workaround for https://github.com/errai/errai/issues/256 -->
              <groupId>xerces</groupId>
              <artifactId>xercesImpl</artifactId>
              <version>2.11.0</version>
            </dependency>
      

      Show
      Workaround for users Add this dependency: <dependency> <!-- TODO remove me, workaround for https://github.com/errai/errai/issues/256 --> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.11.0</version> </dependency>

      Description

      Try building a hello world project with Errai without explicitly adding the Jboss maven repository in the pom or in your settings.xml.

      You'll run into:
      [ERROR] ...Could not resolve dependencies for project ...T: Failure to find xerces:xercesImpl:jar:2.11.0.SP4
      for example after adding the artifact errai-javaee-all.

      2.11.0.SP4 is in Jboss nexus:
      https://repository.jboss.org/nexus/content/groups/public/xerces/xercesImpl/2.11.0.SP4/
      but it isn't synced to maven central:
      http://mvnrepository.com/artifact/xerces/xercesImpl

      Do "mvn dependency:tree -Dverbose" on errai-javaee-all and clean up the dependency tree.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mbarkley Max Barkley
                Reporter:
                mbarkley Max Barkley
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: