We have CI Jenkins jobs configured to build for various maven profiles. Each compiled library goes into Artifactory libs-release or libs-snapshots virtual repository depending on its version.
Now we have problems how to configure builds for "Jboss" and "Tomcat" maven profiles. Each of those two profiles will produce database libraries specific for each one (jboss or tomcat) with the exact same names. How to organize/configure environment to differ those libraries for each environment (jboss or tomcat)? To put it more simple... how to know for each profile which library/artifactory is the right one to use from remote repository from Artifactory?
Hope you understand the question :)