使用来自 com.ibm.tools.archetype 组的 ejb-jee6-was 原型时,maven 缺少多个工件
maven missing multiple artifacts when using ejb-jee6-was archetype from com.ibm.tools.archetype group
我正在尝试使用 ejb-jee6-was 原型创建新项目,但在创建项目后出现以下错误:
Multiple annotations found at this line:
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.jpa:jar:1.0.0
- Missing artifact com.ibm.websphere.wsfp:com.ibm.wsfp.main:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.prereq.xlxp:jar:1.0.0
- Missing artifact com.ibm.websphere.web2mobile:RPCAdapter-annotation:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.portletcontainer:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:wsadie.marshall:jar:1.0.0
- Missing artifact com.ibm.websphere.tivoli.tam:PD:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:dhbcore:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.prereq.wsdl4j:jar:1.0.0
- Missing artifact com.ibm.websphere.rsadbutils:rsadbutils:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.admin.services:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:com.ibm.mq.connector:jar:1.0.0
- Missing artifact com.ibm.websphere.mail-impl:mail-impl:jar:1.0.0
- Missing artifact com.ibm.websphere.web2mobile:webmsg_applib:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.emf:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.prereq.jaxrs:jar:1.0.0
- Missing artifact com.ibm.websphere.org.eclipse.emf:org.eclipse.emf.ecore.sdo:jar:
1.0.0
- Missing artifact com.ibm.websphere.org.eclipse.emf:org.eclipse.emf.ecore:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.runtime:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.runtime.dist:jar:1.0.0
- Missing artifact com.ibm.websphere.osgi.4.2:osgi.cmpn:jar:1.0.0
- Missing artifact com.ibm.websphere.web2mobile:wink-jaxrs-webdav:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:com.ibm.mq:jar:1.0.0
- Missing artifact
com.ibm.websphere.org.eclipse.emf:org.eclipse.emf.ecore.change:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:com.ibm.mq.jmqi:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.jsf.myfaces:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.jaxrs:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:com.ibm.mq.pcf:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.prereq.jackson:jar:1.0.0
- Missing artifact com.ibm.websphere.web2mobile:RPCAdapter:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.sip.container:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:wsadie.wsatlib:jar:1.0.0
- Missing artifact com.ibm.websphere.j2ee:j2ee:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.wccm:jar:1.0.0
- Missing artifact com.ibm.websphere.osgi.4.2:osgi.core:jar:1.0.0
- Missing artifact com.ibm.websphere.sca.2.0:sca_api:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.sip.interface:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.webcontainer:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.prereq.vajava:jar:1.0.0
- Missing artifact
com.ibm.websphere.org.eclipse.emf:org.eclipse.emf.commonj.sdo:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.prereq.soap:jar:1.0.0
- Missing artifact com.ibm.websphere.bootstrap:bootstrap:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:com.ibm.mq.commonservices:jar:
1.0.0
- Missing artifact com.ibm.websphere.org.eclipse.emf:org.eclipse.emf.ecore.xmi:jar:
1.0.0
- Missing artifact com.ibm.websphere.org.apache:org.apache.tuscany.sca.api:jar:1.0.0
- Missing artifact com.ibm.websphere.ffdcSupport:ffdcSupport:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.batch.runtime:jar:1.0.0
- Missing artifact com.ibm.websphere.sca.1.0:sca_api:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.admin.core:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:com.ibm.mq.headers:jar:1.0.0
- Missing artifact com.ibm.websphere.xml:xmlapi:jar:1.0.0
- Missing artifact com.ibm.websphere.org.eclipse.emf:org.eclipse.emf.common:jar:
1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.sib.server:jar:1.0.0
添加以下依赖项没有帮助:
<repositories>
<repository>
<id>Liberty</id>
<name>Liberty Repository</name>
<url>http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/maven/repository/</url>
</repository>
</repositories>
最奇怪的是,当我尝试从以下原型创建项目时:webapp-jee7-liberty一切正常。
我做错了什么?
was-liberty 的依赖工件已发布在您上面提到的 Liberty Repository 上。 "ejb-jee6-was" 的原型使用目标 pom 模拟 was-classic 8.5.5,并且需要初始安装步骤来填充本地 Maven 存储库。
按照此处的说明设置 WebSphere Application Server V8.5.5:http://www-01.ibm.com/support/knowledgecenter/SSHR6W_8.5.5/com.ibm.websphere.wdt.doc/topics/localrepo.htm
我正在尝试使用 ejb-jee6-was 原型创建新项目,但在创建项目后出现以下错误:
Multiple annotations found at this line:
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.jpa:jar:1.0.0
- Missing artifact com.ibm.websphere.wsfp:com.ibm.wsfp.main:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.prereq.xlxp:jar:1.0.0
- Missing artifact com.ibm.websphere.web2mobile:RPCAdapter-annotation:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.portletcontainer:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:wsadie.marshall:jar:1.0.0
- Missing artifact com.ibm.websphere.tivoli.tam:PD:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:dhbcore:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.prereq.wsdl4j:jar:1.0.0
- Missing artifact com.ibm.websphere.rsadbutils:rsadbutils:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.admin.services:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:com.ibm.mq.connector:jar:1.0.0
- Missing artifact com.ibm.websphere.mail-impl:mail-impl:jar:1.0.0
- Missing artifact com.ibm.websphere.web2mobile:webmsg_applib:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.emf:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.prereq.jaxrs:jar:1.0.0
- Missing artifact com.ibm.websphere.org.eclipse.emf:org.eclipse.emf.ecore.sdo:jar:
1.0.0
- Missing artifact com.ibm.websphere.org.eclipse.emf:org.eclipse.emf.ecore:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.runtime:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.runtime.dist:jar:1.0.0
- Missing artifact com.ibm.websphere.osgi.4.2:osgi.cmpn:jar:1.0.0
- Missing artifact com.ibm.websphere.web2mobile:wink-jaxrs-webdav:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:com.ibm.mq:jar:1.0.0
- Missing artifact
com.ibm.websphere.org.eclipse.emf:org.eclipse.emf.ecore.change:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:com.ibm.mq.jmqi:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.jsf.myfaces:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.jaxrs:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:com.ibm.mq.pcf:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.prereq.jackson:jar:1.0.0
- Missing artifact com.ibm.websphere.web2mobile:RPCAdapter:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.sip.container:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:wsadie.wsatlib:jar:1.0.0
- Missing artifact com.ibm.websphere.j2ee:j2ee:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.wccm:jar:1.0.0
- Missing artifact com.ibm.websphere.osgi.4.2:osgi.core:jar:1.0.0
- Missing artifact com.ibm.websphere.sca.2.0:sca_api:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.sip.interface:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.webcontainer:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.prereq.vajava:jar:1.0.0
- Missing artifact
com.ibm.websphere.org.eclipse.emf:org.eclipse.emf.commonj.sdo:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.prereq.soap:jar:1.0.0
- Missing artifact com.ibm.websphere.bootstrap:bootstrap:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:com.ibm.mq.commonservices:jar:
1.0.0
- Missing artifact com.ibm.websphere.org.eclipse.emf:org.eclipse.emf.ecore.xmi:jar:
1.0.0
- Missing artifact com.ibm.websphere.org.apache:org.apache.tuscany.sca.api:jar:1.0.0
- Missing artifact com.ibm.websphere.ffdcSupport:ffdcSupport:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.batch.runtime:jar:1.0.0
- Missing artifact com.ibm.websphere.sca.1.0:sca_api:jar:1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.admin.core:jar:1.0.0
- Missing artifact com.ibm.websphere.wmq.jmsra:com.ibm.mq.headers:jar:1.0.0
- Missing artifact com.ibm.websphere.xml:xmlapi:jar:1.0.0
- Missing artifact com.ibm.websphere.org.eclipse.emf:org.eclipse.emf.common:jar:
1.0.0
- Missing artifact com.ibm.websphere.ws:com.ibm.ws.sib.server:jar:1.0.0
添加以下依赖项没有帮助:
<repositories>
<repository>
<id>Liberty</id>
<name>Liberty Repository</name>
<url>http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/maven/repository/</url>
</repository>
</repositories>
最奇怪的是,当我尝试从以下原型创建项目时:webapp-jee7-liberty一切正常。
我做错了什么?
was-liberty 的依赖工件已发布在您上面提到的 Liberty Repository 上。 "ejb-jee6-was" 的原型使用目标 pom 模拟 was-classic 8.5.5,并且需要初始安装步骤来填充本地 Maven 存储库。
按照此处的说明设置 WebSphere Application Server V8.5.5:http://www-01.ibm.com/support/knowledgecenter/SSHR6W_8.5.5/com.ibm.websphere.wdt.doc/topics/localrepo.htm