2012-11-08 2 views
0

They said의,난 내가-부두

CD를 $의 IJETTY_HOME /이 $ IJETTY_HOME/콘솔에서 war 파일을 생성합니다

MVN 클린 설치 콘솔

'메이븐 프로젝트를 기존'가져올 수/webapp/target 그리고 $ IJETTY_HOME/console/apk/target에있는 apk (비록 우리가 언급했듯이, 아마 당신은 그것에 관심이 없을 것이다). '건물을


**

[INFO] --- exec-maven-plugin:1.2:exec (generate-dex) @ console --- 
Unable to access jarfile ${env.ANDROID_HOME}/platform-tools/lib/dx.jar 
[INFO] ------------------------------------------------------------------------ 
[INFO] Reactor Summary: 
[INFO] 
[INFO] I-Jetty :: Console Parent ......................... SUCCESS [0.241s] 
[INFO] I-Jetty :: Console Webapp ......................... FAILURE [2.431s] 
[INFO] I-Jetty :: Console Android Installer .............. SKIPPED 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 4.122s 
[INFO] Finished at: Thu Nov 08 19:33:47 KST 2012 
[INFO] Final Memory: 14M/81M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (generate-dex) on project console: Command execution failed. Process exited with an error: 1(Exit value: 1) -> [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] 
[ERROR] For more information about the errors and possible solutions, please read the following articles: 
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command 
[ERROR] mvn <goals> -rf :console** 

나는 노력,

하지만 오류 다음되었다. (0 ... 오, 세상에 나는 이미지를 업로드 할 수 없습니다) 이클립스 '

마지막으로 다음과 같은 오류가 발생했습니다.

가져 오기 메이븐 프로젝트에

,


간부-받는다는 - 플러그인 : 1.2 : 간부 (1 오류)
받는다는-antrun - 플러그인 : 1.6 : 실행 (1 오류)
받는다는-depoendency -plugin : 2.3 : 풀고 의존성 (1 오류)


은 PLZ, 도와주세요.

Mac OS X Lion에서 Eclipse와 함께 maven 플러그인 1.3을 설치했습니다.

답변

0

마지막으로, 나는 혼자서 그것을 풀었다.

나는 수출 안드로이드 SDK 경로 (수출 ANDROID_HOME =/옵션/안드로이드/안드로이드-SDK-linux_86)

를 놓친 나는

<artifactId>maven-android-plugin</artifactId> 
      <version>2.9.0-beta-5</version> 

에서의 pom.xml

편집

<artifactId>android-maven-plugin</artifactId> 
      <version>3.0.0</version> 

감사합니다.