You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Steve Lewis <sp...@yahoo.com> on 2003/10/13 17:24:20 UTC

Trying to include j2ee.jar

I'm very new to maven and I'm trying to figure out how
to include j2ee.jar as a dependency.  

Is it possible to do a "file://" in the URL, like so:

  <dependency>
	  <id>j2ee</id>
	 
<url>file:///c:\\java\\j2sdkee1.3.1\\lib\\j2ee.jar</url>
	  <jar>j2ee.jar</jar>
	</dependency>

Something tells me I'm going about this completely the
wrong way.  Do I need to set up a "j2ee" directory in
my local repository?

Steve

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to include j2ee.jar

Posted by Steve Lewis <sp...@yahoo.com>.
Okay, I got it to work by just using the local repo,
adding a j2ee/ directory and putting the jar in jars/.
 I should have read a bit more before trying the
mailing list.

Thanks,
Steve

--- Martin Jaeger <mj...@netcetera.ch> wrote:
> Hi Steve
> 
> If you don't want to use the maven jar system
> (central repository) you can
> override the stated dependencies.
> 
> Please refer to:
>
http://maven.apache.org/reference/user-guide.html#Storing
> JARs in CVS
> 
> Bye
> Martin
> 
> 
> On Mon, 13 Oct 2003, Steve Lewis wrote:
> 
> > From: Steve Lewis <sp...@yahoo.com>
> > To: Maven Users List <us...@maven.apache.org>
> > Subject: Trying to include j2ee.jar
> > Date: Mon, 13 Oct 2003 08:24:20 -0700 (PDT)
> >
> > I'm very new to maven and I'm trying to figure out
> how
> > to include j2ee.jar as a dependency.
> >
> > Is it possible to do a "file://" in the URL, like
> so:
> >
> >   <dependency>
> > 	  <id>j2ee</id>
> >
> >
>
<url>file:///c:\\java\\j2sdkee1.3.1\\lib\\j2ee.jar</url>
> > 	  <jar>j2ee.jar</jar>
> > 	</dependency>
> >
> > Something tells me I'm going about this completely
> the
> > wrong way.  Do I need to set up a "j2ee" directory
> in
> > my local repository?
> >
> > Steve
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Shopping - with improved product
> search
> > http://shopping.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> > For additional commands, e-mail:
> users-help@maven.apache.org
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@maven.apache.org
> For additional commands, e-mail:
> users-help@maven.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to include j2ee.jar

Posted by Martin Jaeger <mj...@netcetera.ch>.
Hi Steve

If you don't want to use the maven jar system (central repository) you can
override the stated dependencies.

Please refer to:
http://maven.apache.org/reference/user-guide.html#Storing JARs in CVS

Bye
Martin


On Mon, 13 Oct 2003, Steve Lewis wrote:

> From: Steve Lewis <sp...@yahoo.com>
> To: Maven Users List <us...@maven.apache.org>
> Subject: Trying to include j2ee.jar
> Date: Mon, 13 Oct 2003 08:24:20 -0700 (PDT)
>
> I'm very new to maven and I'm trying to figure out how
> to include j2ee.jar as a dependency.
>
> Is it possible to do a "file://" in the URL, like so:
>
>   <dependency>
> 	  <id>j2ee</id>
>
> <url>file:///c:\\java\\j2sdkee1.3.1\\lib\\j2ee.jar</url>
> 	  <jar>j2ee.jar</jar>
> 	</dependency>
>
> Something tells me I'm going about this completely the
> wrong way.  Do I need to set up a "j2ee" directory in
> my local repository?
>
> Steve
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org