Hi Thilini,

On Mon, Jan 9, 2012 at 4:26 PM, Thilini Ishaka <[email protected]> wrote:

> 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.
>

Yes... This issue is resolved when we revert back to this 2.2-beta-2
version. So it seems to be a bug in this 2.2-beta-5 version.

Anyway I tried the latest version of the plugin which is 2.2.2 and it
seems, our assembly descriptor are bit out of date and not conforming the
assembly descriptor schema (i.e: missing assembly ID element).

But we can live with this 2.2-beta-2 version for the moment.

Thanks and Regards,
Harshana

>
> <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
>
>


-- 
Harshana Martin
Software Engineer
WSO2 Inc.
Web:http://wso2.com
          http://wso2.org

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to