Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

Error: Could not find artifact in default local

I am trying to deploy the application to the opendaylight by following the wiki page: https://wiki.opendaylight.org/view/GettingStarted:Pulling,Hacking,andPushingAlltheCodefromthe_CLI

I successfully build the opendaylight-integration project and wrote one sample application (stated in my previous question https://ask.opendaylight.org/question/3651/error-on-installing-feature-to-odl-karaf-sr3-distribution/).

Now I am trying to install sample application to the ODL but I am getting following error: eature:install odl-task-provider

Error executing command: Can't install feature odl-task-provider/0.0.0:
Error resolving artifact com.example.yangapp:yang-demo-app-provider:xml:config:1.0-SNAPSHOT: Could not find artifact com.example.yangapp:yang-demo-app-provider:xml:config:1.0-SNAPSHOT in defaultlocal (file:/...../integration/distributions/karaf/target/assembly/system/)

Please let me know if I am missing something for the application deployment.

Error: Could not find artifact in default local

I am trying to deploy the application to the opendaylight by following the wiki page: https://wiki.opendaylight.org/view/GettingStarted:Pulling,Hacking,andPushingAlltheCodefromthe_CLI

I successfully build the opendaylight-integration project and wrote one sample application (stated in my previous question https://ask.opendaylight.org/question/3651/error-on-installing-feature-to-odl-karaf-sr3-distribution/).

Now I am trying to install sample application to the ODL but I am getting following error: eature:install odl-task-provider

opendaylight-user@root>feature:install odl-task-provider/1.0-SNAPSHOT
Error executing command: Can't install feature odl-task-provider/0.0.0:
Error resolving artifact com.example.yangapp:yang-demo-app-provider:xml:config:1.0-SNAPSHOT: Could not find artifact com.example.yangapp:yang-demo-app-provider:xml:config:1.0-SNAPSHOT in defaultlocal (file:/...../integration/distributions/karaf/target/assembly/system/)

Please let me know if I am missing something for the application deployment.

Error: Could not find artifact in default local

I am trying to deploy the application to the opendaylight by following the wiki page: https://wiki.opendaylight.org/view/GettingStarted:Pulling,Hacking,andPushingAlltheCodefromthe_CLI

I successfully build the opendaylight-integration project and wrote one sample application (stated in my previous question https://ask.opendaylight.org/question/3651/error-on-installing-feature-to-odl-karaf-sr3-distribution/).

Now I am trying to install sample application to the ODL but I am getting following error: eature:install odl-task-provider

opendaylight-user@root>feature:install odl-task-provider/1.0-SNAPSHOT
Error executing command: Can't install feature odl-task-provider/0.0.0:
Error resolving artifact com.example.yangapp:yang-demo-app-provider:xml:config:1.0-SNAPSHOT: Could not find artifact com.example.yangapp:yang-demo-app-provider:xml:config:1.0-SNAPSHOT in defaultlocal (file:/...../integration/distributions/karaf/target/assembly/system/)

Please let me know if I am missing something for the application deployment.

Update

I performed the following the changes in the integration project and build the source but still I am not able to include the sample feature to the ODL.

$ git diff
diff --git a/features/src/main/resources/features.xml b/features/src/main/resources/features.xml
index c0a0d1e..928500f 100644
--- a/features/src/main/resources/features.xml
+++ b/features/src/main/resources/features.xml
@@ -78,6 +78,7 @@
     <repository>mvn:org.opendaylight.tcpmd5/features-tcpmd5/${feature.tcpmd5.version}/xml/features</repository>
     <repository>mvn:org.opendaylight.ttp/features-ttp/${feature.ttp.version}/xml/features</repository>
     <repository>mvn:org.opendaylight.vtn/features-vtn-manager/${feature.vtn-manager.version}/xml/features</repository>
+    <repository>mvn:com.example.yangapp/features-yang-demo-app/1.0-SNAPSHOT/xml/features</repository>

     <!-- Please use alphabetical order to add a compbatible with all feature -->
     <feature name='odl-integration-compatible-with-all' version='${project.version}'>
@@ -107,6 +108,7 @@
         <feature version='${feature.ttp.version}'>odl-ttp-all</feature>
         <feature version='0.1.3-Helium'>odl-snmp4sdn-all</feature>
         <feature version='${feature.tcpmd5.version}'>odl-tcpmd5-all</feature>
+       <feature version='1.0-SNAPSHOT'>odl-task</feature>
     </feature>

     <!-- Please use aphabetical order for non-compatible features -->

Please let me know If I am missing anything.

Error: Could not find artifact in default local

I am trying to deploy the application to the opendaylight by following the wiki page: https://wiki.opendaylight.org/view/GettingStarted:Pulling,Hacking,andPushingAlltheCodefromthe_CLI

I successfully build the opendaylight-integration project and wrote one sample application (stated in my previous question https://ask.opendaylight.org/question/3651/error-on-installing-feature-to-odl-karaf-sr3-distribution/).

Now I am trying to install sample application to the ODL but I am getting following error: eature:install odl-task-provider

opendaylight-user@root>feature:install odl-task-provider/1.0-SNAPSHOT
Error executing command: Can't install feature odl-task-provider/0.0.0:
Error resolving artifact com.example.yangapp:yang-demo-app-provider:xml:config:1.0-SNAPSHOT: Could not find artifact com.example.yangapp:yang-demo-app-provider:xml:config:1.0-SNAPSHOT in defaultlocal (file:/...../integration/distributions/karaf/target/assembly/system/)

Please let me know if I am missing something for the application deployment.

Update

I performed the following the changes in the integration project and build the source but still I am not able to include the sample feature to the ODL.

$ git diff
diff --git a/features/src/main/resources/features.xml b/features/src/main/resources/features.xml
index c0a0d1e..928500f 100644
--- a/features/src/main/resources/features.xml
+++ b/features/src/main/resources/features.xml
@@ -78,6 +78,7 @@
     <repository>mvn:org.opendaylight.tcpmd5/features-tcpmd5/${feature.tcpmd5.version}/xml/features</repository>
     <repository>mvn:org.opendaylight.ttp/features-ttp/${feature.ttp.version}/xml/features</repository>
     <repository>mvn:org.opendaylight.vtn/features-vtn-manager/${feature.vtn-manager.version}/xml/features</repository>
+    <repository>mvn:com.example.yangapp/features-yang-demo-app/1.0-SNAPSHOT/xml/features</repository>

     <!-- Please use alphabetical order to add a compbatible with all feature -->
     <feature name='odl-integration-compatible-with-all' version='${project.version}'>
@@ -107,6 +108,7 @@
         <feature version='${feature.ttp.version}'>odl-ttp-all</feature>
         <feature version='0.1.3-Helium'>odl-snmp4sdn-all</feature>
         <feature version='${feature.tcpmd5.version}'>odl-tcpmd5-all</feature>
+       <feature version='1.0-SNAPSHOT'>odl-task</feature>
     </feature>

     <!-- Please use aphabetical order for non-compatible features -->

Please let me know If I am missing anything.

Error: Could not find artifact in default local

I am trying to deploy the application to the opendaylight by following the wiki page: https://wiki.opendaylight.org/view/GettingStarted:Pulling,Hacking,andPushingAlltheCodefromthe_CLI

I successfully build the opendaylight-integration project and wrote one sample application (stated in my previous question https://ask.opendaylight.org/question/3651/error-on-installing-feature-to-odl-karaf-sr3-distribution/).

Now I am trying to install sample application to the ODL but I am getting following error: eature:install odl-task-provider

opendaylight-user@root>feature:install odl-task-provider/1.0-SNAPSHOT
Error executing command: Can't install feature odl-task-provider/0.0.0:
Error resolving artifact com.example.yangapp:yang-demo-app-provider:xml:config:1.0-SNAPSHOT: Could not find artifact com.example.yangapp:yang-demo-app-provider:xml:config:1.0-SNAPSHOT in defaultlocal (file:/...../integration/distributions/karaf/target/assembly/system/)

Please let me know if I am missing something for the application deployment.

Update

I performed the following the changes in the integration project and build the source but still I am not able to include the sample feature to the ODL.

$ git diff
diff --git a/features/src/main/resources/features.xml b/features/src/main/resources/features.xml
index c0a0d1e..928500f 100644
--- a/features/src/main/resources/features.xml
+++ b/features/src/main/resources/features.xml
@@ -78,6 +78,7 @@
     <repository>mvn:org.opendaylight.tcpmd5/features-tcpmd5/${feature.tcpmd5.version}/xml/features</repository>
     <repository>mvn:org.opendaylight.ttp/features-ttp/${feature.ttp.version}/xml/features</repository>
     <repository>mvn:org.opendaylight.vtn/features-vtn-manager/${feature.vtn-manager.version}/xml/features</repository>
+    <repository>mvn:com.example.yangapp/features-yang-demo-app/1.0-SNAPSHOT/xml/features</repository>

     <!-- Please use alphabetical order to add a compbatible with all feature -->
     <feature name='odl-integration-compatible-with-all' version='${project.version}'>
@@ -107,6 +108,7 @@
         <feature version='${feature.ttp.version}'>odl-ttp-all</feature>
         <feature version='0.1.3-Helium'>odl-snmp4sdn-all</feature>
         <feature version='${feature.tcpmd5.version}'>odl-tcpmd5-all</feature>
+       <feature version='1.0-SNAPSHOT'>odl-task</feature>
     </feature>

     <!-- Please use aphabetical order for non-compatible features -->

Please let me know If I am missing anything.

update:

I copied the tar files to the system folder in the karaf, but I am still getting the same error.

$ cp features/target/features-yang-demo-app-1.0-SNAPSHOT.jar ~/.../integration/distributions/karaf/target/assembly/system/

opendaylight-user@root>repo-add mvn:com.example.yangapp/features-yang-demo-app/1.0-SNAPSHOT/xml/features
Adding feature url mvn:com.example.yangapp/features-yang-demo-app/1.0-SNAPSHOT/xml/features
Error executing command: Error resolving artifact com.example.yangapp:features-yang-demo-app:xml:features:1.0-SNAPSHOT: Could not find artifact com.example.yangapp:features-yang-demo-app:xml:features:1.0-SNAPSHOT in defaultlocal (file:/Users/../integration/distributions/karaf/target/assembly/system/)