Hi Atul and Pam, oparent:version-check-maven-plugin was a work-in-process artifact that has since been replaced; you should not make direct references to that artifact in your own pom.xml.
If your build is still trying to use it, you may need to clear your local ~/.m2 cache of oparent like so: rm -rf ~/.m2/repository/org/onap/oparent/ An alternative is to upgrade your oparent dependency to the latest release version 0.1.1 when it is convenient for you. Generally speaking, inheriting from oparent should not require you to add any additional “workaround” dependencies just to solve build issues. If you find this to be the case, please let us know so that we can fix oparent itself instead of having to have each team do their own workarounds. Also apologies for any disruptions caused by SNAPSHOT changes in oparent; this is exactly the type of issue that the move to Independent Versioning and Release is trying to solve. Thanks, Gary From: onap-discuss-boun...@lists.onap.org [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of DRAGOSH, PAMELA L (PAM) Sent: Friday, September 08, 2017 5:34 AM To: Atul Shegokar <as00500...@techmahindra.com>; onap-discuss@lists.onap.org Cc: Sanchita Pathak <sanch...@techmahindra.com>; Swapnil Pathak1 <sp00494...@techmahindra.com> Subject: Re: [onap-discuss] Regarding pom.xml in drools-pdp component. Atul, That plugin does exist in the nexus repository. We don’t have any problems compiling to it both in Jenkins and locally. Sometimes the LF nexus repositories become unavailable resulting in errors such as below. We will upgrade the pom’s to the release version of oparent when the time is right. It has been proven to be disruptive to the development team anytime something changes in oparent. Perhaps a full clean and rebuild would help. You could also copy the settings.xml file from oparent to your local repo to see if that helps. Regards, Pam From: <onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org>> on behalf of Atul Shegokar <as00500...@techmahindra.com<mailto:as00500...@techmahindra.com>> Date: Friday, September 8, 2017 at 5:14 AM To: "onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>" <onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> Cc: Sanchita Pathak <sanch...@techmahindra.com<mailto:sanch...@techmahindra.com>>, Swapnil Pathak1 <sp00494...@techmahindra.com<mailto:sp00494...@techmahindra.com>> Subject: [onap-discuss] Regarding pom.xml in drools-pdp component. Hi Team, During build of drools-pdp component, I faced an exception related to version of (as below). However, when I added <version>1.1.0<version> tag , the build was successful. Please do let me know if anybody faced same issue. Also do this finding is valid one, if yes, this change can be requested for its review and commit. [INFO] ------------------------------------------------------------------------ [INFO] Building Policy Engine - Drools PDP 1.1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Policy Engine - Drools PDP ......................... FAILURE [ 0.084 s] [INFO] policy-utils ....................................... SKIPPED [INFO] policy-core ........................................ SKIPPED [INFO] policy-endpoints ................................... SKIPPED [INFO] policy-management .................................. SKIPPED [INFO] feature-healthcheck ................................ SKIPPED [INFO] feature-eelf ....................................... SKIPPED [INFO] feature-session-persistence ........................ SKIPPED [INFO] feature-test-transaction ........................... SKIPPED [INFO] Policy Packages .................................... SKIPPED [INFO] Base Package ....................................... SKIPPED [INFO] Installation Package ............................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.839 s [INFO] Finished at: 2017-09-08T10:40:58+05:30 [INFO] Final Memory: 12M/67M [INFO] ------------------------------------------------------------------------ [ERROR] Error resolving version for plugin 'org.onap.oparent:version-check-maven-plugin' from the repositories [local (/home/swapnil/.m2/repository), central (https://repo.maven.apache.org/maven2<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.google.com_url-3Fq-3Dhttps-253A-252F-252Frepo.maven.apache.org-252Fmaven2-26sa-3DD-26sntz-3D1-26usg-3DAFQjCNG786PHUBLGCLqXZ1oT6ueQASkmYg&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=jwTiArcEj6aUX0HjV0M3dT12gUtk7rC07xpgpVZkS_4&m=bn9QZY60CeC0pPqMl-n8rJXUneZsPDThCCph_ML1Nq8&s=FwuJwvO5SizwCpK8-lPgGV_HcHxIdfoF3fMH5y9lHwo&e=>)]: Plugin not found in any plugin repository -> [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] [September 8, 2017 at 2:31:57 PM UTC+5:30] Swapnil Pathak (swapnil.r.pat...@gmail.com<mailto:swapnil.r.pat...@gmail.com>): [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/PluginVersionResolutionException<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.google.com_url-3Fq-3Dhttp-253A-252F-252Fcwiki.apache.org-252Fconfluence-252Fdisplay-252FMAVEN-252FPluginVersionResolutionException-26sa-3DD-26sntz-3D1-26usg-3DAFQjCNE6yrqK8tFwNfvdH4m-2Dmbm05sNYbA&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=jwTiArcEj6aUX0HjV0M3dT12gUtk7rC07xpgpVZkS_4&m=bn9QZY60CeC0pPqMl-n8rJXUneZsPDThCCph_ML1Nq8&s=BFIqp6oAL8zmnMalu6eFkWYm3Z61MDBUXRiIGx7pDjk&e=> AFTER MAKING CHANGE IN pom.xml file [INFO] Reactor Summary: [INFO] [INFO] Policy Engine - Drools PDP ......................... SUCCESS [ 4.386 s] [INFO] policy-utils ....................................... SUCCESS [ 18.100 s] [INFO] policy-core ........................................ SUCCESS [ 2.224 s] [INFO] policy-endpoints ................................... SUCCESS [ 14.413 s] [INFO] policy-management .................................. SUCCESS [ 16.651 s] [INFO] feature-healthcheck ................................ SUCCESS [ 1.180 s] [INFO] feature-eelf ....................................... SUCCESS [ 4.910 s] [INFO] feature-session-persistence ........................ SUCCESS [ 16.402 s] [INFO] feature-test-transaction ........................... SUCCESS [ 6.087 s] [INFO] Policy Packages .................................... SUCCESS [ 0.526 s] [INFO] Base Package ....................................... SUCCESS [ 1.551 s] [INFO] Installation Package ............................... SUCCESS [ 4.562 s] [INFO]------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:32 min [INFO] Finished at: 2017-09-08T10:44:14+05:30 [INFO] Final Memory: 70M/167M [INFO] Change done in pom.xml - [version tag added] <plugin> <groupId>org.onap.oparent</groupId> <artifactId>version-check-maven-plugin</artifactId> <version>1.1.0</version> <executions> <execution> <id>version-check</id> <phase/> </execution> </executions> </plugin> Thanks & Regards, Atul Shegokar| NS-CDU-COE | Tech Mahindra Sharda Centre, Off Karve Road, Erandwane, Pune 411 004, INDIA Mobile: +91 9860799468, ext : Email Id – as00500...@techmahindra.com<mailto:as00500...@techmahindra.com> [id:image002.jpg@01D271AC.E55C49F0]<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.techmahindra.com_&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=jwTiArcEj6aUX0HjV0M3dT12gUtk7rC07xpgpVZkS_4&m=bn9QZY60CeC0pPqMl-n8rJXUneZsPDThCCph_ML1Nq8&s=X1ZZ54lHMZncw0gzV1Mw7zlfSaYbBHYhM1CkG_Pefwo&e=> ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.techmahindra.com_Disclaimer.html&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=jwTiArcEj6aUX0HjV0M3dT12gUtk7rC07xpgpVZkS_4&m=bn9QZY60CeC0pPqMl-n8rJXUneZsPDThCCph_ML1Nq8&s=MdjYt2jovwMPTfoiE7HdAbKlh8PcpkGUwzWHK7pk9a0&e=> externally http://tim.techmahindra.com/tim/disclaimer.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__tim.techmahindra.com_tim_disclaimer.html&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=jwTiArcEj6aUX0HjV0M3dT12gUtk7rC07xpgpVZkS_4&m=bn9QZY60CeC0pPqMl-n8rJXUneZsPDThCCph_ML1Nq8&s=szLoZaSpBGanvYAhchJ4XFQZdltApA6oPYUawdQ9urg&e=> internally within TechMahindra. ============================================================================================================================
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss