[
https://issues.apache.org/jira/browse/SLING-8683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16928290#comment-16928290
]
Carsten Ziegeler commented on SLING-8683:
-----------------------------------------
Renamed the mojo to include artifact and adjusted the configuration; it's now
possible to specify the name of an extension to put the artifact into as well
(using includeArtifactExtension):
{noformat}
<plugin>
<groupId>org.apache.sling</groupId>
<artifactId>slingfeature-maven-plugin</artifactId>
<version>1.1.3-SNAPSHOT</version>
<extensions>true</extensions>
<executions>
<execution>
<goals>
<goal>include-artifact</goal>
<goal>attach-features</goal>
</goals>
</execution>
</executions>
<configuration>
<includeArtifactClassifier>bundle</includeArtifactClassifier>
</configuration>
</plugin>
{noformat}
> Slingfeature maven plugin should be usable to wrap project artifacts in
> feature.
> --------------------------------------------------------------------------------
>
> Key: SLING-8683
> URL: https://issues.apache.org/jira/browse/SLING-8683
> Project: Sling
> Issue Type: Improvement
> Components: Feature Model
> Affects Versions: slingfeature-maven-plugin 1.1.0
> Reporter: Karl Pauls
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: slingfeature-maven-plugin 1.1.4
>
>
> It would be nice if there was an easy way to create a feature for the
> artifact(s) of a maven project without manually creating the feature. The
> idea was to maybe make it so that if the slingfeature-maven-plugin is added
> to a project, it will generate and a attach a feature wrapping the
> artifact(s) from the build automatically.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)