Hi Skip, I've changed the enforcer checks to just warnings now, and your job has completed successfully.
Thanks, Gary From: WONNELL, SKIP [mailto:kw5...@att.com] Sent: Wednesday, August 30, 2017 12:22 PM To: Gary Wu <gary.i...@huawei.com> Subject: RE: [onap-discuss] [integration][vnfsdk] Daily build failing due to some banned dependencies. Hi Gary, We continue to see a similar issue in the APPC daily release build: https://jenkins.onap.org/job/appc-master-release-version-java-daily/189/ 13:45:58 [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-no-snapshots) @ appc-common --- 13:45:58 [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireReleaseDeps failed with message: 13:45:58 Found Banned Dependency: org.openecomp.sdnc.core:dblib-provider:jar:1.1.2-SNAPSHOT 13:45:58 Use 'mvn dependency:tree' to locate the source of the banned dependencies. 13:45:58 [INFO] 13:45:58 [INFO] ------------------------------------------------------------------------ 13:45:58 [INFO] Skipping APP-C 13:45:58 [INFO] This project has been banned from the build due to previous failures. 13:45:58 [INFO] ------------------------------------------------------------------------ I'm sure we've overlooked something, but your help would be appreciated. Thanks, Skip Wonnell From: onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> [mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Gary Wu Sent: Wednesday, August 30, 2017 1:30 PM To: Murali p <mural...@huawei.com<mailto:mural...@huawei.com>>; onap-helpd...@rt.linuxfoundation.org<mailto:onap-helpd...@rt.linuxfoundation.org> Cc: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> Subject: Re: [onap-discuss] [integration][vnfsdk] Daily build failing due to some banned dependencies. Hi Murali, In order to support Independent Versioning and Release, O-Parent is in active development to add enforcement checks against SNAPSHOT dependencies; this had temporarily caused any SNAPSHOT dependencies to fail for staging or release builds. For the time being I'm relaxing the enforcement checks in oparent 1.0.0-SNAPSHOT until the process is fully rolled out. I've re-triggered your job and it has completed successfully now. Thanks, Gary From: Murali p Sent: Wednesday, August 30, 2017 6:44 AM To: onap-helpd...@rt.linuxfoundation.org<mailto:onap-helpd...@rt.linuxfoundation.org> Cc: Gary Wu <gary.i...@huawei.com<mailto:gary.i...@huawei.com>>; Andrew Grimberg <agrimb...@linuxfoundation.org<mailto:agrimb...@linuxfoundation.org>> Subject: [vnfsdk] Daily build failing due to some banned dependencies. Dear All, The build failed due to some banned dependency. How to find the banned dependency ? Please help. https://jenkins.onap.org/view/vnfsdk/job/vnfsdk-refrepo-master-release-version-java-daily/lastBuild/console<https://urldefense.proofpoint.com/v2/url?u=https-3A__jenkins.onap.org_view_vnfsdk_job_vnfsdk-2Drefrepo-2Dmaster-2Drelease-2Dversion-2Djava-2Ddaily_lastBuild_console&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=T2g18byrjQaNP_c0GkWdpA&m=32tws48xMGv3Bff5cmBzpfk7aWJHbIS8vP-x8Bvg3zw&s=qP1wF9MkguxZn0gSDoy2HE66NqF_OsUTVrJWBr2Jf3U&e=> 11:24:23 [INFO] 11:24:23 [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-no-snapshots) @ vnfmarket --- 11:24:23 [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireReleaseDeps failed with message: 11:24:23 Found Banned Dependency: org.onap.oparent:version-check-maven-plugin:jar:1.0.0-SNAPSHOT 11:24:23 Use 'mvn dependency:tree' to locate the source of the banned dependencies. 11:24:23 [INFO] 11:24:23 [INFO] ------------------------------------------------------------------------ 11:24:23 [INFO] Skipping vnfmarket 11:24:23 [INFO] This project has been banned from the build due to previous failures. 11:24:23 [INFO] ------------------------------------------------------------------------ 11:24:23 [INFO] ------------------------------------------------------------------------ 11:24:23 [INFO] Reactor Summary: 11:24:23 [INFO] 11:24:23 [INFO] vnf-sdk-marketplace-core-parent .................... SUCCESS [ 46.824 s] 11:24:23 [INFO] vnf-sdk-marketplace/vnf-sdk-marketplace ............ SUCCESS [03:24 min] 11:24:23 [INFO] vnf-sdk-marketplace/deployment ..................... SUCCESS [ 15.679 s] 11:24:23 [INFO] vnfmarket/deployment ............................... SUCCESS [ 0.524 s] 11:24:23 [INFO] vnfmarket/deployment/docker ........................ SUCCESS [ 16.403 s] 11:24:23 [INFO] vnfmarket .......................................... FAILURE [ 0.014 s] 11:24:23 [INFO] ------------------------------------------------------------------------ 11:24:23 [INFO] BUILD FAILURE 11:24:23 [INFO] ------------------------------------------------------------------------ 11:24:23 [INFO] Total time: 04:54 min 11:24:23 [INFO] Finished at: 2017-08-30T11:24:23+00:00 11:24:23 [INFO] Final Memory: 63M/406M 11:24:23 [INFO] ------------------------------------------------------------------------ 11:24:23 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce (enforce-no-snapshots) on project vnfmarket: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1] 11:24:23 [ERROR] 11:24:23 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 11:24:23 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 11:24:23 [ERROR] 11:24:23 [ERROR] For more information about the errors and possible solutions, please read the following articles: 11:24:23 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException<https://urldefense.proofpoint.com/v2/url?u=http-3A__cwiki.apache.org_confluence_display_MAVEN_MojoExecutionException&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=T2g18byrjQaNP_c0GkWdpA&m=32tws48xMGv3Bff5cmBzpfk7aWJHbIS8vP-x8Bvg3zw&s=ffXQffNyc6yFOCs4m1jRSrRXJGbY7XUjJNIlFbqBNc8&e=> 11:24:23 [ERROR] 11:24:23 [ERROR] After correcting the problems, you can resume the build with the command 11:24:23 [ERROR] mvn <goals> -rf :vnfmarket 11:24:23 Build step 'Invoke top-level Maven targets' marked build as failure 11:24:23 $ ssh-agent -k 11:24:23 unset SSH_AUTH_SOCK; 11:24:23 unset SSH_AGENT_PID; 11:24:23 echo Agent pid 1883 killed; 11:24:23 [ssh-agent] Stopped. 11:24:23 [PostBuildScript] - Execution post build scripts. Thanks, Murali
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss