[ https://issues.apache.org/jira/browse/KARAF-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Achim Nierbeck reassigned KARAF-2212: ------------------------------------- Assignee: Achim Nierbeck > Karaf Maven Plugin fails with pax-http Error > -------------------------------------------- > > Key: KARAF-2212 > URL: https://issues.apache.org/jira/browse/KARAF-2212 > Project: Karaf > Issue Type: Bug > Components: karaf-tooling > Affects Versions: 3.0.0 > Environment: Ubuntu, RHEL with OpenJDK > Reporter: Aritra Chatterjee > Assignee: Achim Nierbeck > > Karaf Maven Plugin fails with the following error when trying to create a > custom distribution using the karaf-maven-plugin: > [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] > Sample pom.xml configuration: > <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> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira