devijvers / BuildingYourOwn3DPrinter

Book about building a RepRap Prusa Mendel 3D printer
31 stars 24 forks source link

gradlew publish fails #2

Open PabloCastellano opened 11 years ago

PabloCastellano commented 11 years ago

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.

BUILD FAILED

Total time: 9.519 secs

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

ballsystemlord commented 7 years ago

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