rougeSE commented on issue #2144: URL: https://github.com/apache/karaf/issues/2144#issuecomment-3512511198
Interesting, it looks like the assembly mojo doesn't have this problem as the following does correctly resolve that the feature-core for ActiveMQ is a Karaf feature. ``` <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.raytheon.eclipse.eclp4j.vtk</groupId> <artifactId>eclp4j-vtk</artifactId> <version>${revision}${changelist}</version> </parent> <artifactId>eclp4j-vtk-karaf</artifactId> <packaging>karaf-assembly</packaging> <properties> <karaf.version>4.4.5</karaf.version> <activemq.version>5.18.3</activemq.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>org.apache.karaf</groupId> <artifactId>karaf-bom</artifactId> <version>${karaf.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.apache.karaf.features</groupId> <artifactId>framework</artifactId> <type>kar</type> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.karaf.features</groupId> <artifactId>standard</artifactId> <classifier>features</classifier> <type>xml</type> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-karaf</artifactId> <classifier>features-core</classifier> <type>xml</type> <version>${activemq.version}</version> <scope>runtime</scope> </dependency> <dependency> <!-- Used by ActiveMQ Client Feature --> <groupId>org.apache.karaf.features</groupId> <artifactId>spring-legacy</artifactId> <version>${karaf.version}</version> <classifier>features</classifier> <type>xml</type> <scope>runtime</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.karaf.tooling</groupId> <artifactId>karaf-maven-plugin</artifactId> <version>${karaf.version}</version> <executions> <execution> <id>default-assembly</id> <phase>prepare-package</phase> </execution> </executions> <extensions>true</extensions> <configuration> <bootFeatures> <feature>minimal</feature> <feature>activemq-client</feature> </bootFeatures> </configuration> </plugin> </plugins> </build> </project> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
