RE: Having a problem with X-Doclet

2004-06-18 Thread Steven Lohrenz
You don't even have to go as far as defining a remote repository.  You
could just copy the files to your local repository and have Maven find
them there.  It won't try to download them after they are there.

I use that trick when I need to use a bunch of jar files that my company
has issued from other projects.  I just created a folder called
xxxcompany in .maven/repository/ directory, create a jar directory under
that and then put the necessary jars in there.  Then define the correct
dependency stuff for them and voila, it works.

Steven Lohrenz

-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 18, 2004 7:25 PM
To: 'Maven Users List'
Subject: RE: Having a problem with X-Doclet


It will unless you have jar override on. 

Alternatively, I found maven proxy to be usefull in this case. 
If I want to download a jar manually and put it somewhere on my network
I just put it on proxy server. Proxy will find it and will not go for
ibiblio. (pretty neat)

Alex.

> -Original Message-
> From: Robert Durgin [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 18, 2004 2:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Having a problem with X-Doclet
> 
> They aren't, but I threw in those two jars manually into the lib
> directory,
> and maven still tries to download them
> 
> 
> >From: Konstantin Priblouda <[EMAIL PROTECTED]>
> >Reply-To: "Maven Users List" <[EMAIL PROTECTED]>
> >To: Maven Users List <[EMAIL PROTECTED]>
> >Subject: Re: Having a problem with X-Doclet
> >Date: Fri, 18 Jun 2004 11:04:03 -0700 (PDT)
> >
> >--- Robert Durgin <[EMAIL PROTECTED]> wrote:
> > > I keep getting this error everytime I run X-Doclet,
> > > I have all the libraries
> > > downloaded, and I still get the same thing if I try
> > > deleting the libraries
> > > and trying to let maven download them itself, thanks
> > > in advance
> > >
> > > Tag library requested that is not present: 'maven'
> > > in plugin:
> > > 'maven-xdoclet-plugin-1.2.1'
> > > Attempting to download xdoclet-1.2.1.jar.
> > > WARNING: Failed to download xdoclet-1.2.1.jar.
> > > Attempting to download
> > > xdoclet-xdoclet-module-1.2.1.jar.
> > > WARNING: Failed to download
> > > xdoclet-xdoclet-module-1.2.1.jar.
> >
> >did you checked wheher those are at ibiblio?
> >
> >regards,
> >
> >=
> >[ Konstantin Pribluda ( ko5tik ) ]
> >Zu Verstärkung meines Teams suche ich ab Sofort einen
> >Softwareentwickler[In] für die Festanstellung.
> >Arbeitsort: Mainz
> >Skills:  Programieren, Kentnisse in OpenSource-Bereich
> >[ http://www.pribluda.de ]
> >
> >__
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam protection around
> >http://mail.yahoo.com
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> _
> FREE pop-up blocking with the new MSN Toolbar – get it now!
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
> 
> 
> -
> 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]



RE: Goal order

2004-06-16 Thread Steven Lohrenz
I looked through the sources hoping against hope that the dependency
task was a goal too, (then you could do a preGoal on it and viola
problem solved) but it doesn't seem to be.

Here's a possible work around:
Build an ant script to do only the relevant cvs downloads and install
the jars into your WEB-INF/lib directory and then have it launch maven. 

Ugly? Yes.  Working with 2 build tools: Not ideal, I know, but I would
say that it's better than using Ant for everything that you want to do.

But it'll work.

Then you can ask that the dependency task be a plug-in/goal which could
be preGoaled and maybe would get it in a version or two.  Or maybe it is
a goal already and we don't know about it?

Steven Lohrenz

-Original Message-
From: Bielby, Randy J [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 15, 2004 6:44 PM
To: Maven Users List
Subject: RE: Goal order

Yes, there is an easier way to work with Maven.  But I don't have the
luxury  (see thread
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
rg&msgNo=13520).  Although some would argue that it's not a luxury, and
I'd have to agree.

So, if I am going to try to build this from the pom, without having all
dependencies available in the repository, I need to get my cvs checkout
of at least the web-inf/lib to run prior to the dependencies goal.

Randy Bielby
x32258
 
 


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, June 15, 2004 9:44 AM
>To: Maven Users List
>Subject: Re: Goal order
>
>
>
>Are you saying that your project dependencies (jar files) are stored in
>CVS?  
>
>How often are these jar files updated?  
>
>Have you tried setting up your local and/or local-remote 
>repository that
>contains these jar files?  
>
>What is the supposed to be the end result of your build?  War?
>
>And I would guess that by adding a war:install goal, you want it
>installed in your local repository.  
>
>I'm asking because I think there is an easier way to use Maven than the
>way you are.
>
>Steve Lohrenz
>
>"Bielby, Randy J" <[EMAIL PROTECTED]> wrote on 06/15/2004, 04:22:02 PM:
>> Thanks to some good response from the list I've made some progress in
>> getting my build process into Maven.  
>>  
>> I am pulling some of my dependencies from my WEB-INF/lib by 
>overriding
>> the maven.jar property and using the jar element in the 
>dependency goal.
>> In order to make this work though I first have to have a copy of my
>> projects from CVS.  If I remove them I get errors that no 
>download url
>> was specified for the jars and thus the build stops due to the
>> dependencies not being fulfilled.  I have also added a goal for
>> war:install to my maven.xml file.
>>  
>> The problem is that it appears the dependencies are running 
>prior to the
>> cvs checkout.  But since many of the jars are being pulled 
>from one of
>> the projects within cvs, it errors off, chicken of the egg scenario.
>> So, I either have something missing that will tell Maven that my
>> dependencies are in one of the projects being pulled from 
>CVS or I need
>> to adjust the order of the goals, scm first and then dependencies.
>>  
>> Any thoughts?
>>  
>> Randy Bielby
>> x32258
>-- 
>Steven Lohrenz
>086 177 4024
>[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]