0

我在 Ubuntu 14.04 上的 Eclipse 4.4(月球)上使用开发人员工作室 3.8。

我使用“WSO2”类别下的“分析项目”创建了一个新的分析项目。看图片

在此处输入图像描述

当我使用 mvn 命令行“mvn clean install”构建项目时

我收到以下错误

wjz@jz:~/wso2/gubnoicep$ mvn clean install 
[INFO] Scanning for projects...
Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/maven/analytics-stream-maven-plugin/1.0.0/analytics-stream-maven-plugin-1.0.0.pom
[WARNING] The POM for org.wso2.maven:analytics-stream-maven-plugin:jar:1.0.0 is missing, no dependency information available
Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/maven/analytics-stream-maven-plugin/1.0.0/analytics-stream-maven-plugin-1.0.0.jar
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project com.gubnoi:gubnoicep:1.0.0 (/home/wjz/wso2/gubnoicep/pom.xml) has 1 error
[ERROR]     Unresolveable build extension: Plugin org.wso2.maven:analytics-stream-maven-plugin:1.0.0 or one of its dependencies could not be resolved: Could not find artifact org.wso2.maven:analytics-stream-maven-plugin:jar:1.0.0 in wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
wjz@jz:~/wso2/gubnoicep$ 

我检查了 POM.xml 并找到以下参考

<plugin>
        <groupId>org.wso2.maven</groupId>
        <artifactId>analytics-stream-maven-plugin</artifactId>
        <version>1.0.0</version>
        <extensions>true</extensions>
        <executions>
          <execution>
            <id>stream</id>
            <phase>process-resources</phase>
            <goals>
              <goal>pom-gen</goal>
            </goals>
            <configuration>
              <artifactLocation>.</artifactLocation>
              <typeList>${artifact.types}</typeList>
            </configuration>
          </execution>
        </executions>
        <configuration />
      </plugin>

我追踪到指定的链接: http ://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/maven/

并且找不到预期的插件:analytics-stream-maven-plugin

请指教

谢谢

4

1 回答 1

1

CEP 插件是在 Developer Studio 3.8.0 maven 插件发布之后实现的。因此插件尚未托管。团队计划在下周发布 Maven 插件。然后你可以使用 Maven 构建。在发布 maven 插件之前,您可以使用 developer studio 本身构建项目,这将生成要部署在 WSO2 CEP 中的 CAR 文件。

https://docs.wso2.com/display/DVS380/Packaging+Artifacts+Into+Deployable+Archives

于 2016-01-08T07:12:03.850 回答