Tried it but it does not work either ;-(
Seems that it is not possible then ...

--mike

Bulent Erdemir wrote:

You also might try working with a hybrid repository setting. Try something like:

maven.repo.remote=file:path_to_local_repo, http://www.ibiblio.org/maven

in your properties file. This way, maven will first look to your local
disk, use the jar if found, and download from ibiblio (maven's
default) if not found. And if you put your jar in this local directory
like path_to_local_repo/your_artifact_id/jars/your_jar , maven will
pick it up.

This way you'll be populating a local repository which you may well
use in the future for other purposes.

I'm not quite sure but you might need to set maven.repo.local=path_to_local_repo also.

Bulent Erdemir



On Tue, 09 Nov 2004 15:33:40 +0100, Milos Kleint <[EMAIL PROTECTED]> wrote:


Milos Kleint wrote:





ignore the url tag, it's used just in the printout you just received.
specify the path to the artifact in the jar tag..
<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


^^^^^^^^^^^^^^^^^^^^^^^
a typo.. should be
maven.jar.override=true

Milos





maven.jar.jxip=${basedir}/xip/lib/jxip.jar

in 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]



---------------------------------------------------------------------
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]



Reply via email to