On Mon, 2003-07-21 at 10:45, Mirko Novakovic wrote: > Hello, > > I am new to Maven and just trying to set up my project. > > I try to compile the sources in my project by typing in "maven > java:compile" (I've defined the POM). > > I get an error because of unsatisfied dependencies, e.g. ant-1.5.1.jar. > ( which are not dependencies defined in my POM) I've set up my own > remote repository (in build.properties) and there I have version 1.5.3 > of ant. Is there a chance to change the dependencies for the java goal? > I don't want to put all the needed "old" jars in my remote repsoitory... >
I am afraid you need them in java plugin and in many other plugins...unless you want to write a dozens of your own maven plugins or download required dependencies manually. But then you have almost no profits from using Maven. > There would be a chance to get them from the ibiblio.org server but > there I've the problem that I've to go through an proxy. The rights are > very restricted in our company and it would be unsecure to put my proy > password in the build.properties file. So I've to get the libs from my > own remote repository. > > Thank you. You can consider making your own company-wide mirror of maven's ibiblio repository. Note also that you can pass a password using command line option: -Dmaven.proxy.password=xxxx It is not secure as well, but still better then keeping the password in properties files. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
