You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Casper Roubos (Jira)" <ji...@apache.org> on 2022/10/18 19:47:00 UTC

[jira] [Commented] (MNG-4154) Profile activation based on module packaging type (e.g. jar, war, ear)

    [ https://issues.apache.org/jira/browse/MNG-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17619757#comment-17619757 ] 

Casper Roubos commented on MNG-4154:
------------------------------------

I would hereby ask for your attention for this improvement, or perhaps better bug (since packaging is without a doubt: project propery)

I would like to have this working :

{code:java}
	</build>
	<profiles>
		<profile>
			<id>eclipse-test-pluginProfile</id>
			<activation>
				<property>
					<name>project.packaging</name>
					<value>eclipse-test-plugin</value>
				</property>
			</activation>
			<properties>
...
{code}
Please make this possible,
Thanks in advance for your effort.


> Profile activation based on module packaging type (e.g. jar, war, ear)
> ----------------------------------------------------------------------
>
>                 Key: MNG-4154
>                 URL: https://issues.apache.org/jira/browse/MNG-4154
>             Project: Maven
>          Issue Type: New Feature
>          Components: Profiles
>            Reporter: jieryn
>            Priority: Minor
>         Attachments: mng-4154.zip
>
>
> It would be useful to have Maven profile activation, and deactivation, based on the module's packaging type, e.g. jar, war, ear, etc.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)