Sorry, I lost part of the mail when I pasted this section.

This is something we have discussed on the list in the past I believe. The
way to make the feature installation repeatable is to use the
carbon-p2-plugin. Look in the pom.xml file of any WSO2 product (under the
module/p2-profile-gen section)


On Sat, Jan 11, 2014 at 11:16 AM, Afkham Azeez <[email protected]> wrote:

> <plugin>
>                 <groupId>org.wso2.maven</groupId>
>                 <artifactId>carbon-p2-plugin</artifactId>
>                 <version>${carbon.p2.plugin.version}</version>
>                 <executions>
>                     <execution>
>                         <id>2-p2-repo-generation</id>
>                         <phase>package</phase>
>                         <goals>
>                             <goal>p2-repo-gen</goal>
>                         </goals>
>                         <configuration>
>
> <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
>
> <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
>                             <publishArtifacts>true</publishArtifacts>
>
> <publishArtifactRepository>true</publishArtifactRepository>
>                             <featureArtifacts>
>                                 <featureArtifactDef>
>
> org.wso2.carbon:org.wso2.carbon.core.feature:${carbon.kernel.version}
>                                 </featureArtifactDef>
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>*
*email: **[email protected]* <[email protected]>
* cell: +94 77 3320919 blog: **http://blog.afkham.org*<http://blog.afkham.org>
*twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
* linked-in: **http://lk.linkedin.com/in/afkhamazeez
<http://lk.linkedin.com/in/afkhamazeez>*

*Lean . Enterprise . Middleware*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to