Ok thanks I shall give that a try when i get some time, until then
could you say a little about what setting generateAggregatedBundle to
true actually does?

   ...ant

On Fri, Jan 15, 2010 at 12:59 AM, Raymond Feng <[email protected]> wrote:
> Hi,
>
> The plugin is working well to produce aggregated bundles based on the
> features. To try, you can use the following patch.
>
> Thanks,
> Raymond
>
> Index: all/pom.xml
> ===================================================================
> --- all/pom.xml (revision 898480)
> +++ all/pom.xml (working copy)
> @@ -132,7 +132,7 @@
>            <plugin>
>                <groupId>org.apache.tuscany.maven.plugins</groupId>
>                <artifactId>maven-bundle-plugin</artifactId>
> -                <version>1.0.5</version>
> +                <version>1.0.6-SNAPSHOT</version>
>                <executions>
>                    <execution>
>                        <id>distribution-modules</id>
> @@ -142,7 +142,8 @@
>                        </goals>
>                        <configuration>
>
> <targetDirectory>target/modules</targetDirectory>
> - <useDistributionName>false</useDistributionName>
> + <useDistributionName>true</useDistributionName>
> + <generateAggregatedBundle>true</generateAggregatedBundle>
>                             <generateManifestJar>true</generateManifestJar>
>                             <artifactManifests>
>                                 <artifactManifest>
> @@ -165,6 +166,15 @@
>                             </artifactManifests>
>                        </configuration>
>                    </execution>
> +<!--
> +                    <execution>
> +                        <id>distribution-singlebundle</id>
> +                        <phase>process-resources</phase>
> +                        <goals>
> +                             <goal>aggregate-modules</goal>
> +                        </goals>
> +                    </execution>
> +-->
>                </executions>
>                <dependencies>
>                   <dependency>
>
>
> --------------------------------------------------
> From: "ant elder" <[email protected]>
> Sent: Wednesday, January 13, 2010 7:21 AM
> To: <[email protected]>
> Cc: "Raymond Feng" <[email protected]>
> Subject: Re: svn commit: r897505 - in
> /tuscany/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin:
> BundleAggregatorMojo.java ModuleBundlesBuildMojo.java
>
>> On Sat, Jan 9, 2010 at 6:10 PM,  <[email protected]> wrote:
>>>
>>> Author: rfeng
>>> Date: Sat Jan  9 18:10:58 2010
>>> New Revision: 897505
>>>
>>> URL: http://svn.apache.org/viewvc?rev=897505&view=rev
>>> Log:
>>> Add the ability to generate feature-based aggregated bundles
>>>
>>
>> Could you say whats the status of this? Does it now work to generate
>> aggregated bundles? If so are there any examples, or how would i use
>> this feature?
>>
>>  ...ant
>
>

Reply via email to