And could see that it was the cxf feature that apparently requires the old
spring..

On Tue, Apr 10, 2018 at 8:01 AM, nino martinez wael <
nino.martinez.w...@gmail.com> wrote:

> thanks:)
>
> On Tue, Apr 10, 2018 at 7:55 AM, Jean-Baptiste Onofré <j...@nanthrax.net>
> wrote:
>
>> Hi Nino,
>>
>> the spring "old" versions moved in spring-legacy features repository.
>>
>> So, you have to add spring-legacy repo:
>>
>> mvn:org.apache.karaf.features/spring-legacy/4.2.0/xml/features
>>
>> Regards
>> JB
>>
>> On 10/04/2018 07:50, nino martinez wael wrote:
>>
>>> Hi when I try to use below i get this error:
>>>
>>> /[ERROR] Failed to execute goal 
>>> org.apache.karaf.tooling:karaf-maven-plugin:4.2.0:assembly
>>> (default-assembly) on project ccadmin-karaf-assembly: Unable to build
>>> assembly: Could not find matching feature for spring/[3,4) -> [Help 1]/
>>>
>>> /[ERROR]/
>>>
>>>
>>> /I wonder what are missing spring 3,4 I can see that spring 5 are being
>>> included./
>>>
>>>
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance";
>>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>>> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
>>>      <modelVersion>4.0.0</modelVersion>
>>>      <parent>
>>>          <groupId>com.netdesign.ccadmin</groupId>
>>>          <artifactId>ccadmin</artifactId>
>>>          <version>1.78-SNAPSHOT</version>
>>>      </parent>
>>>
>>>      <groupId>com.netdesign.ccadmin</groupId>
>>>      <artifactId>ccadmin-karaf-assembly</artifactId>
>>>      <version>1.78-SNAPSHOT</version>
>>>      <packaging>karaf-assembly</packaging>
>>>
>>>      <name>ccadmin-karaf-assembly</name>
>>>
>>>      <properties>
>>>          <project.build.sourceEncoding>UTF-8</project.build.
>>> sourceEncoding>
>>>          <karaf.version>4.2.0</karaf.version>
>>>      </properties>
>>>      <dependencies>
>>>          <dependency>
>>>              <groupId>org.apache.karaf.features</groupId>
>>>              <artifactId>framework</artifactId>
>>>              <type>kar</type>
>>>              <version>${karaf.version}</version>
>>>
>>>          </dependency>
>>>          <dependency>
>>>              <groupId>org.apache.karaf.features</groupId>
>>>              <artifactId>framework</artifactId>
>>>              <classifier>features</classifier>
>>>              <type>xml</type>
>>>              <scope>runtime</scope>
>>>              <version>${karaf.version}</version>
>>>          </dependency>
>>>          <dependency>
>>>              <groupId>org.apache.karaf.features</groupId>
>>>              <artifactId>standard</artifactId>
>>>              <classifier>features</classifier>
>>>              <type>xml</type>
>>>              <version>${karaf.version}</version>
>>>          </dependency>
>>>          <dependency>
>>>              <groupId>org.apache.karaf.features</groupId>
>>>              <artifactId>spring</artifactId>
>>>              <classifier>features</classifier>
>>>              <type>xml</type>
>>>              <scope>runtime</scope>
>>>              <version>${karaf.version}</version>
>>>          </dependency>
>>>          <dependency>
>>>              <groupId>org.apache.karaf.features</groupId>
>>>              <artifactId>enterprise</artifactId>
>>>              <classifier>features</classifier>
>>>              <type>xml</type>
>>>              <scope>runtime</scope>
>>>              <version>${karaf.version}</version>
>>>          </dependency>
>>>          <dependency>
>>>              <groupId>org.apache.cxf.karaf</groupId>
>>>              <artifactId>apache-cxf</artifactId>
>>>              <classifier>features</classifier>
>>>              <type>xml</type>
>>>              <scope>runtime</scope>
>>>              <version>${cxf.version}</version>
>>>          </dependency>
>>>
>>>          <dependency>
>>>              <groupId>io.hawt</groupId>
>>>              <artifactId>hawtio-karaf</artifactId>
>>>              <version>1.5.7</version>
>>>              <classifier>features</classifier>
>>>              <type>xml</type>
>>>              <scope>runtime</scope>
>>>          </dependency>
>>>
>>>      </dependencies>
>>>      <profiles>
>>>          <profile>
>>>              <id>release</id>
>>>              <activation>
>>>                  <property>
>>>                      <name>IS_M2RELEASEBUILD</name>
>>>                      <value>true</value>
>>>                  </property>
>>>              </activation>
>>>              <dependencies>
>>>                  <dependency>
>>>                      <artifactId>ccadmin-karaf-feature</artifactId>
>>>                      <groupId>com.netdesign.ccadmin</groupId>
>>>                      <classifier>features</classifier>
>>>                      <type>xml</type>
>>>                      <version>${build.parent.version}</version>
>>>                      <scope>runtime</scope>
>>>                  </dependency>
>>>              </dependencies>
>>>          </profile>
>>>          <profile>
>>>              <id>snapshot</id>
>>>              <activation>
>>>                  <property>
>>>                      <name>IS_M2RELEASEBUILD</name>
>>>                      <value>false</value>
>>>                  </property>
>>>              </activation>
>>>              <dependencies>
>>>                  <dependency>
>>>                      <artifactId>ccadmin-karaf-feature</artifactId>
>>>                      <groupId>com.netdesign.ccadmin</groupId>
>>>                      <classifier>features</classifier>
>>>                      <type>xml</type>
>>>                      <version>${project.version}</version>
>>>                      <scope>runtime</scope>
>>>                  </dependency>
>>>              </dependencies>
>>>          </profile>
>>>
>>>      </profiles>
>>>      <build>
>>>          <plugins>
>>>              <plugin>
>>>                  <groupId>org.apache.maven.plugins</groupId>
>>>                  <artifactId>maven-dependency-plugin</artifactId>
>>>                  <version>3.0.2</version>
>>>              </plugin>
>>>                  <plugin>
>>>                      <groupId>org.apache.karaf.tooling</groupId>
>>>                      <artifactId>karaf-maven-plugin</artifactId>
>>>                      <extensions>true</extensions>
>>>                      <version>${karaf.version}</version>
>>>                      <configuration>
>>>                          <installedFeatures>
>>>                              <feature>wrapper</feature>
>>>                              <feature>cxf</feature>
>>>                              <feature>cxf-commands</feature>
>>>                              <!--<feature>ccadmin</feature>-->
>>> </installedFeatures>
>>>                          <bootFeatures>
>>>                              <feature>webconsole</feature>
>>>                              <feature>eventadmin</feature>
>>>                              <feature>wrap</feature>
>>>                              <feature>scr</feature>
>>>                              <feature>shell</feature>
>>>                              <feature>feature</feature>
>>>                              <feature>jaas</feature>
>>>                              <feature>management</feature>
>>>                              <feature>bundle</feature>
>>>                              <feature>config</feature>
>>>                              <feature>deployer</feature>
>>>                              <feature>diagnostic</feature>
>>>                              <feature>feature</feature>
>>>                              <feature>instance</feature>
>>>                              <feature>kar</feature>
>>>                              <feature>log</feature>
>>>                              <feature>package</feature>
>>>                              <feature>service</feature>
>>>                              <feature>system</feature>
>>>                              <feature>hawtio-offline</feature>
>>>                          </bootFeatures>
>>>                          <javase>1.8</javase>
>>>                      </configuration>
>>>                  </plugin>
>>>              </plugins>
>>>      </build>
>>> </project>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Best regards / Med venlig hilsen
>>> Nino Martinez
>>>
>>
>
>
> --
> Best regards / Med venlig hilsen
> Nino Martinez
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

Reply via email to