Alex Thanks. I was trying to fool Maven, because the Cactus jars were in the repository (albeit with longer dev release names), and I couldn't get Maven to see those jars. But, I simply replaced those jars with the jars I was using with Ant (simply named cactus-1.5.jar and cactus-ant-1.5.jar) and updated my project.xml and everything is working fine.
bmj On Fri, 2003-05-30 at 11:53, Alex Vollmer wrote: > Brian, > > I haven't run Cactus but typically you need to tell Maven what JARs you > want even for activities unrelated to simple compilation. You mentioned > that you tried to add a <dependency> for Cactus but it didn't download. > You should probably look into why that is happening. If you can't get > that to work, you can at least "short-circuit" the JAR download and > simply put the Cactus JAR in your Maven repository. BTW, another handy > trick with Maven is to run it with the '-X' option which will print out > in great detail exactly what it is executing and, more importantly > perhaps, the CLASSPATH it is using. > > Hope this helps. > > --Alex > > brian janaszek wrote: > > >Hi > > > >Just getting starting with Maven (as a replacement for Ant) and I'm > >attempting to use the Cactus plugin, but without much success. My > >Cactus tests aren't compiling (the Cactus imports can't be found), but > >if I look in Maven's repository, there are the Cactus jars. I don't > >have a dependency entry in my project.xml file (I looked at several > >Jakarta project files--like the Turbine project.xml--and they did not > >reference cactus there). I've also attempted to add a reference to > >cactus in the dependency list, but each time Maven can't download the > >jar file. What am I missing? > > > >TIA > >bmj > > > > > >--------------------------------------------------------------------- > >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]
