I cloned the openhab-core to my desktop and I imported it to eclipse which has maven and bndtools as plugins installed. I ran the mvn clean install on openhab-core it took a while but it always fails and stops every time at a different class. What might be going wrong??. the second thing if I change something in openhab-core how do I run the application to see the change??
This is the Generated Error by maven
> [INFO] Reactor Summary for openHAB Core 2.5.0-SNAPSHOT:
[INFO] [INFO] openHAB Core ....................................... SUCCESS [ 1.471 s] [INFO] openHAB Core :: BOM ................................ SUCCESS [ 0.386 s] [INFO] openHAB Core :: BOM :: Compile ..................... SUCCESS [ 1.247 s] [INFO] openHAB Core :: BOM :: Compile Model ............... SUCCESS [ 1.013 s] [INFO] openHAB Core :: BOM :: Runtime ..................... SUCCESS [ 1.683 s] [INFO] openHAB Core :: BOM :: Runtime Index ............... SUCCESS [ 19.707 s] [INFO] openHAB Core :: BOM :: Test ........................ SUCCESS [ 1.438 s] [INFO] openHAB Core :: BOM :: Test Index .................. SUCCESS [ 2.575 s] [INFO] openHAB Core :: Bundles ............................ SUCCESS [ 1.824 s] [INFO] openHAB Core :: Bundles :: Core .................... SUCCESS [02:15 min] [INFO] openHAB Core :: Bundles :: Test .................... SUCCESS [ 27.108 s] [INFO] openHAB Core :: Bundles :: Configuration Core ...... SUCCESS [ 42.132 s] [INFO] openHAB Core :: Bundles :: Console ................. SUCCESS [ 15.493 s] [INFO] openHAB Core :: Bundles :: Thing ................... SUCCESS [01:52 min] [INFO] openHAB Core :: Bundles :: Configuration Discovery . SUCCESS [ 28.108 s] [INFO] openHAB Core :: Bundles :: Network I/O ............. SUCCESS [ 21.647 s] [INFO] openHAB Core :: Bundles :: Scheduler Service ....... SUCCESS [ 25.586 s] [INFO] openHAB Core :: Bundles :: Automation .............. SUCCESS [01:54 min] [INFO] openHAB Core :: Bundles :: Magic Bundle ............ SUCCESS [ 24.640 s] [INFO] openHAB Core :: Bundles :: Model Core .............. SUCCESS [ 25.780 s] [INFO] openHAB Core :: Bundles :: Persistence ............. SUCCESS [ 29.123 s] [INFO] openHAB Core :: Bundles :: Model Persistence ....... SUCCESS [01:30 min] [INFO] openHAB Core :: Bundles :: Transformation Service .. SUCCESS [ 22.296 s] [INFO] openHAB Core :: Bundles :: HTTP Interface .......... SUCCESS [ 18.031 s] [INFO] openHAB Core :: Bundles :: Audio ................... SUCCESS [ 16.758 s] [INFO] openHAB Core :: Bundles :: Voice ................... SUCCESS [ 20.696 s] [INFO] openHAB Core :: Bundles :: Model Script ............ SUCCESS [01:04 min] [INFO] openHAB Core :: Bundles :: Model Rules ............. SUCCESS [01:25 min] [INFO] openHAB Core :: Bundles :: Model Rules Runtime ..... SUCCESS [ 12.992 s] [INFO] openHAB Core :: Bundles :: Model Sitemap ........... SUCCESS [01:26 min] [INFO] openHAB Core :: Bundles :: Boot .................... SUCCESS [ 17.746 s] [INFO] openHAB Core :: Bundles :: Model Items ............. SUCCESS [01:16 min] [INFO] openHAB Core :: Bundles :: UI ...................... SUCCESS [ 52.974 s] [INFO] openHAB Core :: Bundles :: 1.x Compatibility Layer . SUCCESS [02:17 min] [INFO] openHAB Core :: Bundles :: Karaf Integration ....... SUCCESS [ 32.887 s] [INFO] openHAB Core :: Bundles :: Configuration XML ....... SUCCESS [ 35.462 s] [INFO] openHAB Core :: Bundles :: Binding XML ............. SUCCESS [ 26.670 s] [INFO] openHAB Core :: Bundles :: Sample Extension Service SUCCESS [ 30.314 s] [INFO] openHAB Core :: Bundles :: REST Interface .......... SUCCESS [ 37.753 s] [INFO] openHAB Core :: Bundles :: ID ...................... SUCCESS [ 20.804 s] [INFO] openHAB Core :: Bundles :: Semantics ............... SUCCESS [ 58.456 s] [INFO] openHAB Core :: Bundles :: Thing XML ............... SUCCESS [ 33.008 s] [INFO] openHAB Core :: Bundles :: JAAS Authentication ..... SUCCESS [ 23.761 s] [INFO] openHAB Core :: Bundles :: OAuth2Client ............ SUCCESS [ 30.119 s] [INFO] openHAB Core :: Bundles :: mDNS Service ............ SUCCESS [ 24.321 s] [INFO] openHAB Core :: Bundles :: Serial Transport ........ SUCCESS [ 26.810 s] [INFO] openHAB Core :: Bundles :: Console for OSGi framework Eclipse Equinox SUCCESS [ 40.978 s] [INFO] openHAB Core :: Bundles :: Console for OSGi Console RFC 147 FAILURE [ 2.893 s] [INFO] openHAB Core :: Bundles :: Console for OSGi runtime Karaf SKIPPED [INFO] openHAB Core :: Bundles :: HTTP Interface Authentication SKIPPED [INFO] openHAB Core :: Bundles :: HTTP Interface Basic Authentication SKIPPED [INFO] openHAB Core :: Bundles :: Monitor ................. SKIPPED [INFO] openHAB Core :: Bundles :: Authentication Support for the REST Interface SKIPPED [INFO] openHAB Core :: Bundles :: REST Interface .......... SKIPPED [INFO] openHAB Core :: Bundles :: REST UI Logging Module .. SKIPPED [INFO] openHAB Core :: Bundles :: REST mDNS Announcer ..... SKIPPED [INFO] openHAB Core :: Bundles :: REST JAX-RS Optimizations SKIPPED [INFO] openHAB Core :: Bundles :: Sitemap REST Interface .. SKIPPED [INFO] openHAB Core :: Bundles :: SSE Interface ........... SKIPPED [INFO] openHAB Core :: Bundles :: Voice REST Interface .... SKIPPED [INFO] openHAB Core :: Bundles :: DBus Transport .......... SKIPPED [INFO] openHAB Core :: Bundles :: MQTT Transport .......... SKIPPED [INFO] openHAB Core :: Bundles :: Serial Transport for Java Communications API SKIPPED [INFO] openHAB Core :: Bundles :: Serial Transport for RXTX SKIPPED [INFO] openHAB Core :: Bundles :: Serial Transport for RFC2217 SKIPPED [INFO] openHAB Core :: Bundles :: UPnP Transport .......... SKIPPED [INFO] openHAB Core :: Bundles :: SSL Certificate Generator SKIPPED [INFO] openHAB Core :: Bundles :: Configuration mDNS Discovery SKIPPED [INFO] openHAB Core :: Bundles :: Configuration USB-Serial Discovery SKIPPED [INFO] openHAB Core :: Bundles :: Configuration USB-Serial Discovery for Linux using sysfs scanning SKIPPED [INFO] openHAB Core :: Bundles :: Configuration UPnP Discovery SKIPPED [INFO] openHAB Core :: Bundles :: Configuration Dispatcher SKIPPED [INFO] openHAB Core :: Bundles :: Configuration Serial .... SKIPPED [INFO] openHAB Core :: Bundles :: Automation Script Modules SKIPPED [INFO] openHAB Core :: Bundles :: Automation Media Modules SKIPPED [INFO] openHAB Core :: Bundles :: Automation Script RuleSupport SKIPPED [INFO] openHAB Core :: Bundles :: Automation REST API ..... SKIPPED [INFO] openHAB Core :: Bundles :: Model Item IDE .......... SKIPPED [INFO] openHAB Core :: Bundles :: Model Items Runtime ..... SKIPPED [INFO] openHAB Core :: Bundles :: Model Persistence IDE ... SKIPPED [INFO] openHAB Core :: Bundles :: Model Rule IDE .......... SKIPPED [INFO] openHAB Core :: Bundles :: Model Script IDE ........ SKIPPED [INFO] openHAB Core :: Bundles :: Model Sitemap IDE ....... SKIPPED [INFO] openHAB Core :: Bundles :: Model Thing ............. SKIPPED [INFO] openHAB Core :: Bundles :: Model Thing IDE ......... SKIPPED [INFO] openHAB Core :: Bundles :: Language Server ......... SKIPPED [INFO] openHAB Core :: Bundles :: Model Persistence Runtime SKIPPED [INFO] openHAB Core :: Bundles :: Model Script Runtime .... SKIPPED [INFO] openHAB Core :: Bundles :: Model Sitemap Runtime ... SKIPPED [INFO] openHAB Core :: Bundles :: Model Thing Runtime ..... SKIPPED [INFO] openHAB Core :: Bundles :: UI Icon Support ......... SKIPPED [INFO] openHAB Core :: Bundles :: JSON Storage ............ SKIPPED [INFO] openHAB Core :: Bundles :: MapDB Storage ........... SKIPPED [INFO] openHAB Core :: BOM :: openHAB Core ................ SKIPPED [INFO] openHAB Core :: BOM :: openHAB Core Index .......... SKIPPED [INFO] openHAB Core :: Bundles :: Model Lazy Generation ... SKIPPED [INFO] openHAB Core :: Features ........................... SKIPPED [INFO] openHAB Core :: Features :: Karaf .................. SKIPPED [INFO] openHAB Core :: Features :: Karaf :: Target Platform SKIPPED [INFO] openHAB Core :: Features :: Karaf :: Core .......... SKIPPED [INFO] openHAB Addons Parent Pom .......................... SKIPPED [INFO] openHAB - Tycho settings ........................... SKIPPED [INFO] openHAB Core P2 Repository ......................... SKIPPED [INFO] openHAB Core :: Features :: p2 ..................... SKIPPED [INFO] openHAB Core :: Tools .............................. SKIPPED [INFO] openHAB Core :: Tools :: Archetypes ................ SKIPPED [INFO] openHAB Core :: Tools :: Archetypes :: Binding ..... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 29:37 min [INFO] Finished at: 2019-05-06T01:27:43+02:00 [INFO] ------------------------------------------------------------------------ --------------------------------------------------- constituent[0]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../conf/logging/ constituent[1]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/animal-sniffer-annotations-1.14.jar constituent[2]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/aopalliance-1.0.jar constituent[3]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/cdi-api-1.0.jar constituent[4]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/checker-compat-qual-2.0.0.jar constituent[5]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/commons-cli-1.4.jar constituent[6]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/commons-io-2.5.jar constituent[7]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/commons-lang3-3.8.1.jar constituent[8]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/error_prone_annotations-2.1.3.jar constituent[9]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/guava-25.1-android.jar constituent[10]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/guice-4.2.1-no_aop.jar constituent[11]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/j2objc-annotations-1.1.jar constituent[12]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/jansi-1.17.1.jar constituent[13]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/javax.inject-1.jar constituent[14]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/jcl-over-slf4j-1.7.25.jar constituent[15]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/jsr250-api-1.0.jar constituent[16]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/jsr305-3.0.2.jar constituent[17]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-artifact-3.6.0.jar constituent[18]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-builder-support-3.6.0.jar constituent[19]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-compat-3.6.0.jar constituent[20]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-core-3.6.0.jar constituent[21]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-embedder-3.6.0.jar constituent[22]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-model-3.6.0.jar constituent[23]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-model-builder-3.6.0.jar constituent[24]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-plugin-api-3.6.0.jar constituent[25]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-repository-metadata-3.6.0.jar constituent[26]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-resolver-api-1.3.1.jar constituent[27]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-resolver-connector-basic-1.3.1.jar constituent[28]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-resolver-impl-1.3.1.jar constituent[29]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-resolver-provider-3.6.0.jar constituent[30]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-resolver-spi-1.3.1.jar constituent[31]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-resolver-transport-wagon-1.3.1.jar constituent[32]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-resolver-util-1.3.1.jar constituent[33]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-settings-3.6.0.jar constituent[34]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-settings-builder-3.6.0.jar constituent[35]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-shared-utils-3.2.1.jar constituent[36]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/maven-slf4j-provider-3.6.0.jar constituent[37]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/org.eclipse.sisu.inject-0.3.3.jar constituent[38]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/org.eclipse.sisu.plexus-0.3.3.jar constituent[39]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/plexus-cipher-1.7.jar constituent[40]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/plexus-component-annotations-1.7.1.jar constituent[41]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/plexus-interpolation-1.25.jar constituent[42]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/plexus-sec-dispatcher-1.4.jar constituent[43]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/plexus-utils-3.1.0.jar constituent[44]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/slf4j-api-1.7.25.jar constituent[45]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/wagon-file-3.2.0.jar constituent[46]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/wagon-http-3.2.0-shaded.jar constituent[47]: file:/D:/Downloads/Maven/apache-maven-3.6.0/bin/../lib/wagon-provider-api-3.2.0.jar --------------------------------------------------- Exception in thread "main" java.util.zip.ZipError: jzentry == 0, jzfile = 908270488, total = 358, name = C:\Users\Hesham\Desktop\Openhab Development Enviroment\openhab-core\bundles\org.openhab.core\target\org.openhab.core-2.5.0-SNAPSHOT.jar, i = 1, message = null at java.util.zip.ZipFile$ZipEntryIterator.next(ZipFile.java:534) at java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:514) at java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:495) at org.eclipse.jdt.internal.compiler.batch.ClasspathJar.getModulesDeclaringPackage(ClasspathJar.java:243) at org.eclipse.jdt.internal.compiler.batch.ClasspathLocation.isPackage(ClasspathLocation.java:186) at org.eclipse.jdt.internal.compiler.batch.ClasspathJar.findClass(ClasspathJar.java:117) at org.eclipse.jdt.internal.compiler.batch.FileSystem.internalFindClass(FileSystem.java:453) at org.eclipse.jdt.internal.compiler.batch.FileSystem.findClass(FileSystem.java:395) at org.eclipse.jdt.internal.compiler.batch.FileSystem.findType(FileSystem.java:545) at org.eclipse.jdt.internal.compiler.env.IModuleAwareNameEnvironment.findType(IModuleAwareNameEnvironment.java:100) at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createPackage(LookupEnvironment.java:1112) at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:132) at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:463) at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:845) at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:394) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:448) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:426) at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:4704) at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1768) at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1470) at org.eclipse.jdt.core.compiler.batch.BatchCompiler.compile(BatchCompiler.java:83) at org.codehaus.plexus.compiler.eclipse.EclipseJavaCompiler.performCompile(EclipseJavaCompiler.java:276) at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1129) at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:188) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)