title: Import only one profile of library built with maven
body: <p>I have two profiles in my pom.xml. A default and another is used to build swagger client library. I import this library in my another maven project. The problem is that it uses all the dependencies from the first project, even those that are mentioned in default profile. What is the best way to solve the problem? Is it possible to put only one profile in pom file when generating jar? Or is it possible to choose a profile when importing a dependency?</p>