eclipse-kuksa / kuksa.ide

Kuksa IDE repo
Eclipse Public License 2.0
4 stars 7 forks source link

Custom stacks are not added to Che #5

Open phil-hei opened 5 years ago

phil-hei commented 5 years ago

According to the documentation, custom stacks should be automatically added during the build process. However, there are not included and running "mvn clean install -rf :kuksa-stacks" gives the following error message:

[ERROR] Failed to execute goal on project assembly-main: Could not resolve dependencies for project org.eclipse.che.kuksa:assembly-main:pom:6.10.0: The following artifacts could not be resolved: org.eclipse.che.kuksa:assembly-ide-war:war:6.10.0, org.eclipse.che.kuksa:assembly-wsagent-server:tar.gz:6.10.0: Failure to find org.eclipse.che.kuksa:assembly-ide-war:war:6.10.0 in http://central.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven-central has elapsed or updates are forced -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project assembly-main: Could not resolve dependencies for project org.eclipse.che.kuksa:assembly-main:pom:6.10.0: The following artifacts could not be resolved: org.eclipse.che.kuksa:assembly-ide-war:war:6.10.0, org.eclipse.che.kuksa:assembly-wsagent-server:tar.gz:6.10.0: Failure to find org.eclipse.che.kuksa:assembly-ide-war:war:6.10.0 in http://central.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven-central has elapsed or updates are forced

nilbro commented 5 years ago

The ide build is successful by updating all the pom.xml files with the latest Che version including the plugins. New error in building the tomcat assembly:

[INFO] Reactor Summary: [INFO] [INFO] Kuksa IDE .......................................... SUCCESS [ 5.890 s] [INFO] Kuksa IDE :: Plugins ............................... SUCCESS [ 0.076 s] [INFO] Kuksa IDE :: Plugins :: Yocto Support .............. SUCCESS [ 0.084 s] [INFO] Kuksa IDE :: Plugins :: Yocto Support :: IDE ....... SUCCESS [ 25.411 s] [INFO] Kuksa IDE :: Plugins :: Remote Target .............. SUCCESS [ 0.139 s] [INFO] Kuksa IDE :: Plugins :: Remote Target :: IDE ....... SUCCESS [ 2.502 s] [INFO] Kuksa IDE :: Che Assembly .......................... SUCCESS [ 0.070 s] [INFO] Kuksa IDE :: Che Assembly :: Workspace Agent Assembly SUCCESS [ 11.726 s] [INFO] Kuksa IDE :: Che Assembly :: Workspace Agent Tomcat Assembly SUCCESS [ 8.351 s] [INFO] Kuksa IDE :: Che Assembly :: IDE Assembly .......... SUCCESS [08:05 min] [INFO] Kuksa IDE :: Stacks ................................ SUCCESS [ 7.507 s] [INFO] Kuksa IDE :: Che Assembly :: Workspace Master War .. SUCCESS [ 13.906 s] [INFO] Kuksa IDE :: Che Assembly :: Assemblies Tomcat ..... FAILURE [ 0.558 s] [INFO] Kuksa IDE :: Samples ............................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 09:27 min [INFO] Finished at: 2019-05-16T13:55:37Z [INFO] Final Memory: 151M/1488M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project assembly-main: Could not resolve dependencies for project org.eclipse.che.kuksa:assembly-main:pom:7.0.0-beta-4.0: Failure to find org.eclipse.che.kuksa:kuksa-samples:jar:7.0.0-beta-4.0 in http://central.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven-central has elapsed or updates are forced -> [Help 1]

nilbro commented 5 years ago

[INFO] Reactor Summary: [INFO] [INFO] Kuksa IDE .......................................... SUCCESS [ 5.369 s] [INFO] Kuksa IDE :: Plugins ............................... SUCCESS [ 0.078 s] [INFO] Kuksa IDE :: Plugins :: Yocto Support .............. SUCCESS [ 0.083 s] [INFO] Kuksa IDE :: Plugins :: Yocto Support :: IDE ....... SUCCESS [ 19.893 s] [INFO] Kuksa IDE :: Plugins :: Remote Target .............. SUCCESS [ 0.165 s] [INFO] Kuksa IDE :: Plugins :: Remote Target :: IDE ....... SUCCESS [ 2.327 s] [INFO] Kuksa IDE :: Che Assembly .......................... SUCCESS [ 0.093 s] [INFO] Kuksa IDE :: Che Assembly :: Workspace Agent Assembly SUCCESS [ 12.247 s] [INFO] Kuksa IDE :: Che Assembly :: Workspace Agent Tomcat Assembly SUCCESS [ 6.948 s] [INFO] Kuksa IDE :: Che Assembly :: IDE Assembly .......... SUCCESS [06:58 min] [INFO] Kuksa IDE :: Stacks ................................ SUCCESS [ 4.950 s] [INFO] Kuksa IDE :: Che Assembly :: Workspace Master War .. SUCCESS [ 10.650 s] [INFO] Kuksa IDE :: Samples ............................... SUCCESS [ 3.772 s] [INFO] Kuksa IDE :: Che Assembly :: Assemblies Tomcat ..... SUCCESS [01:11 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 09:20 min [INFO] Finished at: 2019-05-16T14:22:44Z [INFO] Final Memory: 109M/1434M [INFO] ------------------------------------------------------------------------

Updated pom.xml and json files for samples and stacks with the latest che version