I just started looking into Maven as a possible replacement for our
large ant build scripts.  I've read a few articles and then started to
try to put together a structure to build our product using Maven.  This
brought up the following questions:
 
1) How does everyone specify the dependencies for a web application?
Specifically, the servlet api libraries which come from the container.
Our developers use Tomcat, the 'release' build is done on a machine
running WebLogic. 
 
2) I know that you can use the J2EE libraries for #1 above, but what
happens with the central repository(...ibiblio/maven) doesn't contain
entries for J2EE?
 
3)  What about JDBC libraries from vendor like Oracle, IBM, Microsoft,
etc within the central repository?
 
4) What about 'other libraries' that we use within our webapp that are
not in the central repository?  Libraries from SourceForge, some in fact
don't number their jar file with version number (xyz.jar rather than
xyz-1.2.1.jar)?
 
Currently, when our project is checked out of CVS, the WEB-INF/lib
directory already has these libraries and the build works but if we
switch to Maven,  every developer will (potentially) have to request a
build that populates their local repository from the central repository.
As I started to try to convert our project over to Maven, I have had to
manually create entries in my local repository.  There's got to be a
better way! (Which I probably haven't read about yet)
 
Mike Miller
JDA Software Group, Inc.
7501 Ester's Blvd, Suite 100
Irving, Texas 75063
 

Reply via email to