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

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

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.


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

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on FELIX-806 started by Stuart McCulloch.

> 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
>            Assignee: Stuart McCulloch
>             Fix For: maven-bundle-plugin-1.6.0
>
>
> 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.


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

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch resolved FELIX-806.
------------------------------------

    Resolution: Fixed

Fixed in trunk, but not yet deployed as a snapshot

> 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
>            Assignee: Stuart McCulloch
>             Fix For: maven-bundle-plugin-1.6.0
>
>
> 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.


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

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch updated FELIX-806:
-----------------------------------

    Fix Version/s: maven-bundle-plugin-1.6.0

> 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
>            Assignee: Stuart McCulloch
>             Fix For: maven-bundle-plugin-1.6.0
>
>
> 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.


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

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Sylvain MARIE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645443#action_12645443 ] 

Sylvain MARIE commented on FELIX-806:
-------------------------------------

Ok Stuart ; I'll wait for the next release then - not in a hurry anyway :)

Cheers,

> 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.


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

Posted by "Stuart McCulloch (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart McCulloch reassigned FELIX-806:
--------------------------------------

    Assignee: Stuart McCulloch

> 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
>            Assignee: Stuart McCulloch
>
> 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.