[ 
https://issues.apache.org/jira/browse/SLING-12956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18023598#comment-18023598
 ] 

Carsten Ziegeler commented on SLING-12956:
------------------------------------------

I don't think that is needed in the API, there is toMvnName(), toMvnPath() 
already. If all artifacts should be stored in a single directory, then this 
could be achieved by using the group id + toMvnName() as the file name.

> Models with same artifactIds (and different groupIds) lead to name clashes
> --------------------------------------------------------------------------
>
>                 Key: SLING-12956
>                 URL: https://issues.apache.org/jira/browse/SLING-12956
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model
>    Affects Versions: Content-Package to Feature Model Converter 1.3.10
>            Reporter: Konrad Windszus
>            Priority: Major
>
> cp2fm persists models with a filename which is prone to name clashes as it 
> persists the JSON just considering the artifact id + classifier (but 
> completely disregarding the group id): 
> https://github.com/apache/sling-org-apache-sling-feature-cpconverter/blob/ffb2039dee744c9fe832cf045dff3664654ebbe6/src/main/java/org/apache/sling/feature/cpconverter/features/DefaultFeaturesManager.java#L472-L485



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to