[+ Dev@] On Tue, Jan 31, 2017 at 11:25 AM, Siddheshwar < [email protected]> wrote:
> thanks its working... > > On 30-Jan-2017 10:44 pm, Menaka Jayawardena <[email protected]> wrote: > > Hi Siddheshwar, > > Thank you very much for trying out WSO2 IoT Server. > > This is an issue with Java 8. > > Please replace the pom file in *samples/connectedcup/components/plugin* > with the attached file. > > Thanks and Regards, > Menaka > > > On Mon, Jan 30, 2017 at 12:39 PM, Siddheshwar Borwandkar < > [email protected]> wrote: > > i working on *connectedcup* sample . > when i run "*mvn clean install -f samples-deployer.xml*" > > it return build failure. > > > > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Building WSO2 IoTS(Device Types) - Connected Cup CDMF Plugin 1.0.0 > [INFO] ------------------------------------------------------------ > ------------ > [INFO] > [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ > org.coffeeking.connectedcup.plugin --- > [INFO] Deleting /infralabs/servers/wso2iot-3.0 > .0/samples/connectedcup/component/plugin/target > [INFO] > [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ > org.coffeeking.connectedcup.plugin --- > [INFO] > [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ > org.coffeeking.connectedcup.plugin --- > [WARNING] Using platform encoding (UTF-8 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory /infralabs/servers/wso2iot-3.0 > .0/samples/connectedcup/component/plugin/src/main/resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ > org.coffeeking.connectedcup.plugin --- > [WARNING] File encoding has not been set, using platform encoding UTF-8, > i.e. build is platform dependent! > [INFO] Compiling 9 source files to /infralabs/servers/wso2iot-3.0 > .0/samples/connectedcup/component/plugin/target/classes > [INFO] > [INFO] --- maven-scr-plugin:1.7.2:scr (generate-scr-scrdescriptor) @ > org.coffeeking.connectedcup.plugin --- > [WARNING] Class org.coffeeking.connectedcup.pl > ugin.internal.ConnectedCupServiceComponent is using deprecated javadoc > tags at file:/infralabs/servers/wso2iot-3.0.0/samples/connectedcup/ > component/plugin/src/main/java/org/coffeeking/connectedc > up/plugin/internal/ConnectedCupServiceComponent.java:30 > [WARNING] It is highly recommended to fix these problems, as future > versions might not support these features anymore. > [INFO] Generating 2 MetaType Descriptors to /infralabs/servers/wso2iot-3.0 > .0/samples/connectedcup/component/plugin/target/scr-plugin- > generated/OSGI-INF/metatype/metatype.xml > [INFO] Writing abstract service descriptor /infralabs/servers/wso2iot-3.0 > .0/samples/connectedcup/component/plugin/target/scr-plugin- > generated/OSGI-INF/scr-plugin/scrinfo.xml with 1 entries. > [INFO] Generating 1 Service Component Descriptors to > /infralabs/servers/wso2iot-3.0.0/samples/connectedcup/compon > ent/plugin/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml > [INFO] > [INFO] --- maven-resources-plugin:2.7:testResources > (default-testResources) @ org.coffeeking.connectedcup.plugin --- > [WARNING] Using platform encoding (UTF-8 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory /infralabs/servers/wso2iot-3.0 > .0/samples/connectedcup/component/plugin/src/test/resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) > @ org.coffeeking.connectedcup.plugin --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-surefire-plugin:2.18:test (default-test) @ > org.coffeeking.connectedcup.plugin --- > [INFO] > [INFO] --- maven-bundle-plugin:1.4.0:bundle (default-bundle) @ > org.coffeeking.connectedcup.plugin --- > [WARNING] Warning building bundle org.coffeeking:org.coffeeking. > connectedcup.plugin:bundle:1.0.0 : Did not find matching referal for > javax.xml.bind.* > [WARNING] Warning building bundle org.coffeeking:org.coffeeking. > connectedcup.plugin:bundle:1.0.0 : Did not find matching referal for > javax.xml.bind.annotation.* > [WARNING] Warning building bundle org.coffeeking:org.coffeeking. > connectedcup.plugin:bundle:1.0.0 : Did not find matching referal for > javax.xml.parsers.* > [WARNING] Warning building bundle org.coffeeking:org.coffeeking. > connectedcup.plugin:bundle:1.0.0 : Did not find matching referal for > org.wso2.carbon.context.* > [WARNING] Warning building bundle org.coffeeking:org.coffeeking. > connectedcup.plugin:bundle:1.0.0 : Importing packages that are never > refered to by any class on the Bundle-Classpath[Jar:dot]: [javax.net, > javax.net.ssl, org.w3c.dom, org.wso2.carbon.ndatasource.core]. > > *[ERROR] Error building bundle > org.coffeeking:org.coffeeking.connectedcup.plugin:bundle:1.0.0 : Unresolved > references to [org.wso2.carbon.base] by class(es) on the > Bundle-Classpath[Jar:dot]: > [org/coffeeking/connectedcup/plugin/impl/ConnectedCupManagerService.class]* > *[ERROR] Error(s) found in bundle configuration* > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Reactor Summary: > [INFO] > [INFO] WSO2 IoTS(Device Types) - Connected Cup Component . SUCCESS [0.730s] > [INFO] WSO2 IoTS(Device Types) - Connected Cup Component . SUCCESS [0.036s] > [INFO] WSO2 IoTS(Device Types) - Connected Cup Analytics capp SUCCESS > [1.028s] > *[INFO] WSO2 IoTS(Device Types) - Connected Cup CDMF Plugin FAILURE > [3.423s]* > [INFO] WSO2 IoTS(Device Types) - Connected Cup API ....... SKIPPED > [INFO] WSO2 IoTS(Device Types) - Connected Cup Agent Web app SKIPPED > [INFO] WSO2 IoTS(Device Types) - Connected Cup UI ........ SKIPPED > [INFO] WSO2 IoTS(Device Types) - Connected Cup Feature Parent SKIPPED > [INFO] WSO2 IoTS(Device Types) - Connected Cup Feature ... SKIPPED > [INFO] Creating custom distribution ...................... SKIPPED > [INFO] ------------------------------------------------------------ > ------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------ > ------------ > [INFO] Total time: 5.766s > [INFO] Finished at: Mon Jan 30 12:15:17 IST 2017 > [INFO] Final Memory: 33M/297M > [INFO] ------------------------------------------------------------ > ------------ > *[ERROR] Failed to execute goal > org.apache.felix:maven-bundle-plugin:1.4.0:bundle (default-bundle) on > project org.coffeeking.connectedcup.pl > <http://org.coffeeking.connectedcup.pl>ugin: Error(s) found in bundle > configuration -> [Help 1]* > *[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/MojoExecutionException > <http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException>* > *[ERROR] * > *[ERROR] After correcting the problems, you can resume the build with the > command* > *[ERROR] mvn <goals> -rf :org.coffeeking.connectedcup.plugin* > > > > > > *please guide me .* > > *thank you* > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > > > > -- > *Menaka Jayawardena* > *Software Engineer - WSO2 Inc* > *Tel : 071 350 5470* > *LinkedIn: https://lk.linkedin.com/in/menakajayawardena > <https://lk.linkedin.com/in/menakajayawardena>* > *Blog: https://menakamadushanka.wordpress.com/ > <https://menakamadushanka.wordpress.com/>* > > > -- *Menaka Jayawardena* *Software Engineer - WSO2 Inc* *Tel : 071 350 5470* *LinkedIn: https://lk.linkedin.com/in/menakajayawardena <https://lk.linkedin.com/in/menakajayawardena>* *Blog: https://menakamadushanka.wordpress.com/ <https://menakamadushanka.wordpress.com/>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
