You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2014/07/02 15:45:18 UTC
[jira] (MNG-860) Allow Mojos that don't participate in the
lifecycle to be configured using profiles
[ https://jira.codehaus.org/browse/MNG-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict updated MNG-860:
------------------------------
Fix Version/s: (was: Issues to be reviewed for 3.x)
> Allow Mojos that don't participate in the lifecycle to be configured using profiles
> -----------------------------------------------------------------------------------
>
> Key: MNG-860
> URL: https://jira.codehaus.org/browse/MNG-860
> Project: Maven
> Issue Type: New Feature
> Components: Inheritance and Interpolation
> Reporter: Jason van Zyl
> Original Estimate: 6 hours
> Remaining Estimate: 6 hours
>
> The particular use case here is setting the ${jdkName} variable to be used by the IDEA plugin are part of the generation of the IDEA project files. It would be nice to have this set across the board so that I don't have to specify it on the command line or in each POM (which would be very unwieldly). Chatting with John, it seems it would be reasonable only for Mojos that don't participate in the lifecycle as to ensure portability of the build. Mojos that are typically related to tooling are mojos that don't participate in the lifecycle like the IDE related plugins which are generally gear for a user specific setup. Here's an example of what might be nice to have in a settings.xml:
> <profiles>
> <profile>
> <build>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-idea-plugin</artifactId>
> <configuration>
> <jdkName>/home/jvanzyl/jdk/1.5</jdkName>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </profile>
> <profiles>
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)