[CONTROLLER-1423] config-parent used Lithium version of yang-maven-plugin. Created: 16/Sep/15  Updated: 19/Oct/17  Resolved: 22/Sep/15

Status: Resolved
Project: controller
Component/s: config
Affects Version/s: Beryllium
Fix Version/s: None

Type: Bug
Reporter: Hideyuki Tai Assignee: Unassigned
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: 4317

 Description   

The pom.xml of config-parent doesn't specify version for the yang-maven-plugin.
In the result, Maven downloads the latest release version, 0.7.1-Lithium-SR1 version of yang-maven-plugin, when I build the config-parent on the master branch of the controller project (the branch for Beryllium release).



 Comments   
Comment by Hideyuki Tai [ 16/Sep/15 ]

When I executed "mvn clean install" on the "opendaylight/config/config-parent" directory on the master branch of the controller.git, I observed that Maven downloaded the 0.7.1-Lithium-SR1 version of yang-maven-plugin.

/work/controller
cent62 $ cd opendaylight/config/config-parent
/work/controller/opendaylight/config/config-parent
cent62 $ git log --oneline | head -1
16263ee CONTROLLER-1400: Remove EntityOwnershipCandidate
/work/controller/opendaylight/config/config-parent
cent62 $ mvn clean install
[INFO] Scanning for projects...
Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/yangtools/binding-parent/0.8.0-SNAPSHOT/maven-metadata.xml

(snip)

[INFO] ------------------------------------------------------------------------
[INFO] Building config-parent 0.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/yangtools/yang-maven-plugin/maven-metadata.xml
Downloading: http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/yangtools/yang-maven-plugin/maven-metadata.xml
Downloading: https://repo.maven.apache.org/maven2/org/opendaylight/yangtools/yang-maven-plugin/maven-metadata.xml
Downloaded: http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/yangtools/yang-maven-plugin/maven-metadata.xml (965 B at 7.7 KB/sec)
Downloaded: http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/yangtools/yang-maven-plugin/maven-metadata.xml (878 B at 4.7 KB/sec)
Downloading: http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/yangtools/yang-maven-plugin/0.7.1-Lithium-SR1/yang-maven-plugin-0.7.1-Lithium-SR1.pom
[WARNING] Could not validate integrity of download from http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/yangtools/yang-maven-plugin/0.7.1-Lithium-SR1/yang-maven-plugin-0.7.1-Lithium-SR1.pom: Checksum validation failed, no checksums available
[WARNING] Checksum validation failed, no checksums available for http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/yangtools/yang-maven-plugin/0.7.1-Lithium-SR1/yang-maven-plugin-0.7.1-Lithium-SR1.pom
Downloaded: http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/yangtools/yang-maven-plugin/0.7.1-Lithium-SR1/yang-maven-plugin-0.7.1-Lithium-SR1.pom (5 KB at 21.8 KB/sec)
Downloading: http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/yangtools/yangtools-parent/0.7.1-Lithium-SR1/yangtools-parent-0.7.1-Lithium-SR1.pom
[WARNING] Could not validate integrity of download from http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/yangtools/yangtools-parent/0.7.1-Lithium-SR1/yangtools-parent-0.7.1-Lithium-SR1.pom: Checksum validation failed, no checksums available
[WARNING] Checksum validation failed, no checksums available for http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/yangtools/yangtools-parent/0.7.1-Lithium-SR1/yangtools-parent-0.7.1-Lithium-SR1.pom
Downloaded: http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/yangtools/yangtools-parent/0.7.1-Lithium-SR1/yangtools-parent-0.7.1-Lithium-SR1.pom (25 KB at 70.4 KB/sec)
Downloading: http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/odlparent/odlparent/1.5.1-Lithium-SR1/odlparent-1.5.1-Lithium-SR1.pom
[WARNING] Could not validate integrity of download from http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/odlparent/odlparent/1.5.1-Lithium-SR1/odlparent-1.5.1-Lithium-SR1.pom: Checksum validation failed, no checksums available
[WARNING] Checksum validation failed, no checksums available for http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/odlparent/odlparent/1.5.1-Lithium-SR1/odlparent-1.5.1-Lithium-SR1.pom
Downloaded: http://nexus.opendaylight.org/content/repositories/public/org/opendaylight/odlparent/odlparent/1.5.1-Lithium-SR1/odlparent-1.5.1-Lithium-SR1.pom (44 KB at 104.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/opendaylight/yangtools/yangtools-artifacts/0.7.1-Lithium-SR1/yangtools-artifacts-0.7.1-Lithium-SR1.pom

Comment by Hideyuki Tai [ 16/Sep/15 ]

I've submitted the patch for the issue to the controller project.

https://git.opendaylight.org/gerrit/#/c/27013/

Comment by Hideyuki Tai [ 16/Sep/15 ]

Due to this issue, Maven downloads 0.7.1-Lithium-SR1 version of yang-maven-plugin on builds of the NIC project for Beryllium development.

https://jenkins.opendaylight.org/releng/view/nic/job/nic-daily-beryllium/226/org.opendaylight.nic$intentengine-compiler/console

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