Thanks Karl,

Two things:


   1. I couldn't get access to the JIRA to submit a ticket myself - is this
   something I am allowed to request?
   2. Of course I'm going to ask: when is maven-assembly-plugin:2.4.2
   likely to be released?

Thanks,
Tony Jewell

On 13 October 2014 07:14, Karl Heinz Marbaise <khmarba...@gmx.de> wrote:

> Hi Tony,
>
> I have taken a look into your patch...looks ok...
>
> This looks like a usefull enhancement so I will integrate your patch...
>
> I have created an appropriate JIRA entry:
>
> http://jira.codehaus.org/browse/MASSEMBLY-717
>
> Kind regards
> Karl Heinz Marbaise
>
>
>
> On 10/13/14 1:09 AM, Tony Jewell wrote:
>
>> Hi,
>>
>> We hit an issue when using maven-assembly-plugin:2.4.1.
>>
>> We were using filters in assemblies to filter config property files
>> according to the assembly we were producing - thus targetting our
>> various environments.
>>
>> In the Project Build we defined test filter sources for tests and
>> running in the IDE.
>>
>> Unfortunately, the default action in maven-assembly-plugin is to include
>> all ${project.build.filters} - before the filters defined in the
>> Assembly configuration. This meant all our assemblies had the Test
>> configs.
>>
>> I have attached an example project that displays the issue and a patch
>> to the current trunk maven-assembly-plugin:2.4.2-SNAPSHOT.
>>
>> A snippet from sample pom.xml showing the proposed new
>> ignoreProjectBuildFilters config boolean usage is:
>>
>>            <plugin>
>>                <groupId>org.apache.maven.plugins</groupId>
>>                <artifactId>maven-assembly-plugin</artifactId>
>>                <version>${maven-assembly-plugin.version}</version>
>>                <executions>
>>                    <execution>
>>                        <id>prod-assemble</id>
>>                        <phase>package</phase>
>>                        <goals><goal>single</goal></goals>
>>                        <configuration>
>>                            <!-- Do not include the Filters as defined in
>> the Project Build -->
>>
>> <includeProjectBuildFilters>false</includeProjectBuildFilters>
>>                            <filters>
>>
>> <filter>src/main/filters/prod.properties</filter>
>>                            </filters>
>>                            <descriptors>
>>
>> <descriptors>src/main/assemblies/prod-assemble.xml</descriptors>
>>                            </descriptors>
>>                        </configuration>
>>                    </execution>
>>                </executions>
>>            </plugin>
>>
>> Thanks,
>>
>> Tony Jewell
>> Cregganna Computer Consultants Ltd
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to