I doubt this is an issue with the assembly plugin version.
By adding the assemble plugin version as below, this issue can be solved. I
am not sure whether this is the right way to handle it.

<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.2-beta-2</version>
                <executions>
                    <execution>
                        <id>1-pre_dist</id>
                        <phase>test</phase>
                        <goals>
                            <goal>attached</goal>
                        </goals>
                        <configuration>
                            <filters>

<filter>${basedir}/src/assembly/filter.properties</filter>
                            </filters>
                            <descriptors>

<descriptor>${basedir}/src/assembly/dist.xml</descriptor>
                            </descriptors>
                        </configuration>

Thanks
Thilini

On Mon, Jan 9, 2012 at 4:06 PM, Pradeep Fernando <[email protected]> wrote:

> hi,
>
> filtering happening during packaging phase.
>
> <plugin>
>                 <groupId>org.apache.maven.plugins</groupId>
>                 <artifactId>maven-assembly-plugin</artifactId>
>                 <executions>
>                     <execution>
>                         <id>1-pre-dist</id>
>                         <phase>test</phase>
>                         <!--we are creating a temporary carbon
> distribution for document extracting purposes during the test phase-->
>                         <goals>
>                             <goal>attached</goal>
>                         </goals>
>                         <configuration>
>                             <filters>
>
> <filter>${basedir}/src/assembly/filter.properties</filter>
>                             </filters>
>                             <descriptors>
>
> <descriptor>${basedir}/src/assembly/dist.xml</descriptor>
>                             </descriptors>
>                         </configuration>
>                     </execution>
>
>
>
>
> got this snippet from, modules/distribution/pom.xml
>
>
> thanks,
> --Pradeep
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Regards

Thilini Ishaka
WSO2 Inc
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to