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: [email protected]
Cc: Gary Wu <[email protected]>; Andrew Grimberg 
<[email protected]>
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


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

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
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to