You can always control the version of a transitive dependency through the dependencyManagement section in your pom.
/Anders On Tue, Feb 19, 2013 at 11:24 AM, sarmahdi <[email protected]> wrote: > Thanks Anders for the reply, > > the problem is I am not downaloding the 1.0.4 version, maven itself is > doing > it as a nested dependency for some other jar so i dont know how to change > the version for which to downalod, (besides having the dependency tags > write > myself) > > Also, if it was a sun/oracle un distributable jar, and are already added in > the JRE then they should be excluded automatically. Don't you think this is > more of a hassle now that it tries to download something that is not there > and also when it should be excluded. > > I added a log4j in netbeans and it added the excludes automatically for > javax jars. but this pom I am running is from the command line, the net > beans on his machine does not work like that and i am not able to download > jars/identify dependencies from that like i did on my machine. some > firewall > issue i guess. > > I will add the excludes myself and will see where i go from there > > Thanks again > > Syed > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Maven-3-0-4-not-able-to-download-new-jars-tp5747518p5747548.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
