[
https://jira.codehaus.org/browse/ARCHETYPE-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy updated ARCHETYPE-407:
------------------------------------
Description:
I have an archetype that I use for testing inside some of my projects. I want
the plugin to generate and then build the project.
The problem here is that when I want to activate more than one profile, the
plugin splits the goals-string on the comma and therefor kills my call!
Example of plugin-configuration:
{code:xml}<configuration>
<archetypeRepository> ... </archetypeRepository>
<archetypeGroupId> myGroupId </archetypeGroupId>
<archetypeArtifactId> myArchetypeId </archetypeArtifactId>
<archetypeVersion> myVersion </archetypeVersion>
<goals> process-resources -Pibm,dev </goals>
<interactiveMode> false </interactiveMode>
</configuration>{code}
It would be really helpful if the goals-parameter could just be used as-is, or
at least not split on the comma.
was:
I have an archetype that I use for testing inside some of my projects. I want
the plugin to generate and then build the project.
The problem here is that when I want to activate more than one profile, the
plugin splits the goals-string on the comma and therefor kills my call!
Example of plugin-configuration:
<configuration>
<archetypeRepository> ... </archetypeRepository>
<archetypeGroupId> myGroupId </archetypeGroupId>
<archetypeArtifactId> myArchetypeId </archetypeArtifactId>
<archetypeVersion> myVersion </archetypeVersion>
<goals> process-resources -Pibm,dev </goals>
<interactiveMode> false </interactiveMode>
</configuration>
It would be really helpful if the goals-parameter could just be used as-is, or
at least not split on the comma.
> Generate with 'goals' dies when the goals include multiple profiles
> -------------------------------------------------------------------
>
> Key: ARCHETYPE-407
> URL: https://jira.codehaus.org/browse/ARCHETYPE-407
> Project: Maven Archetype
> Issue Type: Improvement
> Affects Versions: 2.2
> Reporter: Roland Asmann
>
> I have an archetype that I use for testing inside some of my projects. I want
> the plugin to generate and then build the project.
> The problem here is that when I want to activate more than one profile, the
> plugin splits the goals-string on the comma and therefor kills my call!
> Example of plugin-configuration:
> {code:xml}<configuration>
> <archetypeRepository> ... </archetypeRepository>
> <archetypeGroupId> myGroupId </archetypeGroupId>
> <archetypeArtifactId> myArchetypeId </archetypeArtifactId>
> <archetypeVersion> myVersion </archetypeVersion>
> <goals> process-resources -Pibm,dev </goals>
> <interactiveMode> false </interactiveMode>
> </configuration>{code}
> It would be really helpful if the goals-parameter could just be used as-is,
> or at least not split on the comma.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)