Hello, I'm trying to generate and validate a features.xml but I haven't figured out how to exclude some of the project dependencies from generated features.xml so that it would not be installed but when validating these dependencies would be considered as system exports. Currently I am able to do fulfill either one of these requirements by using either runtime or provided scope but not both at the same time which is my ultimate goal here.
Validation: Exports from artifacts with provided scope are turned as system properties (ValidateDescriptiorMojo:readProvidedBundles). This is working as expected although it seems that artifacts considered as system exports contain more than just direct project dependencies. Generation: Artifacts with runtime scope are not written to features.xml. This seems a bit odd because runtime scoped artifacts would be getting 'dependency' flag and I was expecting that provided dependencies would not be included to features.xml I'm using the 3.0.0-SNAPSHOT of the karaf plugin. -- Tuomas -- View this message in context: http://karaf.922171.n3.nabble.com/maven-plugin-how-to-turn-project-dependencies-as-system-exports-tp3880849p3880849.html Sent from the Karaf - User mailing list archive at Nabble.com.
