Hi, just recently we started to use the pax-web features. could you open a jira issue for it? I'm gonna take a look at it.
regards, Achim 2013/2/21 Aritra Chatterjee <[email protected]> > Hi, > > I am using Karaf Maven Plugin 3.0 for creating a custom Karaf > distribution for my application. All was working fine till recently. > My maven build fails with the following error: > > [ERROR] Failed to execute goal > > org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-add-to-repository > (features-add-to-repository) on project apache-karaf: Error populating > repository: Unable to find the feature 'pax-http' -> [Help 1] > > Here's what my pom.xml looks like, the plugin and dependencies section: > > <artifactId>apache-karaf</artifactId> > <packaging>pom</packaging> > <name>Custom Karaf Distribution</name> > <dependencies> > <dependency> > <groupId>org.apache.karaf</groupId> > <artifactId>apache-karaf</artifactId> > <version>${karaf.version}</version> > <type>tar.gz</type> > </dependency> > </dependencies> > > <build> > <plugins> > <plugin> > <groupId>org.apache.karaf.tooling</groupId> > <artifactId>karaf-maven-plugin</artifactId> > <executions> > <execution> > > <id>features-add-to-repository</id> > > <phase>generate-resources</phase> > <goals> > > <goal>features-add-to-repository</goal> > </goals> > <configuration> > <descriptors> > > > <descriptor>mvn:org.apache.karaf.features/spring/${karaf.version}/xml/features</descriptor> > </descriptors> > <features> > > <feature>config</feature> > > <feature>standard</feature> > > <feature>region</feature> > > <feature>package</feature> > > <feature>kar</feature> > > <feature>ssh</feature> > > <feature>management</feature> > > <feature>webconsole</feature> > > <feature>spring</feature> > > <feature>spring-jms</feature> > > <feature>spring-tx</feature> > </features> > > <repository>target/features-repo</repository> > </configuration> > </execution> > </executions> > </plugin> > </plugins> > </build> > > Is the pax-http feature used internally by Karaf? I tried removing the > webconsole feature, but it doesn't fix the build error. Any clues how > this could be solved? > > Regards, > Aritra Chatterjee > -- Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home> Commiter & Project Lead blog <http://notizblog.nierbeck.de/>
