Hi Ron,

Did you read the documentation for writing descriptors for the assembly
plugin?

For instance, it has this bit:

http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_dependencySet

with the parameter:

|useTransitiveDependencies|     Determines whether transitive dependencies
will be included in the processing of the current dependency set. If
true, includes/excludes/useTransitiveFiltering will apply to transitive
dependency artifacts in addition to the main project dependency
artifacts. If false, useTransitiveFiltering is meaningless, and
includes/excludes only affect the immediate dependencies of the project.
By default, this value is true. (Since 2.2) The default value is |true|.



maybe setting this to false would work for you?

-Marshall

On 6/30/2010 10:59 AM, Ron Wheeler wrote:
> I am still struggling with this little task.
>
> I am trying to get a tar that contains a bunch of jars that were
> created using the assembly plug-in as "jar-with-dependency".
>
> How can this be done?
> Using the assembly plug-in with dependencyset gets the jars that I
> want but also adds all of the jars that are already in the
> jar-with-dependency jars.
>
> I can exclude the transitive dependencies in the pom but that creates
> a maintenance headache since I will have 1 pom that sets them as
> dependencies to create the jar-with-dependencies and another that has
> 60+ exclusion to stop them.
>
> Is there another way to specify artifacts from Nexus other than
> dependencySet?
>
> Thanks for everyone's help and patience.
>
> Ron
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>

Reply via email to