Hi,

Since ID was required to generate the category.xml, I change the plugin to
read the FeatureId and the version from the pom.xml in repository. Now the
<categories> looks like follows in pom.xml:

<categories>
 <category>
<id>org.wso2.carbon.broker.category</id>
<label>WSO2 Broker Category</label>
 <description>broker category</description>

<features>
  <catFeature>
   <id>org.wso2.carbon.broker</id>
   <version>${carbon.version}</version>
  </catFeature>

  <catFeature>
   <id>org.wso2.carbon.brokermanager</id>
   <version>${carbon.version}</version>
  </catFeature>
 </features>
 </category>
</categories>

Thanks,
  - Chethiya

On Wed, Apr 18, 2012 at 11:10 PM, Chethiya Abeysinghe <[email protected]>wrote:

> Hi,
>
> Is there any specific reason to do $subject? The value inside the <id/> is
> used to name the jar file of the particular feature. Besides, do we need to
> make <id> changeable to the user of the plugin?
>
> This is regarding the issue https://wso2.org/jira/browse/CARBON-12876.
> This issue has been caused because of the generated .jar files for the
> features are not derivable from the artifactId. Therefore auto-generated
> category.xml file for CategoryPublisher can't point to the correct jar file
> URL.
>
> Thanks,
>
> --
> Chethiya Abeysinghe
> Software Engineer; WSO2, Inc.;  http://wso2.com/
> email: [email protected]
> blog: chethiya3000.blogspot.com
>
>
>


-- 
Chethiya Abeysinghe
Software Engineer; WSO2, Inc.;  http://wso2.com/
email: [email protected]     phone: +94 777444891
blog: chethiya3000.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to