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] Closed: (MASSEMBLY-157) maven assembly plugin, includes/excludes in moduleSet
Date Fri, 17 Sep 2010 21:34:34 GMT

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

John Casey closed MASSEMBLY-157.
--------------------------------

    Resolution: Fixed
      Assignee: John Casey

I've verified that putting includes/excludes in the moduleSet section, rather than in the
embedded binaries section, works. See src/it/projects/multimodule/multimodule-binariesNotSource
for an example.

> maven assembly  plugin, includes/excludes in moduleSet
> ------------------------------------------------------
>
>                 Key: MASSEMBLY-157
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-157
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>         Environment: Maven 2.0.4, JDK 6.0, assembly plugin 
>            Reporter: Lukasz Dywicki
>            Assignee: John Casey
>            Priority: Minor
>             Fix For: 2.2-beta-6
>
>
> Hello everyone, I've some assembly descriptor with operations in modulesSet, but maven
ignore my excludes/includes.
> I've got all modules in bin directory, all modules in modules ditectory and all modules
in libs. 
> <?xml version="1.0" encoding="UTF-8"?>
> <assembly>
> 	<id>package</id>
> 	<includeBaseDirectory>false</includeBaseDirectory>
> 	<formats>
> 		<format>zip</format>
> 	</formats>
> 	<moduleSets>
>                 <!-- include modules -->
>                 <moduleSet>
> 			<binaries>
> 				<outputDirectory>modules/</outputDirectory>
> 				<includeDependencies>false</includeDependencies>
> 				<unpack>false</unpack>
> 				<excludes>
> 					<exclude>autoguard:autocontrol-core</exclude>
> 				</excludes>
> 			</binaries>
> 		</moduleSet>
> 		<!-- copy autoguard:autocontrol-core to bin -->
> 		<moduleSet>
> 			<binaries>
> 				<outputDirectory>bin/</outputDirectory>
> 				<includeDependencies>false</includeDependencies>
> 				<unpack>false</unpack>
> 				<includes>
> 					<include>autoguard:autocontrol-core</include>
> 				</includes>
> 			</binaries>
> 		</moduleSet>
> 		<!-- include module libs -->
> 		<moduleSet>
> 			<binaries>
> 				<outputDirectory>libs/</outputDirectory>
> 				<includeDependencies>true</includeDependencies>
> 				<unpack>false</unpack>
> 				<excludes>
> 					<!-- exclude modules -->
> 					<exclude>${project.groupId}</exclude>
> 				</excludes>
> 			</binaries>
> 		</moduleSet>
> 	</moduleSets>
> 	<!-- include project libs -->
> 	<dependencySets>
> 		<dependencySet>
> 			<outputDirectory>libs/</outputDirectory>
> 			<unpack>false</unpack>
> 			<scope>runtime</scope>
> 		</dependencySet>
> 	</dependencySets>
> </assembly>

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