maven package 오류
- 작성자 :
- 오*원
- 작성일 :
- 2010-10-01 09:20:26
- 조회수 :
- 3,593
- 구분 :
- 개발환경
- 진행상태 :
- 완료
Q
Maven Clean 후 Build시 아래와 같은 오류가 납니다.
Clean 하기전에는 Build가 됐었는데
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[WARNING] POM for 'opensymphony:quartz-all:pom:1.6.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Parse error reading POM. Reason: end tag name </relocatoin> must be the same as start tag <relocation> from line 11 (position: TEXT seen ...</version>\n </relocatoin>... @15:18) for project opensymphony:quartz-all at E:\eclipse-egovframe\mavenrepository\repository\opensymphony\quartz-all\1.6.1\quartz-all-1.6.1.pom
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[egovCommon] in [E:\eclipse-egovframe\workspace\Age\target\egovframework-com-1.0]
[INFO] Processing war project
[ERROR]
The following mojo encountered an error while executing:
Group-Id: org.apache.maven.plugins
Artifact-Id: maven-war-plugin
Version: 2.1-alpha-1
Mojo: war
brought in via: packaging: war
While building project:
Group-Id: egovframework
Artifact-Id: egovCommon
Version: 1.0.0
From file: E:\eclipse-egovframe\workspace\Age\pom.xml
Reason: Could not copy webapp sources[E:\eclipse-egovframe\workspace\Age\target\egovframework-com-1.0]
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Fri Oct 01 09:15:04 KST 2010
[INFO] Final Memory: 4M/39M
[INFO] ------------------------------------------------------------------------
Clean 하기전에는 Build가 됐었는데
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[WARNING] POM for 'opensymphony:quartz-all:pom:1.6.1:compile' is invalid. It will be ignored for artifact resolution. Reason: Parse error reading POM. Reason: end tag name </relocatoin> must be the same as start tag <relocation> from line 11 (position: TEXT seen ...</version>\n </relocatoin>... @15:18) for project opensymphony:quartz-all at E:\eclipse-egovframe\mavenrepository\repository\opensymphony\quartz-all\1.6.1\quartz-all-1.6.1.pom
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[egovCommon] in [E:\eclipse-egovframe\workspace\Age\target\egovframework-com-1.0]
[INFO] Processing war project
[ERROR]
The following mojo encountered an error while executing:
Group-Id: org.apache.maven.plugins
Artifact-Id: maven-war-plugin
Version: 2.1-alpha-1
Mojo: war
brought in via: packaging: war
While building project:
Group-Id: egovframework
Artifact-Id: egovCommon
Version: 1.0.0
From file: E:\eclipse-egovframe\workspace\Age\pom.xml
Reason: Could not copy webapp sources[E:\eclipse-egovframe\workspace\Age\target\egovframework-com-1.0]
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run with the -e flag
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILED
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Fri Oct 01 09:15:04 KST 2010
[INFO] Final Memory: 4M/39M
[INFO] ------------------------------------------------------------------------
A
안녕하세요.. 오석원님..
target/egovframework-com-1.0 디렉토리 생성 및 복사에 문제가 발생 한 경우 같습니다.
이런 경우는 보통 일시적인 문제이기 때문에 eclipse를 재기동 하시면 될 것 같습니다. (다른 프로세스에 의해 파일에 대학 접근이 되지 않는 경우 등)
그럼.. 즐거운 하루되십시오.
감사합니다.
target/egovframework-com-1.0 디렉토리 생성 및 복사에 문제가 발생 한 경우 같습니다.
이런 경우는 보통 일시적인 문제이기 때문에 eclipse를 재기동 하시면 될 것 같습니다. (다른 프로세스에 의해 파일에 대학 접근이 되지 않는 경우 등)
그럼.. 즐거운 하루되십시오.
감사합니다.