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://www.google.com/url?q=https%3A%2F%2Frepo.maven.apache.org%2Fmaven2&sa=D&sntz=1&usg=AFQjCNG786PHUBLGCLqXZ1oT6ueQASkmYg>)]:
 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<http://www.google.com/url?q=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FPluginVersionResolutionException&sa=D&sntz=1&usg=AFQjCNE6yrqK8tFwNfvdH4m-mbm05sNYbA>


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>



[cid:image002.jpg@01D271AC.E55C49F0]<http://www.techmahindra.com/>






============================================================================================================================

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 
<http://www.techmahindra.com/Disclaimer.html> externally 
http://tim.techmahindra.com/tim/disclaimer.html 
<http://tim.techmahindra.com/tim/disclaimer.html> internally within 
TechMahindra.

============================================================================================================================
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to