If your dependency jars are in CVS they aren't really dependencies as far as Maven is concerned (except for the dependency report). Just leave them out of the POM.
Or, each time you update a jar CVS add the jar to the local Maven repository. Then it can find it. > -----Original Message----- > From: Bielby, Randy J [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 16, 2004 8:31 AM > To: Maven Users List > Subject: RE: Goal order > > > I've been thinking about doing just that. As much as I would > like to use Maven, it appears more and more like I am trying > to put a square peg into a round hole. As crazy as this > might sound I'm thinking of doing my CVS checkout, compile > and bundle using Ant, which it what I am currently doing. > And then using Maven for all the other project reports etc. > I guess I could do that with Ant also, it's just that Maven > seems so much easier. > > Randy Bielby > x32258 > > > > > >-----Original Message----- > >From: Steven Lohrenz [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, June 16, 2004 3:13 AM > >To: 'Maven Users List' > >Subject: RE: Goal order > > > > > >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] > >.apache.o > >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] > > > > > > --------------------------------------------------------------------- > 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]
