Re: Using commons-net ftp jar as a dependency
If you know you're not going to use the stuff it's dragging in I think you can exclude it; org.springframework spring-web ${version.springframework} commons-logging commons-logging I use that along with Version99 Version 99 Does Not Exist Maven repository default http://no-commons-logging.zapto.org/mvn2 So that I can use SLF4J's commons logging replacement. But otherwise, I agree with Bruno; I'd let it drag in the other stuff, for example, in case a future version starts using it. One of the advantages of using maven is learning to let go and stop micromanaging your jars. Steven Jardine wrote: I have a project that uses the commons-net package. Well it actually uses only the commons-net-2.0-ftp.jar file found at http://repo1.maven.org/maven2/commons-net/commons-net/2.0/commons-net-2.0-ftp.jar. It there a way for me to have my project depend on only this jar file not the whole commons-net project. My current dependency is commons-net commons-net 2.0 compile Thanks, Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using commons-net ftp jar as a dependency
What is the problem of depending on that artifact having the effect of depending on other jars? The commons-net-2.0-ftp.jar is created not because of some maven convention. Actually, the Commons-Net creates that jar just to separate classes. The right way of doing that would be using separated modules, but they are not doing that. My suggestion? Keep that dependency and let your project with whatever comes from that. Regards, Bruno On Nov 12, 2008 1:47pm, Steven Jardine <[EMAIL PROTECTED]> wrote: I have a project that uses the commons-net package. Well it actually uses only the commons-net-2.0-ftp.jar file found at http://repo1.maven.org/maven2/commons-net/commons-net/2.0/commons-net-2.0-ftp.jar. It there a way for me to have my project depend on only this jar file not the whole commons-net project. My current dependency is commons-net commons-netartifactId> 2.0 compile Thanks, Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using commons-net ftp jar as a dependency
I have a project that uses the commons-net package. Well it actually uses only the commons-net-2.0-ftp.jar file found at http://repo1.maven.org/maven2/commons-net/commons-net/2.0/commons-net-2.0-ftp.jar. It there a way for me to have my project depend on only this jar file not the whole commons-net project. My current dependency is commons-net commons-net 2.0 compile Thanks, Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]