test\resources dependency issue

2006-08-18 Thread Kapil Gupta\(CT\)
Hi, I have a multi module project with two modules A and B (depends on A). Can I use a resource (XML) file which is available in test\resources folder of module A while running test cases of module B? I receive FileNotFoundException on loading the XML from module B. I tried to use test scope inste

elaborate test case results?

2006-08-07 Thread Kapil Gupta\(CT\)
Hi, Using test phase am able to execute my test cases and maven gives me result of how many and which test case failed or resulted in error. Is there any way so Maven can tell me at which line the test case failed or cause of failure like in Eclipse? Thanks, Kapil CONFIDENTIALITY NOTICE Th

Resolving Source code dependency among modules?

2006-08-07 Thread Kapil Gupta\(CT\)
Hi, I have a multi-module (Spring based) project and there is a case where module A is generating source code of module B and module B generates source code of module C. The reason behind this is that I have separated interfaces of my application in module A and using a perl script to generate

code obfuscation plugin?

2006-08-02 Thread Kapil Gupta\(CT\)
Hi, I would like to obfuscate my java code after compiling. Is there any Maven plugin available that does this? Thanks, Kapil

RE: Dependencies not getting resolved even after install

2006-07-30 Thread Kapil Gupta\(CT\)
nstalling commons-logging-api manually into your local repo. Isn't that already available in the Central repo? (Perhaps not version 1.1, I don't know...) Wayne On 7/29/06, Kapil Gupta(CT) <[EMAIL PROTECTED]> wrote: > Hi, > > I have installed my thirdparty jar files in m

Dependencies not getting resolved even after install

2006-07-29 Thread Kapil Gupta\(CT\)
Hi, I have installed my thirdparty jar files in maven local repository using install:install-file goal. While compiling my module, I receive following errors [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not

Site generation for single module in multi module project

2006-07-28 Thread Kapil Gupta\(CT\)
Hi, I have a multi module project with a parent pom. There are lots of sub modules and one such module contains all the interfaces of the application. After building my project through continuum, the site command on parent pom generates javadocs for each module. But I would like to generate javad

How to copy jars from local repository?

2006-07-24 Thread Kapil Gupta\(CT\)
Hi, Am using Maven to build my multi module application which is based on Spring framework. To run the application, I place my modules jar files and dependency jars in a folder and use a batch file to include all the jars present in that folder in classpath and run the main class. While b

Configuring build process on cvs checkin?

2006-07-21 Thread Kapil Gupta\(CT\)
Hi, Can I configure Continuum to build project and send mail only if there are any code changes (cvs commits)? Right now, it sends mail either always or on state change but I would like it to build my project and send mail only when there is change in source code Thanks, Kapil

How to create variable in pom file?

2006-07-18 Thread Kapil Gupta\(CT\)
Hi, Is it possible to create an environment variable in a pom file? I want to create a variable in parent pom which can be accessed in child pom files. Thanks & Regards, Kapil

RE: extracting zip file?

2006-07-17 Thread Kapil Gupta\(CT\)
x27;d suggest binding an execution of the maven-antrun-plugin to an appropriate phase and use a little ant to get the job done. Or write your own plugin of course. Adam -Original Message- From: Kapil Gupta(CT) [mailto:[EMAIL PROTECTED] Sent: Monday, July 17, 2006 2:26 PM To:

extracting zip file?

2006-07-17 Thread Kapil Gupta\(CT\)
Hi, Is there any way to extract zip file thru a pom file? Thanks, Kapil

Building multi modules individually and Copying artifacts

2006-07-17 Thread Kapil Gupta\(CT\)
Hi, Am using tomcat to run my application which is build on spring framework. My application consists of several modules with some dependencies on each other. Lets say module A is independent, module B depends on A and module C depends on A. I wanted my build process to generate and copy all the

#CVS.lock error on building project

2006-07-10 Thread Kapil Gupta\(CT\)
Hi I am facing this error while trying to build my project. The error does not appears on deleting the project from working directory and building it again. My scm tag contains entry to my project directory in CVS. Provider message: The cvs command failed. Command output: ---

RE: How to specify diff name to pom file

2006-07-10 Thread Kapil Gupta\(CT\)
take the current url and we substring it with "/pom.xml".length() Please file an issue and we'll fix it in the next version. Emmanuel Kapil Gupta(CT) a écrit : > My my_custom_pom.xml is in E:\Shared\Development folder and the > Common\Common module is in E:\Shared\Developme

RE: How to specify diff name to pom file

2006-07-10 Thread Kapil Gupta\(CT\)
mmon\pom.xml (The system >> >> cannot find the path specified) >> >> See that it truncated last four >> characters from the parent pom name. I don't see where it is truncated. your my_custom_pom.xml is under E:\Shared\Development\my_custom\ right? What is the corre

RE: How to specify diff name to pom file

2006-07-10 Thread Kapil Gupta\(CT\)
] Sent: 10 July 2006 13:45 To: continuum-users@maven.apache.org Subject: Re: How to specify diff name to pom file Hmm, strange. Can you send your logs about it? Emmanuel Kapil Gupta(CT) a écrit : > Hi, > Can I specify a different name to my parent pom file, say > "my_custom_pom_fil

How to specify diff name to pom file

2006-07-10 Thread Kapil Gupta\(CT\)
Hi, Can I specify a different name to my parent pom file, say "my_custom_pom_file.xml". When I tried to use this name, continuum was looking for sub modules in the my_custom_pom folder. It works only if the pom file name is of only 3 characters. Regards, Kapil Gupta