maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhuman (JIRA)" <>
Subject [jira] [Created] (MASSEMBLY-853) jar which are not transitive is not excluding.
Date Thu, 04 May 2017 19:49:04 GMT
Bhuman  created MASSEMBLY-853:

             Summary: jar which are not transitive is not excluding.
                 Key: MASSEMBLY-853
             Project: Maven Assembly Plugin
          Issue Type: Bug
          Components: maven-archiver
    Affects Versions: 3.0.0, 2.4
            Reporter: Bhuman 

So here is the thing what I am trying is :

I have parent pom and I am using maven-assembly-plugin in that like below.


						<id>dist-assembly</id> <!-- this is used for inheritance merges -->
						<phase>package</phase> <!-- bind to the packaging phase -->


I also have assembley file which is listed below.

			<!-- <outputDirectory>target/classes/com/cac/customer/api </outputDirectory>

				<outputFileNameMapping>customerHub-1.0.0-SNAPSHOT-api.jar </outputFileNameMapping>


Now while building assembley jar I am getting only .class file which I want exactly and pushing
this jar 
to nexus.

While using this jar with below notation it also download some other jar which is not detect
by <useTransitiveDependencies>

Please suggest whats the way to exclude parent jar which are not TransitiveDependencies.

This message was sent by Atlassian JIRA

View raw message