maven2 : packaging options

2005-08-15 Thread Rizwan Merchant
Hi, I have a project with a number of sub-modules. I need to specify in some of the sub-modules that those modules should not be jar-red. Basically, I want to call the "m2 install" command on the head project, but jar only some of the sub-modules. Is there an option for the element that will acco

Maven2: Managing entire build process

2005-08-12 Thread Rizwan Merchant
I am working on implementing a build process for our project. This process is required to be run as a cron job. The build process is going to do a number of things, such as: 1. Back up build directory 2. Check out source code 3. set up build environment 4. build the project 5. clean the database 6

RE: maven2: creatin jar files

2005-08-11 Thread Rizwan Merchant
figured it out.. use the element under the to specify which files to include in the jar lifecycle. thanks. -Original Message- From: Rizwan Merchant [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 10:30 AM To: Maven Users List Subject: RE: maven2: creatin jar files thats

RE: maven2: creatin jar files

2005-08-11 Thread Rizwan Merchant
you to include/eclude file to compille -D On 8/10/05, Rizwan Merchant <[EMAIL PROTECTED]> wrote: > > Hi, > How I create a jar file from my targets such that I can specify which jar > files certain classes should go to? > Basiclly I have the following ant task and need to tra

maven2: creatin jar files

2005-08-10 Thread Rizwan Merchant
Hi, How I create a jar file from my targets such that I can specify which jar files certain classes should go to? Basiclly I have the following ant task and need to translate it into maven2 Can someone show me an example? thanks. -Riz. ---

maven2 duplicate class error

2005-08-09 Thread Rizwan Merchant
Hi, I found this issue mentioned earlier on the archive. I am having problems compiling my project. Maven2 gives me a duplicate class error as follows no more tokens - could not parse error message: C:\Documents and Settings\rizwan .ALPHAGLOBE\UHM\source\com\alpha\patient\patientencounter\client

RE: Adding a local jar to a module's classpath?

2005-08-08 Thread Rizwan Merchant
I have inherited a project with over 3500 source files, which are dependent on many external jar files, many of which are not found in the maven2 repository. Does this mean that I have to sift through ALL the code and rename every single jar file, place it in the repository and create a .pom file

RE: internal dependency on jar files..

2005-08-05 Thread Rizwan Merchant
04:57:09PM -0400, Rizwan Merchant wrote: > > Hi, > I am trying to move from ant to maven2 for our build process. The current > build process creates some jar files from classes in our project. These jar > files are needed to further compile other code in the project (i.e. there > i

internal dependency on jar files..

2005-08-05 Thread Rizwan Merchant
Hi, I am trying to move from ant to maven2 for our build process. The current build process creates some jar files from classes in our project. These jar files are needed to further compile other code in the project (i.e. there is dependency within the code base). How can I achieve this in maven2

external dependencies for maven2

2005-08-05 Thread Rizwan Merchant
Hi, I have some external jar files that do not follow the naming conventions desired by maven2. take for example a jar file called hapi.jar These files are also not part of the maven repository. When I try to compile using maven2, I want maven to be able to see these jar files somewhere. How do I

RE: Maven2 help

2005-08-05 Thread Rizwan Merchant
this happening on any project? - Brett On 8/5/05, Rizwan Merchant <[EMAIL PROTECTED]> wrote: > > Hi, > I'm trying to use maven2 to compile some code using the pom.xml file shown > below,.i.e., I am running the command "m2 -compile" on a certain project. >

Maven2 help

2005-08-04 Thread Rizwan Merchant
Hi, I'm trying to use maven2 to compile some code using the pom.xml file shown below,.i.e., I am running the command "m2 -compile" on a certain project. Maven2 starts up but eventually dies with a "Compilation failure" message of the following nature: [INFO] Reason: Compilation failure [INFO] ---