Reputation: 177
I'm creating my own custom maven mojo to manage custom profiles, I'm using project.setActiveProfiles(profiles);
to create profiles but I think this method only to activate profiles not create them.
How I can create a new profile from custom maven mojo?
Upvotes: 0
Views: 105
Reputation: 35853
You cannot create profiles during the build.
If some profiles are needed by several people, put them into the company parent POM.
Upvotes: 1