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

Carsten Ziegeler commented on SLING-8875:
-----------------------------------------

[~andysch] Good point with the naming, yes, we should rename it to 
IncludeArtifactMojo.java and also fix the comment at the top :)
If you need additional things that are specified in a feature model like repo 
init or configurations, the IncludeArtifact mojo allows to attach to an 
existing feature model.
So you can have a feature model in src/main/features with just repo init and 
configurations, and then add the main artifact to it. With your addition, you 
can then also add the compile time dependencies to it

> Create new Goal to create a FM Descriptor from a Maven Module
> -------------------------------------------------------------
>
>                 Key: SLING-8875
>                 URL: https://issues.apache.org/jira/browse/SLING-8875
>             Project: Sling
>          Issue Type: New Feature
>          Components: Feature Model
>    Affects Versions: slingfeature-maven-plugin 1.1.10
>            Reporter: Andreas Schaefer
>            Assignee: Andreas Schaefer
>            Priority: Major
>             Fix For: slingfeature-maven-plugin 1.1.12
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In order to use FM Descriptor in projects modules should be creating and 
> exposing their FM Descriptors in local / remote Maven repositories. This way 
> an assembler can take these FMs and build up its Sling instance.
> To avoid making each module to write their own FM Descriptor we should have a 
> Goal in the SlingFeature Maven Plugin that does that automatically.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to