我知道这与一年前发布的问题非常相似:
WSO2 Composite Application Project doesn't show any dependency
我也在关注WSO2教程。我已经下载了'和厨房水槽'来自WSO2和EI的eclipse版本。
我在其他线程中尝试了建议的解决方案(下载各种版本的P2)。所有这些都失败了,因为组件比我已安装的组件旧。
我的平台是胜利10。
如果能有所帮助,我很乐意转用氧气(最近的日食版本 - WSO2版本是火星2)。
'工件'除了pom.xml文件之外,您在上一步创建的项目为空。那么也许有一些缺失的步骤?
这是POM:
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example.HelloWorldServiceTask_Artifact</groupId>
<artifactId>HelloWorldServiceTask_Artifact</artifactId>
<version>1.0.0</version>
<packaging>bundle</packaging>
<name>HelloWorldServiceTask_Artifact</name>
<description>HelloWorldServiceTask_Artifact</description>
<properties>
<CApp.type>lib/library/bundle</CApp.type>
</properties>
<dependencies>
<dependency>
<groupId>org.wso2.carbon.HelloWorldServiceTask</groupId>
<artifactId>HelloWorldServiceTask</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
<repositories>
<repository>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
<checksumPolicy>ignore</checksumPolicy>
</releases>
<id>wso2-nexus</id>
<url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
</repository>
<repository>
<id>wso2-maven2-repository-1</id>
<url>http://dist.wso2.org/maven2</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
<checksumPolicy>ignore</checksumPolicy>
</releases>
<id>wso2-nexus</id>
<url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
</pluginRepository>
<pluginRepository>
<id>wso2-maven2-repository-1</id>
<url>http://dist.wso2.org/maven2</url>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.3.4</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>HelloWorldServiceTask_Artifact</Bundle-SymbolicName>
<Bundle-Name>HelloWorldServiceTask_Artifact</Bundle-Name>
<Export-Package>org.wso2.bpmn.helloworld.v1</Export-Package>
<DynamicImport-Package>*</DynamicImport-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.9</version>
<configuration>
<buildcommands />
<projectnatures>
<projectnature>org.wso2.developerstudio.eclipse.library.project.nature</projectnature>
</projectnatures>
</configuration>
</plugin>
</plugins>
</build>
</project>
再次表示感谢和道歉。