Hi,

Well I tried in the karaf-maven-plugin to blacklist the cxf repository and..
it kinda worked.. but the problem was not completely solved.
I'm doing something like this...

                        <plugin>
                                <groupId>org.apache.karaf.tooling</groupId>
                                <artifactId>karaf-maven-plugin</artifactId>
                                <extensions>true</extensions>
                                <configuration>
                                        ...
                                        <blacklistedRepositories>
                                        
<repository>mvn:org.apache.cxf.karaf/apache-cxf/3.1.7/xml/features</repository>
                                        </blacklistedRepositories>
                                        ...
                                </configuration>
                        </plugin>

and it works because it gives me a compilation error if I do not add
explicitly the cxf dependency like this:

                <dependency>
                        <groupId>org.apache.cxf.dosgi</groupId>
                        <artifactId>cxf-dosgi</artifactId>
                        <version>3.1.10</version>
                        <classifier>features</classifier>
                        <type>xml</type>
                        <scope>runtime</scope>
                </dependency>

However. I'm still seeing 3.1.7 bundles being installed so this does not
completely overrides it. I know that I can make a custom dosgi  feature but
I'm wondering if there is a better way...




--
View this message in context: 
http://karaf.922171.n3.nabble.com/CXF-3-1-8-in-karaf-4-1-1-tp4049844p4049864.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to