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

Cannot build from source

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 2.0.0.Beta7
    • 2.0.0.Beta6
    • Infrastructure
    • None
    • Workaround Exists
    • Hide

      Disable the "environments" profile for build: mvn clean install -P!environments

      Show
      Disable the "environments" profile for build: mvn clean install -P!environments

    Description

      When a Weld build is staged and before the artifacts are pushed live it is not possible to build Weld.

      The error is:

      Caused by: org.apache.maven.project.InvalidProjectModelException: Some problems were encountered while processing the POMs:
      [ERROR] Non-resolvable import POM: Failure to find org.jboss.weld:weld-api-bom:pom:2.0.Beta6 in http://repository.jboss.org/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository-group has elapsed or updates are forced @ org.jboss.weld:weld-core-parent:2.0.0.Beta6, /opt/jboss/Weld/core/pom.xml, line 388, column 25
       for project 
              at org.apache.maven.project.DefaultMavenProjectBuilder.transformError(DefaultMavenProjectBuilder.java:193)
              at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:210)
              at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:222)
              at org.apache.maven.plugins.shade.mojo.ShadeMojo.createDependencyReducedPom(ShadeMojo.java:799)
              at org.apache.maven.plugins.shade.mojo.ShadeMojo.execute(ShadeMojo.java:482)
              ... 21 more
      

      This is caused by http://jira.codehaus.org/browse/MSHADE-103

      Fix this by upgrading the shade plugin to http://search.maven.org/#artifactdetails%7Corg.apache.maven.plugins%7Cmaven-shade-plugin%7C2.0%7Cmaven-plugin

      Attachments

        Activity

          People

            rhn-engineering-jharting Jozef Hartinger
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: