dependencies included in profiles activated based on jdk or os is a "bad thing"
the dependencies will be pulled in based on the _system doing the build_ not on the _target system_ better is to produce two separate projects which add the required dependencies 2010/1/27 <roberto.cal...@embraer.com.br> > I am using profiles to build a jar with different dependencies - sometimes > I have to use a dependency for linux64 and sometimes for win32. I have > another project that adds this project as dependency and I'm not able to > somehow "propagate" this profile utilization to this other project, that > is, when I try to make "mvn install -Plinux64" I always get a MANIFEST > with the win32 dependency - the active by default. So my question is, if > I have a project whose its dependency has multiple profiles, how do I > activate them when trying to install this project? > > I'm using Maven 2.0.9. > > Sorry for my bad English, please tell me if I was not clear. > Thank you. > > Roberto > This message is intended solely for the use of its addressee and may > contain privileged or confidential information. All information contained > herein shall be treated as confidential and shall not be disclosed to any > third party without Embraer?s prior written approval. If you are not the > addressee you should not distribute, copy or file this message. In this > case, please notify the sender and destroy its contents immediately. > Esta mensagem é para uso exclusivo de seu destinatário e pode conter > informações privilegiadas e confidenciais. Todas as informações aqui > contidas devem ser tratadas como confidenciais e não devem ser divulgadas > a terceiros sem o prévio consentimento por escrito da Embraer. Se você não > é o destinatário não deve distribuir, copiar ou arquivar a mensagem. Neste > caso, por favor, notifique o remetente da mesma e destrua imediatamente a > mensagem.
