Uploaded image for project: 'FUSE ESB'
  1. FUSE ESB
  2. ESB-1699

Artifact resolution errors/warning in features build

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.5.0.fuse-7-xxx
    • Fix Version/s: 4.5.0.fuse-7-xxx
    • Component/s: None
    • Labels:
      None

      Description

      When building Fuse ESB features (5.0.0-fuse branch) we run into several artifact resolution problems - very odd ones like

      Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Failure to find Users.gertv.Projects.FUSE.esbfeatures.assemblies.apache-servicemix-full.target.dependencies.unix.apache-karaf-2.2.5-fuse-SNAPSHOT:lib:jar:endorsed in http://repo.fusesource.com/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of fusesource.releases has elapsed or updates are forced
       
      Try downloading the file manually from the project website.
       
      Then, install it using the command: 
          mvn install:install-file -DgroupId=Users.gertv.Projects.FUSE.esbfeatures.assemblies.apache-servicemix-full.target.dependencies.unix.apache-karaf-2.2.5-fuse-SNAPSHOT -DartifactId=lib -Dversion=endorsed -Dpackaging=jar -Dfile=/path/to/file
       
      Alternatively, if you host your own repository you can deploy the file there: 
          mvn deploy:deploy-file -DgroupId=Users.gertv.Projects.FUSE.esbfeatures.assemblies.apache-servicemix-full.target.dependencies.unix.apache-karaf-2.2.5-fuse-SNAPSHOT -DartifactId=lib -Dversion=endorsed -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
       
       
        Users.gertv.Projects.FUSE.esbfeatures.assemblies.apache-servicemix-full.target.dependencies.unix.apache-karaf-2.2.5-fuse-SNAPSHOT:lib:jar:endorsed

      Note the local path elements in the resolution URLs!

        Gliffy Diagrams

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              gertv Gert Vanthienen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: