You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by simafengyun1984 <yi...@citi.com> on 2014/02/13 11:10:27 UTC
question about generate features xml file
Hi JB,
I use the below plugin to generate the features.xml.
But there is a file named bundles.properties?
Do you know what's the content of the file or content format?
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>features-maven-plugin</artifactId>
<version>2.3.3</version>
<executions>
<execution>
<id>generate</id>
<phase>generate-resources</phase>
<goals>
<goal>generate-features-xml</goal>
</goals>
<configuration>
<bundles>src/main/resources/*bundles.properties*</bundles>
<kernelVersion>2.3.3</kernelVersion>
<outputFile>target/features.xml</outputFile>
</configuration>
</execution>
</executions>
</plugin>
--
View this message in context: http://karaf.922171.n3.nabble.com/question-about-generate-features-xml-file-tp4031683.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: question about generate features xml file
Posted by simafengyun1984 <yi...@citi.com>.
Yes, I have no this file.
Do you think this file is genareted by the maven project automatically?
Do you have the entire example to created the bundle maven project?
--
View this message in context: http://karaf.922171.n3.nabble.com/question-about-generate-features-xml-file-tp4031683p4031690.html
Sent from the Karaf - User mailing list archive at Nabble.com.
Re: question about generate features xml file
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
in your Maven project, don't you have a bundles.properties in
src/main/resources ?
Regards
JB
On 02/13/2014 11:10 AM, simafengyun1984 wrote:
> Hi JB,
>
> I use the below plugin to generate the features.xml.
> But there is a file named bundles.properties?
> Do you know what's the content of the file or content format?
>
>
>
> <plugin>
> <groupId>org.apache.karaf.tooling</groupId>
> <artifactId>features-maven-plugin</artifactId>
> <version>2.3.3</version>
> <executions>
> <execution>
> <id>generate</id>
> <phase>generate-resources</phase>
> <goals>
> <goal>generate-features-xml</goal>
> </goals>
> <configuration>
> <bundles>src/main/resources/*bundles.properties*</bundles>
> <kernelVersion>2.3.3</kernelVersion>
> <outputFile>target/features.xml</outputFile>
> </configuration>
> </execution>
> </executions>
> </plugin>
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/question-about-generate-features-xml-file-tp4031683.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com