You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stuart McCulloch (JIRA)" <ji...@apache.org> on 2008/11/05 20:51:44 UTC

[jira] Commented: (FELIX-806) changing the internal configuration of the archive plugin doesn't seem to be possible

    [ https://issues.apache.org/jira/browse/FELIX-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645305#action_12645305 ] 

Stuart McCulloch commented on FELIX-806:
----------------------------------------

FYI we do already read some settings from the archive configuration of the maven-jar-plugin,
but unfortunately don't take notice of the descriptor setting, so the descriptor is always added

It should be straightforward to fix, however I have not yet planned the next release of the plugin

> changing the internal configuration of the archive plugin doesn't seem to be possible
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-806
>                 URL: https://issues.apache.org/jira/browse/FELIX-806
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven Bundle Plugin
>            Reporter: Sylvain MARIE
>
> Hi,
> It does not seem to be possible to configure the maven-archive-plugin through configuration of the maven-bundle plugin.
> For example in order to remove the META-INF/maven dir in a resulting jar you can do the following conf
> of the maven-jar-plugin:
> <pluginManagement>
> 	    <plugins>
> 			<plugin>
> 				<groupId>org.apache.maven.plugins</groupId>
> 				<artifactId>maven-jar-plugin</artifactId>
> 				<configuration>
> 					<archive>
> 						<!--in order not to include the META-INF/maven directory-->
> 						<addMavenDescriptor>false</addMavenDescriptor>
> 					</archive>
> 				</configuration>
> 			</plugin>
> 		 </plugins>
> 	</pluginManagement>
> This will result in the internal archive plugin being configured accordingly (i.e. without the META-INF/maven dir).
> However it is not possible to do the same with maven-bundle-plugin.
> Could this feature be integrated easily ?
> Thanks,
> Sylvain

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.