1
Gradle을 사용하여 빌드하도록 변환하려는 maven 프로젝트가 있습니다. 그래버가 pom.xml 파일을 감지하지 못하는 것 같습니다 :Gradle setupBuild가 maven pom.xml 파일을 변환하지 않습니다.
$ gradle -v
------------------------------------------------------------
Gradle 1.11
------------------------------------------------------------
Build time: 2014-02-11 11:34:39 UTC
Build number: none
Revision: a831fa866d46cbee94e61a09af15f9dd95987421
Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.9.2 compiled on July 8 2013
Ivy: 2.2.0
JVM: 1.7.0_45 (Oracle Corporation 24.45-b08)
OS: Windows 7 6.1 amd64
$ ls
pom.xml src target
$ gradle setupBuild --info
Starting Build
Settings evaluated using empty settings script.
Projects loaded. Root project using empty build file.
Included projects: [root project 'simple-service-webapp']
Evaluating root project 'simple-service-webapp' using empty build file.
All projects evaluated.
FAILURE: Build failed with an exception.
* What went wrong:
Task 'setupBuild' not found in root project 'simple-service-webapp'.
* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
BUILD FAILED
Total time: 1.589 secs
이 여기에있는 정보에 카운터 갈 것 같다 http://www.jayway.com/2013/05/12/getting-started-with-gradle/ – blueberryfields
은 당신이 할 수있는 것을 추가 할 대답을 편집 POM 파일에서 gradle 프로젝트를 초기화하십시오. – Zagrev