Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17019

opensaml:4.2.0 dependency not found makes a Wildfly Maven plugin build fail

XMLWordPrintable

    • Hide
      Show
      Clone the following reproducer: https://github.com/fabiobrz/wildfly-maven-plugin-test mvn clean install
    • User Experience
    • Workaround Exists
    • Hide

      Add the following SHibboleth repository to the POM:

       <repository>
                  <id>shibboleth-releases</id>
                  <name>Shibboleth releases</name>
                  <url>https://build.shibboleth.net/nexus/content/repositories/releases/</url>
                  <snapshots>
                      <enabled>false</enabled>
                  </snapshots>
                  <releases>
                      <enabled>true</enabled>
                  </releases>
              </repository>
      
      Show
      Add the following SHibboleth repository to the POM: <repository> <id>shibboleth-releases</id> <name>Shibboleth releases</name> <url>https: //build.shibboleth.net/nexus/content/repositories/releases/</url> <snapshots> <enabled> false </enabled> </snapshots> <releases> <enabled> true </enabled> </releases> </repository>
    • ---
    • ---

      A simple Maven build (just POM) based on public Aplha artifacts and the most recent Maven plugin version fails because of:

      [ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:4.0.0.Beta3:package (default) on project wildfly-maven-plugin-test: Provisioning failed: Failed to process JBoss module XML template for feature-pack wildfly-ee@maven(org.jboss.universe:community-universe):current#27.0.0.Alpha5 package org.opensaml: Failed to resolve artifact org.opensaml:opensaml-core:jar:4.2.0: Failed to resolve org.opensaml:opensaml-core:jar:4.2.0: Failure to find org.opensaml:opensaml-core:jar:4.2.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
      

              bstansbe@redhat.com Brian Stansberry
              fburzigo Fabio Burzigotti
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: