Unable to resolve artifact from nexus during RTC build.
We have one of our module as "libs". Earlier we used to keep all jars in libs module. Same way during RTC migration we have created module as "libs" and kept all jars in it. In pom.xml of libs module we have done entry for each jar as '<module>jar</module>'. We have all other modules dependent on libs as we have stored all required jars here. We have successfully built and deployed all jars on nexus through libs module. We are trying to build 2nd module which is dependent on libs for jars. In this RTC build we are facing two issues, 1. In logs of 2nd module rtc build sometimes jars are getting downloaded from libs module and resolving its relevant contents but sometimes even after it download it from libs module, it is not able to resolve its contents for instance, A.class is inside jar "ABC.jar" but its giving error as "class A cant find symbol" even though ABC.jar is downloaded properly from libs. 2. When we check our uploaded jars on nexus we are not able to see any class files inside jar folder. we get only META-INF folder nothing else. |
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Is this RTC build handing off to Build Forge? If so, does the same command run from the command line?
yeah...
If we try to run same locally on command prompt it works well.