Dear Xin, It seems, that some dependency is missing in the mvn repository. In fact, as I saw in the nexus (i.e. https://nexus.onap.org/#nexus-search;quick~logging), 1.6.9-SNAPSHOT wasn't present. Nexus Repository Manager<https://nexus.onap.org/#nexus-search;quick~logging> Nexus Repository Manager 2.14.19-01 License expires in 84 days. Renew Now.. Loading Nexus UI... nexus.onap.org
Instead of that there were 1.6.10. So, most convenient for you will be manually change versions of the libs in your pom. Hope this help. Best wishes, Krzysztof ________________________________ From: [email protected] <[email protected]> on behalf of [email protected] via lists.onap.org <[email protected]> Sent: Monday, June 7, 2021 11:02 PM To: [email protected] <[email protected]> Cc: Seshu m <[email protected]> Subject: [onap-discuss] [onap-so][onap-discussion] Hi, Team/Seshu, I found the following error while trying to build so-admin-cockpit in Honolulu branch. Did I miss anything? ubuntu@onap-worker-vm-3:~/onap/so-admin-cockpit$ mvn clean install WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] SO Admin Cockpit [pom] [INFO] SO Admin Cockpit Monitoring Workflow [pom] [INFO] SO Admin Cockpit Monitoring Workflow UI [jar] [INFO] SO Admin Cockpit Monitoring Workflow Handler [jar] [INFO] SO Admin Cockpit Monitoring Workflow Service [jar] [INFO] SO Admin Cockpit Packages [pom] [INFO] [INFO] -----------< org.onap.so.so-admin-cockpit:so-admin-cockpit >------------ [INFO] Building SO Admin Cockpit 1.7.1-SNAPSHOT [1/6] [INFO] --------------------------------[ pom ]--------------------------------- [WARNING] The POM for org.onap.logging-analytics:logging-slf4j:jar:1.6.9-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.onap.logging-analytics:logging-filter-base:jar:1.6.9-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.onap.logging-analytics:logging-filter-spring:jar:1.6.9-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for SO Admin Cockpit 1.7.1-SNAPSHOT: [INFO] [INFO] SO Admin Cockpit ................................... FAILURE [ 0.367 s] [INFO] SO Admin Cockpit Monitoring Workflow ............... SKIPPED [INFO] SO Admin Cockpit Monitoring Workflow UI ............ SKIPPED [INFO] SO Admin Cockpit Monitoring Workflow Handler ....... SKIPPED [INFO] SO Admin Cockpit Monitoring Workflow Service ....... SKIPPED [INFO] SO Admin Cockpit Packages .......................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.742 s [INFO] Finished at: 2021-06-07T20:53:28Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project so-admin-cockpit: Could not resolve dependencies for project org.onap.so.so-admin-cockpit:so-admin-cockpit:pom:1.7.1-SNAPSHOT: The following artifacts could not be resolved: org.onap.logging-analytics:logging-slf4j:jar:1.6.9-SNAPSHOT, org.onap.logging-analytics:logging-filter-base:jar:1.6.9-SNAPSHOT, org.onap.logging-analytics:logging-filter-spring:jar:1.6.9-SNAPSHOT: Failure to find org.onap.logging-analytics:logging-slf4j:jar:1.6.9-SNAPSHOT in https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced -> [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/DependencyResolutionException ubuntu@onap-worker-vm-3:~/onap/so-admin-cockpit$ Thanks, Xin Miao Solution Engineering Fujitsu Network Communication (W)972-479-2263 (M)469-268-5226 2811 Telecom Drive Richardson, TX 75081, USA -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#23300): https://lists.onap.org/g/onap-discuss/message/23300 Mute This Topic: https://lists.onap.org/mt/83381460/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
