<dependency>
<groupId>jxip</groupId>
<artifactId>jxip</artifactId>
<version></version>
<jar>${basedir}/xip/lib/jxip.jar</jar>
</dependency>
if it doens't work (I can't test it right now), put the properties
maven.java.override=true
maven.jar.jxip=${basedir}/xip/lib/jxip.jarin your project.properties file.
It might be that the <jar> tag just lets you specify what jar to look for in the local repository and not at a custom place like you specified. Please check the docs for details I'm almost sure I read it somewhere.
hope that helps..
Milos Kleint
Michael Niemaz wrote:
Recall the local dependency, I tried what you suggested and It did not work:
Attempting to download jxip.jar. WARNING: Failed to download jxip.jar. The build cannot continue because of the following unsatisfied dependency: jxip.jar (try downloading from /home/popol/gkls/xip/lib/) Total time: 1 seconds Finished at: Tue Nov 09 15:11:14 CET 2004
Although the jar file jxip.jar is indeed located under /home/popol/gkls/xip/lib/
;-(
Here's my project's dependencies declaration:
<dependency> <groupId>jxip</groupId> <artifactId>jxip</artifactId> <version></version> <url>${basedir}/xip/lib/</url> <jar>jxip.jar</jar> </dependency>
I even tried to put the jar fullpath in the jar element ...
Any ideas?
thx,
--mike
Brett Porter wrote:
The download report is based on the <versions> element in the project.xml file, I believe.
On Tue, 09 Nov 2004 12:19:19 +0100, Michael Niemaz
<[EMAIL PROTECTED]> wrote:
Thanx a lot! Also, I kind of have difficulties to deploy my stuff with the download html link being updated. All it says is that there is nothing to download. Any idea? bug?
--mike
Bulent Erdemir wrote:
check out the <jar> tag in the <dependency> element. There you can specify a jar file name. Also check out the maven.jar.override directive.
On Tue, 09 Nov 2004 11:54:36 +0100, Michael Niemaz <[EMAIL PROTECTED]> wrote:
Hi,
Is it possible to specify a local dependency instead of a remote one?
The reason is that some resources that my project is using are, for
the moment,
not to be acceesible by anyone from outside ... but i'd still want
to use maven
to ease the ditribution process of my project.
I looked at the <dependencies> element but couldn't figure out how
to specify a
local path.
Any idea?
Thanx,
--mike
--------------------------------------------------------------------- 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]
.
--------------------------------------------------------------------- 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]
.
--------------------------------------------------------------------- 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]
