RE: How to ask Maven to use jars from local drive ?

2004-03-05 Thread chaithanya.kumar
I have them all in local repository, but it still tries to download.. :-( ?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 10:11 AM To: Maven Users List Subject: Re: How to ask Maven to use jars from local drive ? Put them in your

RE: How to ask Maven to use jars from local drive ?

2004-03-05 Thread Charles Daniels
1. Is local repository in which you are placing your jars the location that maven expects? (maven.repo.local=${user.home}/.maven/repository)? 2. Are you placing your jars in the correct location within the repository? (${maven.repo.local}/groupId/jars/artifactId-version.jar)? 3. Have you named

pom.getPluginContext()

2004-03-05 Thread Jörn Gebhardt
Hi, I've written my own plugin from where I want to access the properties of another plugin (e.g. ${pom.getPluginContext('maven-test-plugin').getVariable('maven.test.reportsD irectory')}, however this doesn't seem to work any more (I'm pretty sure it worked before). I'm using Maven 1.0-rc1 on a

maven-call exits windows batch file: feature or bug?

2004-03-05 Thread Oliver Nölle
When I write the followin lines in a batch file: cd projects1 maven clean REM the following lines get never executed: cd ..\project2 maven clean ...and execute it on Win2K, after the first maven call (successful or not) the batch file stops processing after printing out the results of maven.

Re: maven-call exits windows batch file: feature or bug?

2004-03-05 Thread Emmanuel Venisse
- Original Message - From: Oliver Nölle [EMAIL PROTECTED] To: Maven Users List [EMAIL PROTECTED] Sent: Friday, March 05, 2004 2:08 PM Subject: maven-call exits windows batch file: feature or bug? When I write the followin lines in a batch file: cd projects1 maven clean REM the

RE: maven-call exits windows batch file: feature or bug?

2004-03-05 Thread Peter Bright
I would have thought that you could remedy this by writing call maven clean rather than simply maven clean. The reason it's doing what it's doing is that maven is a batch file, and when one runs a batch file from another batch file execution ends when the second batch file ends -- even if the

plugin ejb:jar

2004-03-05 Thread Ricardo de Souza Moura
I wish I put my META-INF informations into the file .jar I changed the propertie maven.ejb.src (maven.ejb.src=src/java), but my META-INF directory isn't into the src/java. I thougth that I could use the propertie maven.ejb.includes, but I am not getting to do to work. How could I put my

Réf. : plugin ejb:jar

2004-03-05 Thread Nicolas . CHALUMEAU
maven.ejb.src is not the src folder of your java classes but the location of your META-INF. Use somethink like : maven.ejb.src=src/ejb and in src/ejb/META-INF put your meta inf content Nicolas Ricardo de Souza Moura [EMAIL PROTECTED] 05/03/2004 11:54 Veuillez répondre à Maven Users List

RE: maven-call exits windows batch file: feature or bug?

2004-03-05 Thread Jean-Marc Lavoie
Try using: call maven clean -Original Message- From: Oliver Nölle [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 8:08 AM To: Maven Users List Subject: maven-call exits windows batch file: feature or bug? When I write the followin lines in a batch file: cd

RE: Réf. : plugin ejb:jar

2004-03-05 Thread Ricardo de Souza Moura
Ok, And Do I need put my packages into the /src/ejb ? or Can I create a new directory java into the /src/ejb and put my packages there ? How Can I exclude the .java files from my jar ? I only would like to put my .class files Thanks From: [EMAIL PROTECTED] Reply-To: Maven Users List [EMAIL

RE: Réf. : plugin ejb:jar

2004-03-05 Thread Nicolas . CHALUMEAU
Put all your java file in /src/java and let the ejb plugin generate your ejb-jar with all the thing to include in (maven.ejb.src content, .class of your /src/java). take a look at the ejb plugin (http://maven.apache.org/reference/plugins/ejb) for the goal and the properties to set. Nicolas

RE: Réf. : plugin ejb:jar

2004-03-05 Thread Ricardo de Souza Moura
I am having some doubts about how I can create my directory structure. I have been basing at the article from theserverside.com write by Srikanth Shenoy. I have to generate two artifacts, a jar(EJB) and a WAR. I create a root project and two subprojects. In my root project I create my

RE: Réf. : plugin ejb:jar

2004-03-05 Thread Ricardo de Souza Moura
I got it now !!! Thank you very very very much From: Ricardo de Souza Moura [EMAIL PROTECTED] Reply-To: Maven Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Réf. : plugin ejb:jar Date: Fri, 05 Mar 2004 12:36:02 -0300 I am having some doubts about how I can create my

plugin war:install

2004-03-05 Thread Ricardo de Souza Moura
I am getting a bad war file when I run this plugin. It get generate the war file, but when I try open with easyzip, I get a error. Float point division by zero. This error only happens when I put something into the /src/webapp directory. I have to put my WEB-INF directory into this directory,

Re: Excluding source in Java builds

2004-03-05 Thread Emmanuel Venisse
Why you don't explode your source repository into multiple directory? It's very much simple to show which classes are in wich projects. Emmanuel - Original Message - From: Brian Enigma [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 05, 2004 7:54 PM Subject: Excluding source

RE: plugin war:install

2004-03-05 Thread Ricardo de Souza Moura
Ok, I found the cause. I can't put a empty file into WEB-INF directory. I wrote a letter in the file and all work very well. From: Ricardo de Souza Moura [EMAIL PROTECTED] Reply-To: Maven Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: plugin war:install Date: Fri, 05 Mar 2004

Re: Excluding source in Java builds

2004-03-05 Thread Brian Enigma
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was kind of looking for a solution that didn't involve shuffling around stuff too much on the CVS server. We would probably drop Maven and continue using Ant if we had to break the single source folder into twelve separate ones. I hate to

Re: Excluding source in Java builds

2004-03-05 Thread Brian Enigma
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That is what I originally had, but got a parsing error when Maven starts up: $ maven -p project-util.xml java:compile __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v.

Re: Excluding source in Java builds

2004-03-05 Thread Brian Enigma
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Never mind. I solved it. The error message Maven spits out, as well as the reference for properties.xml show the tag as classname (all lower case). The maven-java-plugin-1.3/plugin.jelly file seems to want className (mixed case). Using