Hello World Project
Hi, while trying to add dlux feature to my Hello word Project , I am getting this error.
Please help.
opendaylight-user@root>feature:install odl-dlux-all Error executing command: No feature matching odl-dlux-all/0.0.0
Hi, while trying to add dlux feature to my Hello word Project , I am getting this error.
Please help.
opendaylight-user@root>feature:install odl-dlux-all Error executing command: No feature matching odl-dlux-all/0.0.0
Hi ,
Updated :
I tried , and i checked the features/pom.xml and , features.xml . they have already mentioned the dependency of dlux project. After launching karaf i simply installed dlux. its working.
opendaylight-user@root>feature:install odl-dlux-all
I attached my pom and features.xml files C:\fakepath\pom.png. have a look. (After download both the files C:\fakepath\features.png Plz change the extension from .png to xml) right click ->save link as -> Download and change extention and see (Its not allowing me to upload xml file)
Hey, I want to add dlux feature in the Hello world project. I followed the exact same steps but its not working for me. The error is : Bad artifact coordinates org.opendaylight.dlux:features-dlux:, expected format is <groupid>:<artifactid>[:<extension>[:<classifier>]]:<version>
ahuja ( 2016-07-06 13:31:19 -0800 )editThere is a simple mistake in <dependency> starting tag. I missed ">" symbol . It may be the reason.try this
karthik330 ( 2016-07-07 00:19:20 -0800 )edithttps://github.com/opendaylight/integration-distribution Mirror of ODL where whole bundles present.
karthik330 ( 2016-07-07 07:30:44 -0800 )editThanks Karthik it worked I removed the ~/.m2/repository, rebuilt and it worked. Your message "Plz make sure that mentioned version of dlux is available at m2/repository/org/opendaylight/dlux/features-dlux" was helpful. The version I was trying to download was not there in the features-dlux location
ahuja ( 2016-07-11 13:35:03 -0800 )editI was able to build the project successfully after these changes,
<dependency> <groupId>org.opendaylight.dlux</groupId> <artifactId>features-dlux</artifactId> <classifier>features</classifier> <version>${dlux.version}</version> <type>xml</type> <scope>runtime</scope> </dependency>
<repository>mvn:org.opendaylight.dlux/features-dlux/${dlux.version}/xml/features</repository>
My odl-hello-ui in features.xml looks like:
<feature name='odl-hello-ui' version='${project.version}' description='OpenDaylight :: hello :: UI'>
<feature version="${project.version}">odl-hello-rest</feature>
<feature version="${mdsal.version}">odl-mdsal-apidocs</feature>
<feature version="${mdsal.version}">odl-mdsal-xsql</feature>
<feature version="${dlux.version}">odl-dlux-yangui</feature>
</feature>
However, nothing worked after that.
Output:
> opendaylight-user@root>log:display
> Command not found: log:display
> opendaylight-user@root>
> opendaylight-user@root>feature:list |
> grep hello odl-hello-api
> | 1.0-SNAPSHOT | |
> odl-hello-1.0-SNAPSHOT |
> OpenDaylight :: hello :: api
> odl-hello |
> 1.0-SNAPSHOT | | odl-hello-1.0-SNAPSHOT |
> OpenDaylight :: hello
> odl-hello-rest |
> 1.0-SNAPSHOT | | odl-hello-1.0-SNAPSHOT |
> OpenDaylight :: hello :: REST
> odl-hello-ui |
> 1.0-SNAPSHOT | | odl-hello-1.0-SNAPSHOT |
> OpenDaylight :: hello :: UI
> opendaylight-user@root>
>
opendaylight-user@root>feature:install
> odl-hello-api Error executing command:
> Error resolving artifact
> org.opendaylight.yangtools:features-yangtools:xml:features:1.0.0-SNAPSHOT:
> Could not find artifact
> org.opendaylight.yangtools:features-yangtools:xml:features:1.0.0-SNAPSHOT in defaultlocal
> (file:/opt/testing/project/test/hello/karaf/target/assembly/system/)
> opendaylight-user@root>
Hi ahuja, its already available in the features/pom.xml, check it out ; Im sorry just now looked! Let me know if it is working
karthik330 ( 2016-07-07 07:52:33 -0800 )edit@ahuja I tried , after launching karaf all the hello features are installed at the boot time itself (in your case its not installed) , and odl-dlux-all is available and i am able to install it!. You build your project again and try
karthik330 ( 2016-07-10 23:59:37 -0800 )editPlz make sure that mentioned version of dlux is available at .m2/repository/org/opendaylight/dlux/features-dlux ; it has to work for you when it is working (odl-dlux-all)!. Plz let me know
karthik330 ( 2016-07-11 06:38:07 -0800 )editThis thread is public, all members of ask.opendaylight.org can read this page.
Asked: 2016-07-05 10:25:22 -0800
Seen: 298 times
Last updated: Jul 11 '16
Ping OpenStack Instance after Restart PC
ODL-Lithium-SR2: cannot login to DLUX UI on a remote server
Opendaylight flow rules not installing in br-int switch
Switches are not connected in the topology page of DLUX UI
Unable to login Dlux web interface-Helium Release
© 2014 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a trademark of The OpenDaylight Project, Inc.
Linux Foundation is a registered trademark of The Linux Foundation.
Linux is a registered trademark of Linus Torvalds.
Please see our brand guidelines, trademark guidelines, terms of service and privacy policy.