BuildingYourOwn3DPrinter icon indicating copy to clipboard operation
BuildingYourOwn3DPrinter copied to clipboard

gradlew publish fails

Open PabloCastellano opened this issue 12 years ago • 1 comments

On Linux Mint 14, when I run

bash gradlew publish

It doesn't finish and ends up showing an error:

FAILURE: Build failed with an exception.

  • Where: Build file '/home/pablo/src/BuildingYourOwn3DPrinter/build.gradle' line: 36
  • What went wrong: A problem occurred evaluating root project 'BuildingYourOwn3DPrinter'. Cause: org/jboss/jdocbook/DocBookSchemaResolutionStrategy Cause: org.jboss.jdocbook.DocBookSchemaResolutionStrategy
  • Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

Total time: 9.519 secs

Unfortunately I'm not familiarized with gradle and don't know how to solve it :-(

PabloCastellano avatar Dec 20 '12 21:12 PabloCastellano

I was just going to report this! I get the same result on Gentoo. When I use gradle from my repo I get a different problem.

% gradle
:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy UP-TO-DATE
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes UP-TO-DATE
:buildSrc:jar UP-TO-DATE
:buildSrc:assemble UP-TO-DATE
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy UP-TO-DATE
:buildSrc:processTestResources UP-TO-DATE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test UP-TO-DATE
:buildSrc:check UP-TO-DATE
:buildSrc:build UP-TO-DATE

FAILURE: Build failed with an exception.

* Where:
Build file '/mnt/md1/to-go-through/Downloads5/BuildingYourOwn3DPrinter-copy2/build.gradle' line: 6

* What went wrong:
A problem occurred evaluating root project 'BuildingYourOwn3DPrinter-copy2'.
> Could not find method mavenRepo() for arguments [{name=jboss, urls=http://repository.jboss.org/nexus/content/groups/public/}] on repository container.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 0.911 secs

% gradle --version

------------------------------------------------------------
Gradle 3.3
------------------------------------------------------------

Build time:   2017-01-03 15:31:04 UTC
Revision:     075893a3d0798c0c1f322899b41ceca82e4e134b

Groovy:       2.4.7
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          1.8.0_121 (Oracle Corporation 25.121-b13)
OS:           Linux 4.9.13-gentoo amd64

ballsystemlord avatar Mar 18 '17 23:03 ballsystemlord