[
https://issues.apache.org/jira/browse/ARIES-1932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938763#comment-16938763
]
Joao Assuncao commented on ARIES-1932:
--------------------------------------
Thank you [~cschneider] .Your suggestion worked.
I added a new repo entry to karaf-maven-plugin configuration:
{code:java}
<featureRepositories>
<featureRepository>mvn:org.apache.aries.jax.rs/org.apache.aries.jax.rs.features/${aries-jax-rs.version}/xml</featureRepository>
</featureRepositories>{code}
And the feature repo was added correctly do my custom distro.
To keep coherency with other existing repositories, wouldn't it be best to add
the classifier to the artifact?
> Karaf feature lacks the "features" classifier
> ---------------------------------------------
>
> Key: ARIES-1932
> URL: https://issues.apache.org/jira/browse/ARIES-1932
> Project: Aries
> Issue Type: Bug
> Components: jax-rs-whiteboard
> Affects Versions: jax-rs-whiteboard-1.0.4, jax-rs-whiteboard-1.0.5,
> jax-rs-whiteboard-1.0.6
> Environment: Karaf plugin version: 4.1.7
>
> Reporter: Joao Assuncao
> Priority: Major
>
> The jax-rs-whiteboard Karaf feature cannot be used when building a custom
> Karaf distribution.
> During assembly, karaf-maven-plugin will fail with an error complaining that
> aries-jax-rs-whiteboard can't be found.
> Adding the <classifier>features</classifier> to the attach-artifact
> configuration fixes this issue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)