You can use:

<decependency>
  <id>ejb</id>
  <version/>
  <jar>ejb.jar</jar>
</decependency>

Emmanuel

-----Message d'origine-----
De: Rademacher Tobias <[EMAIL PROTECTED]>
A: "'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
Date: 01/10/02
Objet: [Decependency] Who to get jar's with no version or when path & ja

Hi Folks,

getting of jars from remote repos works fine if they follow the sematic
<id>-<version>.jar

But I have problems getting jar's that have no versions especially the
ejb.ja or jar
where the pathname is diffent from jar name (eg. aspectjrt-1.0.6.jar,
jboss-system-1.0.jar ).

I used the following pom structure

<decependency>
  <id>ejb</id>
  <version/>
  <url>http://www.ibiblio.org/maven/ejb/jars/ejb.jar</url>
</decependency>

It results in the following error:

Getting: http://www.ibiblio.org/maven/ejb/jars/ejb-.jar
Error opening connection java.io.FileNotFoundException:
http://www.ibiblio.org/maven/ejb/jars/ejb-.jar
Error opening connection java.io.FileNotFoundException:
http://www.ibiblio.org/maven/ejb/jars/ejb-.jar
Error opening connection java.io.FileNotFoundException:
http://www.ibiblio.org/maven/ejb/jars/ejb-.jar
Can't get http://www.ibiblio.org/maven/ejb/jars/ejb-.jar to
C:\maven-1.0-beta-7\repository\ejb\jars\ejb-.jar

As far as I can see the POM needs a version flag. If I drop the version
element in this dependecy branch
maven seeks for _ejb-null.jar_ wich definetly doesn't exits.

So maven constructs 

<maven.repo.remote>/<dependecy.id>/jars/<dependecy.id>-<dependecy.versio
n>.j
ar

to get a jar from a repository, doesn't it?

So how do I get the ejb.jar, aspectrt-1.0.6.jar or the jboss stuff?

Another question: Would it be possible to add strutstest.jar to ibiblio?

I'm using beta 7.

Thx for your help.

Bye
Toby





--
To unsubscribe, e-mail:  
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


________________________________________________________________
Etudiant: Wanadoo t'offre le Pack eXtense Haut D�bit soit 150,92 euros
d'�conomies !
Et pour 1 euro de plus, re�ois le CD-ROM du jeu Dark Age of Camelot
+ 1 mois de jeu en r�seau offert ! 
Clique ici : http://www.ifrance.com/_reloc/mail.etudiant 


_____________________________________________________________
Exclusif: 75 euros rembours�s sur le pack eXtense Haut D�bit de Wanadoo ! 
Vivez l'Internet sans contrainte en b�n�ficiant d'un prix "tout compris",
d'un forfait haut d�bit illimit�, d'un acc�s ADSL et d'un Modem ADSL simple � 
installer !
Cliquez ici : http://www.ifrance.com/_reloc/mail.exclusif 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to