Test dependency jar with internal compile <scope>dependency getting packaged

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Test dependency jar with internal compile <scope>dependency getting packaged

sanaraya
Hi ,
 I am novice to Maven
I have below dependency in my pom.xml

 <dependency>
            <groupId>org.cassandraunit</groupId>
            <artifactId>cassandra-unit-spring</artifactId>
            <version>3.1.1.0</version>
            <scope>test</scope>
</dependency>

which have internal netty-handler compile scope dependency which is getting
included in my assembly package
<groupId>io.netty</groupId>
<artifactId>netty-handler</artifactId>
<version>4.0.27<version>
 
 How to restrict this ??




--
Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]