You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2005/09/09 16:36:02 UTC
[jira] Created: (MNG-860) Allow Mojos that don't participate in the lifecycle to be configured using profiles
Allow Mojos that don't participate in the lifecycle to be configured using profiles
-----------------------------------------------------------------------------------
Key: MNG-860
URL: http://jira.codehaus.org/browse/MNG-860
Project: Maven 2
Type: New Feature
Reporter: Jason van Zyl
Fix For: 2.0-beta-2
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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-860) Allow Mojos that don't participate in the lifecycle to be configured using profiles
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-860?page=all ]
Brett Porter updated MNG-860:
-----------------------------
Component: maven-project
> Allow Mojos that don't participate in the lifecycle to be configured using profiles
> -----------------------------------------------------------------------------------
>
> Key: MNG-860
> URL: http://jira.codehaus.org/browse/MNG-860
> Project: Maven 2
> Type: New Feature
> Components: maven-project
> Reporter: Jason van Zyl
> Fix For: 2.0-beta-2
>
>
> 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-860) Allow Mojos that don't participate in the lifecycle to be configured using profiles
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-860?page=comments#action_46643 ]
Brett Porter commented on MNG-860:
----------------------------------
should this be in profiles or only in settings? I agree these should only be applied to the command line introduced goals only.
> Allow Mojos that don't participate in the lifecycle to be configured using profiles
> -----------------------------------------------------------------------------------
>
> Key: MNG-860
> URL: http://jira.codehaus.org/browse/MNG-860
> Project: Maven 2
> Type: New Feature
> Reporter: Jason van Zyl
> Fix For: 2.0-beta-2
>
>
> 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-860) Allow Mojos that don't participate in the lifecycle to be configured using profiles
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-860?page=comments#action_47376 ]
Dan Tran commented on MNG-860:
------------------------------
Sound like http://jira.codehaus.org/browse/MNG-786 falls into the same category. But please have it fixed in
2.0
Without this feature, i can not do a good clean in one shot using reactor.
> Allow Mojos that don't participate in the lifecycle to be configured using profiles
> -----------------------------------------------------------------------------------
>
> Key: MNG-860
> URL: http://jira.codehaus.org/browse/MNG-860
> Project: Maven 2
> Type: New Feature
> Components: maven-project
> Reporter: Jason van Zyl
> Fix For: 2.1
>
> Original Estimate: 6 hours
> Remaining: 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-860) Allow Mojos that don't participate in the lifecycle to be configured using profiles
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-860?page=all ]
John Casey updated MNG-860:
---------------------------
Fix Version: (was: 2.0-beta-3)
2.1
Complexity: Expert (was: Intermediate)
Remaining Estimate: 6 hours
Original Estimate: 21600
it may be useful to create a more stark distinction between direct-invocation mojos (which are closer to tools), and lifecycle mojos (which are phase bindings, or build-process steps)...then, the configuration of tools could go in the settings.xml file.
At any rate, we're getting into design issues here, and that's going to have to wait for 2.1, I think.
> Allow Mojos that don't participate in the lifecycle to be configured using profiles
> -----------------------------------------------------------------------------------
>
> Key: MNG-860
> URL: http://jira.codehaus.org/browse/MNG-860
> Project: Maven 2
> Type: New Feature
> Components: maven-project
> Reporter: Jason van Zyl
> Fix For: 2.1
>
> Original Estimate: 6 hours
> Remaining: 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org