Downloading dependencies

2003-08-01 Thread Mike Dougherty




I am trying to get my dependencies setup in my project file. However, I can't seem to figure out how to tell Maven to NOT insert groupID/jars into the path. Looking at the error below what I want is for the mars_taglib.jar file to be downloaded from http://convair.xifin.com/jars/mars_taglib.jar and placed in lib/mars_taglib.jar. Is this possible? If so how?

Attempting to download mars_taglib.jar.
Error retrieving artifact from [http://convair.xifin.com/jars/mars/jars/mars_taglib.jar]: java.lang.Exception: Can't get mars_taglib.jar to lib/mars/jars/mars_taglib.jar
WARNING: Failed to download mars_taglib.jar.
The build cannot continue because of the following unsatisfied dependency:

mars_taglib.jar

Thanks,
Mike





-- 
Mike Dougherty
Sr. Software Engineer | [EMAIL PROTECTED] 
XIFIN, Inc. | http://www.xifin.com
Ph: 858.793.5700 | Fax: 858.793.5701
Fingerprint: 29DE DC92 822E B6F0 6A66 BCB8 8FE2 C562 7FB2 B342








signature.asc
Description: This is a digitally signed message part


Re: Downloading dependencies

2003-08-01 Thread Mike Dougherty




On Fri, 2003-08-01 at 11:20, Jason van Zyl wrote: 

On Fri, 2003-08-01 at 12:45, Mike Dougherty wrote:
 I am trying to get my dependencies setup in my project file. However,
 I can't seem to figure out how to tell Maven to NOT insert
 groupID/jars into the path. Looking at the error below what I want
 is for the mars_taglib.jar file to be downloaded from
 http://convair.xifin.com/jars/mars_taglib.jar and placed in
 lib/mars_taglib.jar. Is this possible? If so how?

You don't you put it where Maven expects it. The user guide clearly
explains where to put the JARs.


Because we have a structure in place which we have been using for 4+ years since this project's inception and 30+ developers that don't take kindly to change. The structure will remain as it is. If Maven's dependency checking can't be adapted to fit our project then we will not be able to use this feature of Maven.

So if I can't actually use the dependency download feature I would still like to use to documentation portion. Is there a way I can have the goal/build continue even if the file wasn't able to be downloaded or wasn't on disk?

Thanks for your help,
Mike





-- 
Mike Dougherty
Sr. Software Engineer | [EMAIL PROTECTED] 
XIFIN, Inc. | http://www.xifin.com
Ph: 858.793.5700 | Fax: 858.793.5701
Fingerprint: 29DE DC92 822E B6F0 6A66 BCB8 8FE2 C562 7FB2 B342








signature.asc
Description: This is a digitally signed message part


Using Ant and Maven

2003-07-30 Thread Mike Dougherty




I've got all of about 2 hours experience with Maven. So far it's looking pretty good. It seems to be purposed toward an OSS project, but I think we will still be able to use it for internal projects. I've been able to generate a simple site with Javadocs, a CheckStyle report, and some other stuff.

Anyway, we have a lot of time and effort into our pretty sophisticated ant build files. Is there a way I can use both? Can I call out to my ant build.xml from within the project.xml? If so, how?

I don't think I am going to be able to convince the powers that be to just drop Ant and re-do everything with Maven. If they are going to buy off on using Maven it's going to have to work in conjunction with Ant for some time to come. I did notice a section in the Ant Guide that will be devoted to this purpose, but the information isn't there yet.

Thanks,
Mike




-- 
Mike Dougherty
Sr. Software Engineer | [EMAIL PROTECTED] 
XIFIN, Inc. | http://www.xifin.com
Ph: 858.793.5700 | Fax: 858.793.5701
Fingerprint: 29DE DC92 822E B6F0 6A66 BCB8 8FE2 C562 7FB2 B342








signature.asc
Description: This is a digitally signed message part