Hi Kevin, Kevin Kingsbury wrote:
> Thanks for the reply Tobias. > > I will look at build profiles more and see if that will help. > > One additional question though. Is there any way to run both profiles > using a single maven command. What I was hoping to accomplish is to > run the 1.5 compile and then after that the 1.4 compile so both > versions of jar are created once the maven command has finished. The > way I understand it now, I would need to call the two build profiles > separately. In this case you do not use profiles, but configure for the compiler and jar plugin a second execution. The configuration for the second execution of the compiler plugin must use a different target directory and the second execution of the jar plugin must create an archive for that directory. An alternative is to use a separate project for the 1.4 version. Simply create an attached source jar when creating the 1.5 version and extract and compile this sources in the 1.4 project. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
