karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Lietz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-2212) Karaf Maven Plugin fails with pax-http Error
Date Fri, 08 Mar 2013 09:20:13 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13596961#comment-13596961
] 

Oliver Lietz commented on KARAF-2212:
-------------------------------------

there is something wrong in Karaf with Pax Web, module Integration Tests fails with
{code}
Tests in error: 
  installJettyFeature:org.apache.karaf.itests.features.StandardFeaturesTest.installJettyFeature:KarafTestContainer{mvn:org.apache.karaf\/apache-karaf\/3.0.0-SNAPSHOT\/tar.gz}(org.apache.karaf.itests.features.StandardFeaturesTest):
No feature named 'pax-jetty' with version '8.1.4.v20120524' available

Tests run: 81, Failures: 0, Errors: 1, Skipped: 2
{code}
                
> 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

Mime
View raw message