camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] Commented: (CAMEL-2966) Upgrade to flatpack 3.2.0
Date Wed, 01 Sep 2010 07:06:40 GMT


Claus Ibsen commented on CAMEL-2966:

I upgraded the features xml files.

Also added versions to parent/pom.xml as its nice to have all versions in one place.

However the features validator doesn't work with wrap anymore
mvn clean install -Pvalidate

Causes it to fail when you have defined a wrap bundle. Because we need slf4j-api as its mandatory
by flatpack
  <feature name='camel-flatpack' version='${pom.version}'>
    <feature version='${pom.version}'>camel-spring</feature>

And when running the validator it causes this error
Downloading: http://localhost:8081/nexus/content/groups/public/wrap:mvn:org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar
[INFO] Unable to find resource 'wrap:mvn:org.slf4j:slf4j-api:jar:1.6.1' in repository central

Then, install it using the command: 
    mvn install:install-file -DgroupId=wrap:mvn:org.slf4j -DartifactId=slf4j-api -Dversion=1.6.1
-Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: 
    mvn deploy:deploy-file -DgroupId=wrap:mvn:org.slf4j -DartifactId=slf4j-api -Dversion=1.6.1
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


As you can see it now believes the artifactId is wrap:mvn:org.slf4j instead of just org.slf4j.

This used to work. I bet upgrading to Karaf 2.0 causes this problem.

> Upgrade to flatpack 3.2.0
> -------------------------
>                 Key: CAMEL-2966
>                 URL:
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Claus Ibsen
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.5.0
> See nabble

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message