You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Michal Slocinski <mi...@gmail.com> on 2006/09/09 11:55:07 UTC

assembly plugin and many modules

Hi,

by default when working with modules assembly plugin and marking that
dependencies should be included (as below), created assembly contains
all dependencies: runtime, test, ....

	<moduleSets>
		<moduleSet>
			<includes>
				<include>org.myprod:child1</include>
				<include>org.myprod:child2</include>
			</includes>
			<binaries>
				<outputDirectory>/</outputDirectory>
				<includeDependencies>true</includeDependencies>
				<unpack>false</unpack>
			</binaries>
		</moduleSet>
	</moduleSets>

I'd like to have only runtime dependencies in my assembly - is this
possible? I tried it by adding section as below but it doesn't work.

  <dependencySets>
    <dependencySet>
      <outputDirectory>/</outputDirectory>
      <unpack>false</unpack>
      <scope>runtime</scope>
    </dependencySet>
  </dependencySets>	

-- 
with best regards / z pozdrowieniami

Michal Slocinski
michal.slocinski@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org