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

Reply via email to