Maven 2 & 3

activation of a profile on some Project definition (artifactId/groupId)

Details

  • Complexity:
    Expert
  • Number of attachments :
    0

Description

It would be helpfull to activate a profile
using the value of some property of the
pom beeing used. Like the project.artifactId.

In an multi project environement, the 'current'
project activate the profile.

Activity

Hide
Brett Porter added a comment -

would you still like this? As a committer now, perhaps you can consider a proposal to implement it for 2.1 - or should it be a lower priority?

Show
Brett Porter added a comment - would you still like this? As a committer now, perhaps you can consider a proposal to implement it for 2.1 - or should it be a lower priority?
Hide
Raphaël Piéroni added a comment -

I still don't know well the internal of maven to be ready to the deadline proposal so i lower it

Show
Raphaël Piéroni added a comment - I still don't know well the internal of maven to be ready to the deadline proposal so i lower it
Hide
Brian Topping added a comment -

I could use this for a current project if it existed. In my case, I would select off of project.packaging. Would be very powerful, in my current use case I need to be able to activate a plugin defined in at top-level pom that will install an artifact, but only if the project creates an artifact that matches the packaging it can deal with.

Show
Brian Topping added a comment - I could use this for a current project if it existed. In my case, I would select off of project.packaging. Would be very powerful, in my current use case I need to be able to activate a plugin defined in at top-level pom that will install an artifact, but only if the project creates an artifact that matches the packaging it can deal with.

People

Vote (2)
Watch (2)

Dates

  • Created:
    Updated: