AppFuse 를 사용하여 eclipse 를 프로젝트로 변환하기 위해서는 두가지 명령어를 사용할 수 있습니다.
현재 최신버전인 2.1.0-M2 에서 실행해보니 아래와 같은 에러가 발생하네요.
# 해결방법
2.1.0-M2 의 경우 maven-eclipse-plugin 을 2.7을 사용하도록 pom.xml 파일에 정의되어 있는데요. 이 설정에서 2.5.1을 사용하도록 수정하고 다시 실행하면 정상적으로 변환됩니다.
- mvn install eclipse:eclipse
- mvn eclipse:eclipse
현재 최신버전인 2.1.0-M2 에서 실행해보니 아래와 같은 에러가 발생하네요.
[INFO] Request to merge when 'filtering' is not identical. Original=resource src/main/resources: output=target/classes, include=[], exclude=[ApplicationResources_de.properties|ApplicationResources_fr.properties|ApplicationResources_ko.properties|ApplicationResources_nl.properties|ApplicationResources_no.properties|ApplicationResources_pt*.properties|ApplicationResources_tr.properties|ApplicationResources_zh*.properties|applicationContext-resources.xml|struts.xml|**/*.java], test=false, filtering=true, merging with=resource src/main/resources:output=target/classes, include=[applicationContext-resources.xml|struts.xml],exclude=[**/*.java], test=false, filtering=false
[INFO] --------------------------------------------------------------
[INFO] --------------------------------------------------------------
# 해결방법
2.1.0-M2 의 경우 maven-eclipse-plugin 을 2.7을 사용하도록 pom.xml 파일에 정의되어 있는데요. 이 설정에서 2.5.1을 사용하도록 수정하고 다시 실행하면 정상적으로 변환됩니다.
[INFO] Wrote settings to D:\MyLucy\workspace\NEWSPAPER\newspaper-service\.settings\org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "newspaper-service" to D:\MyLucy\workspace\NEWSPAPER\newspaper-service.
[INFO]
Sources for some artifacts are not available.
List of artifacts without a source archive:
o javax.servlet:jsp-api:2.0
o mysql:mysql-connector-java:5.1.10
o org.appfuse:appfuse-ibatis:2.1.0-M2-20100617.023311-29
o org.appfuse:appfuse-data-common:2.1.0-M2-20100617.023311-29
o org.appfuse:appfuse-web:2.1.0-M2-20100617.023311-26
o org.appfuse:appfuse-service:2.1.0-M2-20100617.023311-26
o jaxen:jaxen:1.1.1
o stax:stax-api:1.0.1
o asm:asm:2.2.3
o javax.xml.soap:saaj-api:1.3
o velocity-tools:velocity-tools-view:1.0
o opensymphony:sitemesh:2.4.2
o org.tuckey:urlrewritefilter:3.1.0
o rhino:js:1.6R2
Javadoc for some artifacts is not available.
List of artifacts without a javadoc archive:
o displaytag:displaytag:1.2
o commons-lang:commons-lang:2.3
o com.lowagie:itext:1.3
o org.slf4j:jcl104-over-slf4j:1.4.2
o org.slf4j:slf4j-log4j12:1.4.2
o org.slf4j:slf4j-api:1.4.2
o log4j:log4j:1.2.13
o javax.servlet:jsp-api:2.0
o javax.servlet:servlet-api:2.5
o junit:junit:4.7
o junit:junit-dep:4.5
o org.hamcrest:hamcrest-core:1.1
o mysql:mysql-connector-java:5.1.10
o org.appfuse:appfuse-ibatis:2.1.0-M2-20100617.023311-29
o org.appfuse:appfuse-data-common:2.1.0-M2-20100617.023311-29
o javax.persistence:persistence-api:1.0
o javax.xml.bind:jaxb-api:2.2
o javax.xml.stream:stax-api:1.0-2
o javax.activation:activation:1.1
o org.springframework:spring-aop:3.0.3.RELEASE
o aopalliance:aopalliance:1.0
o org.springframework:spring-asm:3.0.3.RELEASE
o org.springframework:spring-beans:3.0.3.RELEASE
o org.springframework:spring-core:3.0.3.RELEASE
o org.springframework:spring-jdbc:3.0.3.RELEASE
o org.springframework:spring-tx:3.0.3.RELEASE
o org.springframework:spring-context:3.0.3.RELEASE
o org.springframework:spring-expression:3.0.0.RELEASE
o org.springframework:spring-orm:3.0.3.RELEASE
o org.springframework.security:spring-security-core:3.0.0.RELEASE
o org.aspectj:aspectjrt:1.6.6
o org.aspectj:aspectjweaver:1.6.6
o org.springframework.security:spring-security-config:3.0.0.RELEASE
o org.apache.ibatis:ibatis-sqlmap:2.3.4.726
o org.springframework:spring-aspects:3.0.3.RELEASE
o org.springframework:spring-context-support:3.0.3.RELEASE
o org.springframework:spring-test:3.0.3.RELEASE
o org.appfuse:appfuse-web:2.1.0-M2-20100617.023311-26
o org.appfuse:appfuse-service:2.1.0-M2-20100617.023311-26
o javax.mail:mail:1.4
o velocity:velocity:1.4
o velocity:velocity-dep:1.4
o org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:1.0.1
o wsdl4j:wsdl4j:1.6.2
o org.apache.neethi:neethi:2.0.4
o org.apache.cxf:cxf-common-schemas:2.2.4
o com.sun.xml.bind:jaxb-impl:2.1.12
o org.apache.abdera:abdera-core:0.4.0-incubating
o org.apache.abdera:abdera-i18n:0.4.0-incubating
o org.apache.abdera:abdera-parser:0.4.0-incubating
o org.apache.ws.commons.axiom:axiom-impl:1.2.5
o org.apache.ws.commons.axiom:axiom-api:1.2.5
o jaxen:jaxen:1.1.1
o org.apache.abdera:abdera-extensions-json:0.4.0-incubating
o org.apache.abdera:abdera-extensions-main:0.4.0-incubating
o org.apache.xmlbeans:xmlbeans:2.4.0
o org.codehaus.woodstox:woodstox-core-asl:4.0.3
o stax:stax-api:1.0.1
o org.codehaus.woodstox:stax2-api:3.0.1
o xml-resolver:xml-resolver:1.2
o asm:asm:2.2.3
o javax.xml.soap:saaj-api:1.3
o com.sun.xml.messaging.saaj:saaj-impl:1.3.2
o org.codehaus.jackson:jackson-jaxrs:1.2.1
o org.codehaus.jackson:jackson-core-asl:1.2.1
o org.codehaus.jackson:jackson-mapper-asl:1.2.1
o xml-apis:xml-apis:1.0.b2
o javax.servlet:jstl:1.1.2
o taglibs:standard:1.1.2
o struts-menu:struts-menu:2.4.3
o velocity-tools:velocity-tools-view:1.0
o opensymphony:sitemesh:2.4.2
o org.springframework.security:spring-security-taglibs:3.0.0.RELEASE
o org.springframework.security:spring-security-web:3.0.0.RELEASE
o org.springframework.security:spring-security-acl:3.0.0.RELEASE
o org.springframework:spring-webmvc:3.0.3.RELEASE
o org.springframework:spring-web:3.0.3.RELEASE
o org.tuckey:urlrewritefilter:3.1.0
o org.hamcrest:hamcrest-library:1.1
o org.springmodules:spring-modules-validation:0.8
o oro:oro:2.0.8
o antlr:antlr:2.7.6
o rhino:js:1.6R2
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 40 seconds
[INFO] Finished at: Wed Jun 23 14:52:38 KST 2010
[INFO] Final Memory: 70M/172M
[INFO] ------------------------------------------------------------------------
[INFO] Wrote Eclipse project for "newspaper-service" to D:\MyLucy\workspace\NEWSPAPER\newspaper-service.
[INFO]
Sources for some artifacts are not available.
List of artifacts without a source archive:
o javax.servlet:jsp-api:2.0
o mysql:mysql-connector-java:5.1.10
o org.appfuse:appfuse-ibatis:2.1.0-M2-20100617.023311-29
o org.appfuse:appfuse-data-common:2.1.0-M2-20100617.023311-29
o org.appfuse:appfuse-web:2.1.0-M2-20100617.023311-26
o org.appfuse:appfuse-service:2.1.0-M2-20100617.023311-26
o jaxen:jaxen:1.1.1
o stax:stax-api:1.0.1
o asm:asm:2.2.3
o javax.xml.soap:saaj-api:1.3
o velocity-tools:velocity-tools-view:1.0
o opensymphony:sitemesh:2.4.2
o org.tuckey:urlrewritefilter:3.1.0
o rhino:js:1.6R2
Javadoc for some artifacts is not available.
List of artifacts without a javadoc archive:
o displaytag:displaytag:1.2
o commons-lang:commons-lang:2.3
o com.lowagie:itext:1.3
o org.slf4j:jcl104-over-slf4j:1.4.2
o org.slf4j:slf4j-log4j12:1.4.2
o org.slf4j:slf4j-api:1.4.2
o log4j:log4j:1.2.13
o javax.servlet:jsp-api:2.0
o javax.servlet:servlet-api:2.5
o junit:junit:4.7
o junit:junit-dep:4.5
o org.hamcrest:hamcrest-core:1.1
o mysql:mysql-connector-java:5.1.10
o org.appfuse:appfuse-ibatis:2.1.0-M2-20100617.023311-29
o org.appfuse:appfuse-data-common:2.1.0-M2-20100617.023311-29
o javax.persistence:persistence-api:1.0
o javax.xml.bind:jaxb-api:2.2
o javax.xml.stream:stax-api:1.0-2
o javax.activation:activation:1.1
o org.springframework:spring-aop:3.0.3.RELEASE
o aopalliance:aopalliance:1.0
o org.springframework:spring-asm:3.0.3.RELEASE
o org.springframework:spring-beans:3.0.3.RELEASE
o org.springframework:spring-core:3.0.3.RELEASE
o org.springframework:spring-jdbc:3.0.3.RELEASE
o org.springframework:spring-tx:3.0.3.RELEASE
o org.springframework:spring-context:3.0.3.RELEASE
o org.springframework:spring-expression:3.0.0.RELEASE
o org.springframework:spring-orm:3.0.3.RELEASE
o org.springframework.security:spring-security-core:3.0.0.RELEASE
o org.aspectj:aspectjrt:1.6.6
o org.aspectj:aspectjweaver:1.6.6
o org.springframework.security:spring-security-config:3.0.0.RELEASE
o org.apache.ibatis:ibatis-sqlmap:2.3.4.726
o org.springframework:spring-aspects:3.0.3.RELEASE
o org.springframework:spring-context-support:3.0.3.RELEASE
o org.springframework:spring-test:3.0.3.RELEASE
o org.appfuse:appfuse-web:2.1.0-M2-20100617.023311-26
o org.appfuse:appfuse-service:2.1.0-M2-20100617.023311-26
o javax.mail:mail:1.4
o velocity:velocity:1.4
o velocity:velocity-dep:1.4
o org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:1.0.1
o wsdl4j:wsdl4j:1.6.2
o org.apache.neethi:neethi:2.0.4
o org.apache.cxf:cxf-common-schemas:2.2.4
o com.sun.xml.bind:jaxb-impl:2.1.12
o org.apache.abdera:abdera-core:0.4.0-incubating
o org.apache.abdera:abdera-i18n:0.4.0-incubating
o org.apache.abdera:abdera-parser:0.4.0-incubating
o org.apache.ws.commons.axiom:axiom-impl:1.2.5
o org.apache.ws.commons.axiom:axiom-api:1.2.5
o jaxen:jaxen:1.1.1
o org.apache.abdera:abdera-extensions-json:0.4.0-incubating
o org.apache.abdera:abdera-extensions-main:0.4.0-incubating
o org.apache.xmlbeans:xmlbeans:2.4.0
o org.codehaus.woodstox:woodstox-core-asl:4.0.3
o stax:stax-api:1.0.1
o org.codehaus.woodstox:stax2-api:3.0.1
o xml-resolver:xml-resolver:1.2
o asm:asm:2.2.3
o javax.xml.soap:saaj-api:1.3
o com.sun.xml.messaging.saaj:saaj-impl:1.3.2
o org.codehaus.jackson:jackson-jaxrs:1.2.1
o org.codehaus.jackson:jackson-core-asl:1.2.1
o org.codehaus.jackson:jackson-mapper-asl:1.2.1
o xml-apis:xml-apis:1.0.b2
o javax.servlet:jstl:1.1.2
o taglibs:standard:1.1.2
o struts-menu:struts-menu:2.4.3
o velocity-tools:velocity-tools-view:1.0
o opensymphony:sitemesh:2.4.2
o org.springframework.security:spring-security-taglibs:3.0.0.RELEASE
o org.springframework.security:spring-security-web:3.0.0.RELEASE
o org.springframework.security:spring-security-acl:3.0.0.RELEASE
o org.springframework:spring-webmvc:3.0.3.RELEASE
o org.springframework:spring-web:3.0.3.RELEASE
o org.tuckey:urlrewritefilter:3.1.0
o org.hamcrest:hamcrest-library:1.1
o org.springmodules:spring-modules-validation:0.8
o oro:oro:2.0.8
o antlr:antlr:2.7.6
o rhino:js:1.6R2
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 40 seconds
[INFO] Finished at: Wed Jun 23 14:52:38 KST 2010
[INFO] Final Memory: 70M/172M
[INFO] ------------------------------------------------------------------------
'자바' 카테고리의 다른 글
[Spring] Spring IDE 설치하기 (3) | 2010.07.20 |
---|---|
[AppFuse] mvn 을 통한 빌드 실패 해결 (0) | 2010.06.23 |
[팁] eclipse에서 플러그인 삭제하기 (2) | 2009.08.10 |
[문서] Infinitest 사용하기 (2) | 2009.08.10 |
[ibatis] ibatis 3.0 beta1 릴리즈 (5) | 2009.08.09 |