Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failure - Failed to resolve, collect and/or download dependencies #363

Open
staypufd opened this issue Jan 7, 2017 · 3 comments
Open

Comments

@staypufd
Copy link

staypufd commented Jan 7, 2017

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JBoss Fuse ......................................... SUCCESS [ 0.948 s]
[INFO] JBoss Fuse :: Parent ............................... SUCCESS [ 0.284 s]
[INFO] JBoss A-MQ and Fuse :: Shared ...................... SUCCESS [ 0.013 s]
[INFO] JBoss A-MQ and Fuse :: Shared :: Commands .......... SUCCESS [ 1.555 s]
[INFO] JBoss A-MQ Project ................................. SUCCESS [ 0.013 s]
[INFO] JBoss A-MQ :: Karaf Branding ....................... SUCCESS [ 0.134 s]
[INFO] JBoss A-MQ :: Assembly ............................. SUCCESS [ 0.012 s]
[INFO] JBoss A-MQ :: Assembly :: Shared ................... SUCCESS [ 0.774 s]
[INFO] JBoss A-MQ :: Assembly :: Fabric8-based Distribution SUCCESS [ 50.900 s]
[INFO] JBoss A-MQ :: PatchManagement ...................... SUCCESS [ 3.017 s]
[INFO] JBoss A-MQ CMS Client :: Distribution .............. SUCCESS [ 0.588 s]
[INFO] JBoss A-MQ .NET Client :: Distribution ............. SUCCESS [ 0.990 s]
[INFO] JBoss A-MQ AMQP Client :: Binary Distribution ...... SUCCESS [ 0.061 s]
[INFO] JBoss Quickstart: quickstarts ...................... SUCCESS [ 0.280 s]
[INFO] JBoss Fuse Quickstart: camel ....................... SUCCESS [ 0.365 s]
[INFO] JBoss Fuse Quickstart: camel-box ................... SUCCESS [ 1.552 s]
[INFO] JBoss Fuse Quickstart: camel-linkedin .............. SUCCESS [ 0.332 s]
[INFO] JBoss Fuse Quickstart: camel-odata ................. SUCCESS [ 0.153 s]
[INFO] JBoss Fuse Quickstart: camel-salesforce ............ SUCCESS [ 3.036 s]
[INFO] JBoss Fuse :: ESB .................................. SUCCESS [ 0.253 s]
[INFO] JBoss Fuse :: ESB :: Assembly :: Shared ............ SUCCESS [ 0.585 s]
[INFO] JBoss Fuse :: ESB :: Branding Support .............. SUCCESS [ 0.023 s]
[INFO] JBoss Fuse :: ESB :: Branding Support :: Karaf ..... SUCCESS [ 0.095 s]
[INFO] JBoss Fuse :: ESB :: Branding Support :: Fabric8 ... SUCCESS [ 0.087 s]
[INFO] JBoss Fuse :: ESB :: Commands ...................... SUCCESS [ 1.324 s]
[INFO] JBoss Fuse :: ESB :: Features ...................... SUCCESS [ 0.024 s]
[INFO] JBoss Fuse Quickstart: custom ...................... FAILURE [ 0.575 s]
[INFO] JBoss Fuse :: Karaf :: Framework ................... SKIPPED
[INFO] JBoss Fuse :: ESB :: Assembly ...................... SKIPPED
[INFO] JBoss Fuse :: ESB :: Assembly (Full) ............... SKIPPED
[INFO] JBoss Fuse :: ESB :: PatchManagement ............... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:10 min
[INFO] Finished at: 2017-01-06T18:41:30-06:00
[INFO] Final Memory: 181M/2050M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project custom-distro: Could not resolve dependencies for project org.jboss.quickstarts.fuse:custom-distro:pom:6.3.0.redhat-SNAPSHOT: Failed to collect dependencies at org.jboss.soa.bpel:riftsaw-dao-jpa-hibernate:jar:3.2.0.Final-redhat-2 -> org.jboss.soa.bpel:riftsaw-bpel-epr:jar:3.2.0.Final-redhat-2 -> tranql:tranql-connector:jar:1.2: Failed to read artifact descriptor for tranql:tranql-connector:jar:1.2: Could not transfer artifact tranql:tranql-connector:pom:1.2 from/to brewroot (http://download.eng.bos.redhat.com/brewroot/repos/jb-fuse-6.2-build/latest/maven): download.eng.bos.redhat.com: Unknown host download.eng.bos.redhat.com -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]

@staypufd
Copy link
Author

staypufd commented Jan 7, 2017

I tried adding the repo referenced in issue #287 and it got a little farther. Now it fails with this:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JBoss Fuse ......................................... SUCCESS [ 1.143 s]
[INFO] JBoss Fuse :: Parent ............................... SUCCESS [ 0.251 s]
[INFO] JBoss A-MQ and Fuse :: Shared ...................... SUCCESS [ 0.010 s]
[INFO] JBoss A-MQ and Fuse :: Shared :: Commands .......... SUCCESS [ 1.713 s]
[INFO] JBoss A-MQ Project ................................. SUCCESS [ 0.009 s]
[INFO] JBoss A-MQ :: Karaf Branding ....................... SUCCESS [ 0.146 s]
[INFO] JBoss A-MQ :: Assembly ............................. SUCCESS [ 0.010 s]
[INFO] JBoss A-MQ :: Assembly :: Shared ................... SUCCESS [ 0.614 s]
[INFO] JBoss A-MQ :: Assembly :: Fabric8-based Distribution SUCCESS [ 47.986 s]
[INFO] JBoss A-MQ :: PatchManagement ...................... SUCCESS [ 4.202 s]
[INFO] JBoss A-MQ CMS Client :: Distribution .............. SUCCESS [ 0.657 s]
[INFO] JBoss A-MQ .NET Client :: Distribution ............. SUCCESS [ 0.962 s]
[INFO] JBoss A-MQ AMQP Client :: Binary Distribution ...... SUCCESS [ 0.085 s]
[INFO] JBoss Quickstart: quickstarts ...................... SUCCESS [ 0.360 s]
[INFO] JBoss Fuse Quickstart: camel ....................... SUCCESS [ 0.445 s]
[INFO] JBoss Fuse Quickstart: camel-box ................... SUCCESS [ 1.593 s]
[INFO] JBoss Fuse Quickstart: camel-linkedin .............. SUCCESS [ 0.271 s]
[INFO] JBoss Fuse Quickstart: camel-odata ................. SUCCESS [ 0.287 s]
[INFO] JBoss Fuse Quickstart: camel-salesforce ............ SUCCESS [ 3.094 s]
[INFO] JBoss Fuse :: ESB .................................. SUCCESS [ 0.272 s]
[INFO] JBoss Fuse :: ESB :: Assembly :: Shared ............ SUCCESS [ 0.594 s]
[INFO] JBoss Fuse :: ESB :: Branding Support .............. SUCCESS [ 0.052 s]
[INFO] JBoss Fuse :: ESB :: Branding Support :: Karaf ..... SUCCESS [ 0.215 s]
[INFO] JBoss Fuse :: ESB :: Branding Support :: Fabric8 ... SUCCESS [ 0.135 s]
[INFO] JBoss Fuse :: ESB :: Commands ...................... SUCCESS [ 1.487 s]
[INFO] JBoss Fuse :: ESB :: Features ...................... SUCCESS [ 0.017 s]
[INFO] JBoss Fuse Quickstart: custom ...................... FAILURE [ 5.351 s]
[INFO] JBoss Fuse :: Karaf :: Framework ................... SKIPPED
[INFO] JBoss Fuse :: ESB :: Assembly ...................... SKIPPED
[INFO] JBoss Fuse :: ESB :: Assembly (Full) ............... SKIPPED
[INFO] JBoss Fuse :: ESB :: PatchManagement ............... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:14 min
[INFO] Finished at: 2017-01-06T19:42:39-06:00
[INFO] Final Memory: 191M/1354M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy (copy-unix) on project custom-distro: Unable to resolve artifact. Could not transfer artifact org.apache.camel:apache-camel:zip:2.17.0.redhat-630228 from/to brewroot (http://download.eng.bos.redhat.com/brewroot/repos/jb-fuse-6.2-build/latest/maven): download.eng.bos.redhat.com
[ERROR] org.apache.camel:apache-camel:zip:2.17.0.redhat-630228
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] redhat-ga-repository (https://maven.repository.redhat.com/ga, releases=true, snapshots=false),
[ERROR] redhat-ea-repository (https://maven.repository.redhat.com/earlyaccess/all, releases=true, snapshots=false),
[ERROR] brewroot (http://download.eng.bos.redhat.com/brewroot/repos/jb-fuse-6.2-build/latest/maven, releases=true, snapshots=false),
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false),
[ERROR] fusesource.public (https://repository.jboss.org/nexus/content/groups/fs-public, releases=true, snapshots=false),
[ERROR] fusesource.ea (https://repository.jboss.org/nexus/content/groups/ea, releases=true, snapshots=false),
[ERROR] maven-restlet (http://maven.restlet.com, releases=true, snapshots=true),
[ERROR] gradle-artifactory-repo (http://gradle.artifactoryonline.com/gradle/libs/, releases=true, snapshots=false): Unknown host download.eng.bos.redhat.com
[ERROR] -> [Help 1]
[ERROR]

@staypufd
Copy link
Author

staypufd commented Jan 7, 2017

I'd like to suggest that you also put a build process step that verifies the build outside of Redhat's network. This would find the build failures and maybe provide data you need to give to the IT people to support the need to fix the 'ga' server issue mentioned as the cause in another bug.

@tggm
Copy link

tggm commented Jan 23, 2017

I managed to build the fuseenterprise-6.3.0.redhat-187 tag. Build command was: mvn -Pall clean install.

Remarks

  • I eventually copied the entire maven repo to my local maven .m2 directory, downloaded from the official Fuse 6.3.0 page. I do not know if this made a difference or not.
  • You might bump into a Too many files error building some parte of Karaf. Use ulimit -n 100000 to get over it. If this happens you must restart from above: mvn -Pall clean install -rf :fuse-karaf-framework the clean goal is important otherwise something else will break.
  • I removed the Quickstarts module from the main pom.xml file.
  • I added the repository for Tranql (main pom.xml)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants