hundson 재질문
- 작성자 :
- 장*정
- 작성일 :
- 2010-02-10 19:19:36
- 조회수 :
- 4,031
- 구분 :
- 개발환경
- 진행상태 :
- 완료
Q
아래와 같이 에러서 나서..
maven에서 플러인 메모리 설정을 했는데도. 똑같이 에러가 납니다.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<encoding>UTF-8</encoding>
<meminitial>128m</meminitial>
<maxmem>512m</maxmem>
</configuration>
</plugin>
--------------------------------------------------------
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building gsbc
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\workspace\gsbc\target
[INFO] [resources:resources]
[WARNING] Using platform encoding (MS949 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 140 resources
[WARNING] POM for 'opensymphony:quartz-all:pom:1.6.1:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] [compiler:compile]
[INFO] Compiling 589 source files to C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\workspace\gsbc\target\classes
[HUDSON] Archiving C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\workspace\gsbc\pom.xml to C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\modules\gsbc$gsbc\builds\2010-02-09_18-04-14\archive\gsbc\gsbc\1\pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Fatal error compiling
Embedded error: Error while executing the compiler.
Java heap space
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58 seconds
[INFO] Finished at: Tue Feb 09 18:05:21 KST 2010
[INFO] Final Memory: 24M/63M
[INFO] ------------------------------------------------------------------------
Waiting for Hudson to finish collecting data
channel stopped
Finished: FAILURE
maven에서 플러인 메모리 설정을 했는데도. 똑같이 에러가 납니다.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<encoding>UTF-8</encoding>
<meminitial>128m</meminitial>
<maxmem>512m</maxmem>
</configuration>
</plugin>
--------------------------------------------------------
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building gsbc
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\workspace\gsbc\target
[INFO] [resources:resources]
[WARNING] Using platform encoding (MS949 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 140 resources
[WARNING] POM for 'opensymphony:quartz-all:pom:1.6.1:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] [compiler:compile]
[INFO] Compiling 589 source files to C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\workspace\gsbc\target\classes
[HUDSON] Archiving C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\workspace\gsbc\pom.xml to C:\Users\Administrator\.hudson\jobs\gsbc2010-01-19\modules\gsbc$gsbc\builds\2010-02-09_18-04-14\archive\gsbc\gsbc\1\pom.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Fatal error compiling
Embedded error: Error while executing the compiler.
Java heap space
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58 seconds
[INFO] Finished at: Tue Feb 09 18:05:21 KST 2010
[INFO] Final Memory: 24M/63M
[INFO] ------------------------------------------------------------------------
Waiting for Hudson to finish collecting data
channel stopped
Finished: FAILURE
A
안녕하세요. 장태정님
maven 컴파일러 플러그인 설정을 변경하셨다고 하였는데... 저희가 이전에 답변드린 내용중의
<fork>true</fork>
은 적용하지 않으셨군요. 메모리 관련 옵션 (meminitial, maxmem) 은 fork 옵션이 true인 경우에만 적용됩니다.
설정변경 후 다시 시도하시기 바랍니다.
감사합니다.
참조 : http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#maxmem
maven 컴파일러 플러그인 설정을 변경하셨다고 하였는데... 저희가 이전에 답변드린 내용중의
<fork>true</fork>
은 적용하지 않으셨군요. 메모리 관련 옵션 (meminitial, maxmem) 은 fork 옵션이 true인 경우에만 적용됩니다.
설정변경 후 다시 시도하시기 바랍니다.
감사합니다.
참조 : http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#maxmem