You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Clowes, Stan, Technology VM" <St...@gb.vodafone.co.uk> on 2003/12/17 16:14:18 UTC

Dependencies - naming,format of etc

Hi,

New to maven and looking to use within our project. However I have some questions about dependencies:

The format of the location of a dependency seems very rigid i.e. :

${repo}/${groupId}/${type}s/${artifactId}-${version}.${type} 

Yes the variables can change but not the format.

Can this be altered to a directory location somewhere.

The only way I can get round this is using build or project properties which are not inheritable.

Also if your class file is dependent on another file in your project or another project for compilation i.e. the other file is not in a jar file; how do you resolve that dependency a none jar based dependency.

Regards
Stan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Dependencies - naming,format of etc

Posted by di...@multitask.com.au.
"Clowes, Stan, Technology VM" <St...@gb.vodafone.co.uk> wrote on 
18/12/2003 02:14:18 AM:

> Hi,
> 
> New to maven and looking to use within our project. However I have some 
> questions about dependencies:
> 
> The format of the location of a dependency seems very rigid i.e. :
> 
> ${repo}/${groupId}/${type}s/${artifactId}-${version}.${type} 
> 
> Yes the variables can change but not the format.
> 
> Can this be altered to a directory location somewhere.

See jar overrides in the User's Guide.

http://maven.apache.org/reference/user-guide.html#Overriding%20Stated%20Dependencies

> Also if your class file is dependent on another file in your project or 
> another project for compilation i.e. the other file is not in a jar 
file; 
> how do you resolve that dependency a none jar based dependency.
Put it in your source directory???
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org