On Sun, Mar 21, 2010 at 6:51 PM, Arrowx7 <[email protected]> wrote:
> Then I write dependencies, such as for apache commons logging
>    <dependency>
>        <groupId>org.apache.commons</groupId>
>        <artifactId>commons-logging-1.1.1</artifactId>
>        <version></version>
>    </dependency>
>
> It complains because it wants the version, if I give it the version it says
> it can't find it.  How do I just get this jar in there without setting up
> your own repository and installing it to repository, generating version
> etc... I just want to simply linclude that file in there.  I realize that
> it's bad format, but how do I tell it to just grab that file regardless of
> version.

I think you want:
http://repo2.maven.org/maven2/commons-logging/commons-logging/1.1.1/

Try this...
<dependency>
  <groupId>commons-logging</groupId>
  <artifactId>commons-logging<artifactId>
  <version>1.1.1</version>
</dependency>

(A Maven repository has a specified layout.  You can't just point at
any collection of jars.)

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to