[CONTROLLER-1149] Missing dependencies for features-netconf Created: 11/Feb/15  Updated: 11/Feb/15  Resolved: 11/Feb/15

Status: Resolved
Project: controller
Component/s: netconf
Affects Version/s: Post-Helium
Fix Version/s: None

Type: Bug
Reporter: Hideyuki Tai Assignee: Hideyuki Tai
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 2701

 Description   

The pom.xml of features-netconf misses some dependencies.

It seems to me that it caused the build failure of VTN project.
https://jenkins.opendaylight.org/releng/job/vtn-integration-master/33/

Also, I failed to build the features-netconf as follows:

cent56 $ rm -rf ~/.m2/repository/org/opendaylight/controller/
cent56 $ mvn clean install

(snip)

Tests in error:
Error resolving artifact org.opendaylight.controller:ietf-netconf:jar:0.3.0-SNAPSHOT: Could not find artifact org.opendaylight.controller:ietf-netconf:jar:0.3.0-SNAPSHOT in defaultlocal (file:/home/hideyuki/.m2/repository/)
Error resolving artifact org.opendaylight.controller:ietf-netconf:jar:0.3.0-SNAPSHOT: Could not find artifact org.opendaylight.controller:ietf-netconf:jar:0.3.0-SNAPSHOT in defaultlocal (file:/home/hideyuki/.m2/repository/)
Error resolving artifact org.opendaylight.controller:ietf-netconf:jar:0.3.0-SNAPSHOT: Could not find artifact org.opendaylight.controller:ietf-netconf:jar:0.3.0-SNAPSHOT in defaultlocal (file:/home/hideyuki/.m2/repository/)

Tests run: 3, Failures: 0, Errors: 3, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] features-config .................................... SUCCESS [01:39 min]
[INFO] features-protocol-framework ........................ SUCCESS [ 24.791 s]
[INFO] features-netconf ................................... SUCCESS [ 0.718 s]
[INFO] features-config-persister .......................... FAILURE [ 58.925 s]

I think the following patch brings this issue.
https://git.opendaylight.org/gerrit/#/c/14921/

This patch added new bundles into some feature as dependencies.
https://git.opendaylight.org/gerrit/#/c/14921/5/features/netconf/src/main/resources/features.xml
However, this patch missed adding dependencies into pom.xml of the directory features/netconf of the controller.git.



 Comments   
Comment by Hideyuki Tai [ 11/Feb/15 ]

I've submitted a patch for the master branch of the controller.git.
https://git.opendaylight.org/gerrit/#/c/15124/

Generated at Wed Feb 07 19:54:48 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.