Hi, karaf-maven-plugin comes with Karaf 3.0.0.
For Karaf 2.3.x, you have to use features-maven-plugin. Regards JB On 11/06/2013 02:22 PM, Radek Skokan wrote:
Hi, I am trying to automatically generate Apache Karaf's (2.3.0) feature descriptor file (features.xml). From Karaf's doc I have learned that I can use the "features" packaging (http://karaf.apache.org/manual/latest/developers-guide/karaf-maven-plugin.html). So I have |<project> ... <packaging>feature</packaging> <dependencies> <dependency> <groupId>org.apache.jclouds</groupId> <artifactId>jclouds-core</artifactId> <scope>provided</scope> <version>${jclouds.version}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.karaf.tooling</groupId> <artifactId>karaf-maven-plugin</artifactId> <version>${karaf.version}</version> <extensions>true</extensions> <configuration> <startLevel>80</startLevel> <aggregateFeatures>true</aggregateFeatures> </configuration> </plugin> </plugins> </build> </project>| But |mvn clean install| complains /Unknown packaging: feature/. I also have tried to use the features-maven-plugin, but still the same result. What do I have wrong? Thanks, Radek
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
