maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Casey (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MASSEMBLY-66) Ability to index into a nominated dependency JAR to identify files to include in the assembly (Im thinking .so/.dll etc)
Date Tue, 09 Jun 2009 15:37:42 GMT

     [ http://jira.codehaus.org/browse/MASSEMBLY-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Casey updated MASSEMBLY-66:
--------------------------------

    Fix Version/s:     (was: 2.2)
                   2.3-beta-1

> Ability to index into a nominated dependency JAR to identify files to include in the
assembly (Im thinking .so/.dll etc)
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MASSEMBLY-66
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-66
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Improvement
>         Environment: Linux, x86_64, x86, win32
>            Reporter: Andy Brook
>             Fix For: 2.3-beta-1
>
>
> Im trying to bundle a SWT application, I'm almost there, the only thing missing is the
ability to include .so files in the assembly that are currently stored inside a dependancy.
 As far as I can tell there is no neat way to pull a few files out of a given dependency...
> My example is the SWT libraries, the GTK linux specific JAR in the eclipse bundle also
contain the native libraries.  Ive renamed this to fit into a maven2 repository, but really
dont want to have to copy the files manually.
> Ideally, I would like to be able to specify the dependency in mind and extend the fileSet
element to allow the context of the include to work only within that dependency.
> If there is something Im missing and this can be done with existing plugins Id like to
hear about it!
> eg:
> ::POM::
>     <!--ECLIPSE SWT GTK-->   
>     <dependency>
>       <groupId>org.eclipse.swt</groupId>
>       <artifactId>gtk-linux-x86</artifactId>
>       <version>3.1.1</version>
>       <scope>runtime</scope>
>     </dependency>
> ::assembly-descriptor.xml::
>     <!-- /native -->
> 	<fileSet>
> 	<dependency>org.eclipse.swt:gtk-linux-x86:3.1.1</dependency>
> 	<outputDirectory>/lib</outputDirectory>
> 	<includes>
> 		<include>*.so</include>
> 	</includes>
>     </fileSet>		

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message