• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven Profile Usage

 
Joe Harry
Ranch Hand
Posts: 10111
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

I have a doubt on using Maven profiles for my application. Can I use profiles to compile using different versions of JDK? Say for example, I have a profile which compiles against JDK 1.4 and the other one with JDK 1.5. I guess this should be possible? Isn't it?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it's possible. This doc has the details http://maven.apache.org/guides/introduction/introduction-to-profiles.html
 
Joe Harry
Ranch Hand
Posts: 10111
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the link!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic