2015-12-22 3 views
0

J'utilise le studio de développement 3.8 sur Eclipse 4.4 (lunaire) sur Ubuntu 14.04. J'ai créé un nouveau projet d'analyse en utilisant le "Projet Analytics" dans les catégories "WSO2". voir photoanalytics-stream-maven-plugin est introuvable sur http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/maven/

enter image description here

quand je construit le projet en utilisant la ligne de commande mvn "mvn clean install"

j'ai eu l'erreur suivante

[email protected]:~/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 
[email protected]:~/wso2/gubnoicep$ 

J'ai vérifié le pom.xml et trouver la référence suivante

<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 tracée dans aux liens indiqués: http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/maven/

et ne peut pas trouver le plug-in prévu: analyse-stream-maven-plugin

s'il vous plaît conseiller

grâce

+0

Cela semble un bug dans le Dev Studio. Pourriez-vous s'il vous plaît créer un JIRA? –

+0

Semble que le plugin CEP n'est pas encore publié sur nexus –

Répondre

1

plugins CEP ont été mis en œuvre après Developer Studio 3.8. 0 release du plugin maven. Par conséquent, les plugins ne sont pas encore hébergés. L'équipe prévoit de sortir des plugins Maven d'ici la semaine prochaine. Ensuite, vous pouvez utiliser maven build. Les plugins Maven Till sont libérés, vous pouvez construire le projet en utilisant le studio de développement lui-même qui va générer votre fichier CAR à déployer dans WSO2 CEP.

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