0

I am using the developer studio 3.8 on Eclipse 4.4 (lunar) on Ubuntu 14.04.

I created a new analytics project using the "Analytics Project" under the "WSO2" categories. see picture

enter image description here

when I built the project using the mvn command line "mvn clean install"

I got the following error

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$ 

I checked the POM.xml and find the following reference

<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>

I traced into the indicated links: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/maven/

and can not find the expected plugin: analytics-stream-maven-plugin

please advise

thanks

4

1 に答える 1

1

CEP プラグインは、Developer Studio 3.8.0 maven プラグインのリリース後に実装されました。したがって、プラグインはまだホストされていません。チームは来週までに maven プラグインをリリースする予定です。その後、maven ビルドを使用できます。maven プラグインがリリースされるまでは、開発者スタジオ自体を使用してプロジェクトをビルドできます。これにより、WSO2 CEP にデプロイされる CAR ファイルが生成されます。

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

于 2016-01-08T07:12:03.850 に答える