war plugin and dependant webapps

2004-09-10 Thread Sonnathi, Venkat
Hi,

I have webapps depending upon a common webapp (for jsps, images, js...).
Each webapp can override stuff in common webapp and contains the files in
its own project.

common/src/webapp/welcome.jsp

webmoduleA/src/webapp/welcome.jsp

To accomplish building webmoduleA, I tried copying files from common to
${maven.war.webapp.dir} as pre-goal but the war plug-in when copying the
webmoduleA/src/webapp/ files does specify the ant:copy overwrite=true


  


  


and hence the file is not overwritten.

I made it as a post-goal and copy the files from common after the war:webapp
but the problem comes if the common/.../welcome.jsp has been modified after
webModuleA/.../welcome.jsp then it is overwritten.

How to handle this case?

Thanks,
--Venkat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: aspectj maven.aspectj.source

2004-08-27 Thread Sonnathi, Venkat
Thank you.

-Original Message-
From: Carlos Sanchez [mailto:[EMAIL PROTECTED]
Sent: Friday, August 27, 2004 3:20 PM
To: 'Maven Users List'
Subject: RE: aspectj maven.aspectj.source


Hi,

Thanks for pointing this out, it has just been fixed in CVS.
You can download it from
http://cvs.apache.org/repository/maven/plugins/maven-aspectj-plugin-3.2-SNAP
SHOT.jar

Regards

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net
 

> -Original Message-
> From: Sonnathi, Venkat 
> [mailto:[EMAIL PROTECTED] 
> Sent: Friday, August 27, 2004 4:59 PM
> To: 'Maven Users List'
> Subject: aspectj maven.aspectj.source
> 
> Hi,
> 
> I have assert statements in my java code and when I try to 
> weave aspects into it, iajc is not recognizing assert 
> statement even after I have set maven.aspectj.source = 1.4.
> 
> I took a peek at plugin.jelly of mavenaspectj-3.1.1 and don't 
> find reference to the maven.aspectj.source variable.
> 
> How do I enable 1.4 asserts with aspectj plugin?
> 
> Thanks,
> --Venkat.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



aspectj maven.aspectj.source

2004-08-27 Thread Sonnathi, Venkat
Hi,

I have assert statements in my java code and when I try to weave aspects
into it, iajc is not recognizing assert statement even after I have set
maven.aspectj.source = 1.4.

I took a peek at plugin.jelly of mavenaspectj-3.1.1 and don't find reference
to the maven.aspectj.source variable.

How do I enable 1.4 asserts with aspectj plugin?

Thanks,
--Venkat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] Maven FindBugs Plugin 0.8.2 released

2004-07-30 Thread Sonnathi, Venkat
I don't see any difference between 0.7.2 generated report and 0.8.2
generated report. As per the release notes it mentions about new "pmd" style
report... Can you provide a new sample output? 

Thanks,
--Venkat.

-Original Message-
From: Eric Pugh [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 29, 2004 2:13 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: [ANN] Maven FindBugs Plugin 0.8.2 released


The maven-plugins team is pleased to announce the FindBugs Plug-in 0.8.2
release!

http://maven-plugins.sourceforge.net

A plugin to automate FindBugs tasks

Changes in this version include:

  New Features:

o Switch to maven friendly raw report format. Add new "pmd" style report.
o add maven.findbugs.detail which can be low, medium, or high to control
  which errors are displayed.
o Instead of running findbugs against a compiled jar, run against the
  individual classes. This avoids running the unit tests just to get a
  compiled jar.

  Changes:

o Use findbugs version 0.8.2.

To automatically install the plugin, type the following on a single line:

maven plugin:download
  -DgroupId=maven-plugins
  -DartifactId=maven-findbugs-plugin
  -Dversion=0.8.2
  -Dmaven.repo.remote=http://www.ibiblio.org/maven,http://maven-plugins.sour
ceforge.net/maven/

For a manual installation, you can download the plugin here:
http://www.ibiblio.org/maven,http://maven-plugins.sourceforge.net/maven/mave
n-plugins/plugins/maven-findbugs-plugin-0.8.2.jar


Have fun!
-The maven-plugins team


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Classes in Test

2004-06-25 Thread Sonnathi, Venkat
Hi,

I have two projects Project A, Project B. Project B depends on Project A. I
have some utility test classes in Project A in test/java directory. Project
B test classes also need those test utility classes defined in Project A.
How do I accomplish this? Currently maven does not package classes in test
dir when it builds the project A.jar.

Thanks in advance.
--Venkat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



plugin variable

2004-06-24 Thread Sonnathi, Venkat
Hi,

Can I set a variable for a plugin. For e.g. Can I set maven.build.dir
setting for multiproject plugin alone? for the rest use-default?

Thanks,
--Venkat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven multiproject plugin help

2004-06-24 Thread Sonnathi, Venkat
Hi,

I am trying to run multiproject:site for multiproject 1.4 and am using Maven
rc2 and I get the error:


Attempting to download maven-1.0-rc2.jar.
...
.
build:start:

multiproject:projects-init:
[echo] Gathering project list

BUILD FAILED
File..
file:/c:/myhome/.maven/plugins/maven-multiproject-plugin-1.3/plugin.j
elly
Element... j:if
Line.. 51
Column 44
file:/c:/myhome/.maven/plugins/maven-multiproject-plugin-1.3/plugin.jelly:63
:9:
 This tag does not understand the 'collectionVar' attribute
Total time: 3 seconds
Finished at: Thu Jun 24 09:29:12 EDT 2004

Do I need to use RC3 for using this plugin? I look at the dependecies on the
maven plugin site and it says maven 1.o rc2 jar

Thanks,
--Venkat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Maven WebLogic 8.1 Plugin is available

2004-06-24 Thread Sonnathi, Venkat
I am interested in using it.

Thanks,
--Venkat.

-Original Message-
From: =?iso-8859-1?Q?=22G=F6schl=2CSiegfried=22_
[mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 4:41 AM
To: Maven Users List
Subject: RE: Maven WebLogic 8.1 Plugin is available


Sorry, the email was not finished yet - anyone who would like to use it ?!

And more important - thanks to Fabian Crabus who helped developing it!

Cheers,

Siegfried Goeschl

-Original Message-
From: Göschl,Siegfried 
Sent: Donnerstag, 24. Juni 2004 10:34
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Maven WebLogic 8.1 Plugin is available


Hi folks,

I wrote a Maven plugin for BEA WebLogic 8.1 a while ago and did not have any
time yet to upload it to maven-plugins.sourceforge.net  Shame on me.

I tested it for Maven RC1 under Windows XP and BEA WebLogic 8.1 SP2 - 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Recommended way to execute a java class

2004-06-03 Thread Sonnathi, Venkat
Hi,

After the build. I need to run a Java class with the same classpath as the
build classpath. Is 

RE: Aspectj warning

2004-06-03 Thread Sonnathi, Venkat
Thanks for the help.

-Original Message-
From: Charles N. Harvey III [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 9:54 AM
To: Maven Users List
Subject: Re: Aspectj warning


Venkat,
It is slightly annoying and I think it has to be brought up with the aspectj
folks.  Your project is compiling fine, because, as you said, you have
aspectjrt-1.1.1.jar in the project.xml.  For some reason, the ajc compiler
complains if it is not named "aspectjrt.jar".

So, to get around the warning, change the entry for the aspectjrt.jar in
your project.xml.


aspectj
jar
aspectjrt
aspectjrt.jar

root
true



That will do it.  Make sure you copy aspectjrt-1.1.1.jar to aspectjrt.jar
in your repository.

Oh, and you should consider switching to aspectj-1.2, it has better features
and it compiles much faster.


Charlie



Sonnathi, Venkat said the following on 6/3/2004 8:37 AM:

>Hi,
>
>I get this warning! Where should the aspectjrt.jar be present?
>
>aspectj:weave-internal:
>[move] Moving 1 files to Z:\build\gold\GOLD-presentation
>[iajc] couldn't find aspectjrt.jar on classpath, checked:
>[iajc]
>[iajc] 1 warning
>[iajc] Building zip:
>Z:\build\gold\GOLD-presentation\GOLD-presentation-1.0.j
>ar
>
>I have dependency on aspectjrt-1.1.1.jar in my project.xml.
>
>Thanks,
>--Venkat.
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Aspectj warning

2004-06-03 Thread Sonnathi, Venkat
Hi,

I get this warning! Where should the aspectjrt.jar be present?

aspectj:weave-internal:
[move] Moving 1 files to Z:\build\gold\GOLD-presentation
[iajc] couldn't find aspectjrt.jar on classpath, checked:
[iajc]
[iajc] 1 warning
[iajc] Building zip:
Z:\build\gold\GOLD-presentation\GOLD-presentation-1.0.j
ar

I have dependency on aspectjrt-1.1.1.jar in my project.xml.

Thanks,
--Venkat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Setting maven.multiproject.type

2004-04-29 Thread Sonnathi, Venkat
Yes, I did and invoked maven mutliproject:install from A directory. I am
using Maven rc2.

Thanks,
--Venkat.

-Original Message-
From: Brice Copy [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 29, 2004 10:42 AM
To: Maven Users List; Sonnathi, Venkat
Subject: Re: Setting maven.multiproject.type


Venkat,

> I have set of three modules/projects in a global project folder.
>
> A/moda - jar
> A/modb - jar
> A/modc - war
>
> I generally invoke maven from A and would like to utilize multiproject
> plugin. How do I set the maven.multiproject.type variable for each module
> separately?
>
I have the same project folder layout as you do, but I cannot seem to 
invoke any multiproject goals from A/modc

Did you manage to deploy the A/modc WAR file ? which Maven version are 
you using ?

I had to create a base project
A/Base
from which I can call multiproject:artifact.

Thanks

Brice


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: maven:war plugin change request

2004-04-29 Thread Sonnathi, Venkat
Hi Paul,

Atleast have a configurable property that is set to false by default and who
so ever wants can override this behavior. This will be a definite problem
when people have dependant web modules.

Thanks,
--Venkat.

-Original Message-
From: Glenn, Paul [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 29, 2004 11:52 AM
To: Maven Users List
Subject: RE: maven:war plugin change request


Hi,

I don't think you want an overwrite there unless the file
has changed, as you might want to preserve the timestamp
on an unchanged file. We do this for deploying 'exploded'
in our desktop development env. This saves us from having
to wait for JSPs getting compiled if they are unchanged.


Paul

-Original Message-
From: Sonnathi, Venkat [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 29, 2004 11:43 AM
To: 'Maven Users List'
Subject: RE: maven:war plugin change request


Hi,

The problem is that the ant:copy does not have a overwrite="true" in the
maven-war-plugin-1.5.jar. What is the procedure for requesting change to
this plugin? 

The following code in the goal war needs to be changed because of the
problems I am facing:


  


  


We need to add overwrite="true" to the  task above.

Thanks for your time.
--Venkat.

-Original Message-
From: Henry S. Isidro [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 28, 2004 8:10 PM
To: Maven Users List
Subject: Re: maven:war plugin


Sonnathi, Venkat wrote:

>Hi,
>
>I have common web module (CWM) and a few specialized web modules(SWM). SWM
>over-ride the jsp defines in CWM on a as needed basis.
>
>So, when building SWM web-app, I need to copy the webapp dir of CWM/src and
>then whatever is defined in SWM/src/webapp. I defined a preGoal for
>war:webapp, but by default the overwrite flag of ant:copy used in
war:webapp
>is false. So, the specialized files (jsp's in SWM) are not copied over the
>onces from CWM. 
>
>So can someone add a overwrite flag to maven:war plugin? Or are there
>anyother suggesstions?
>
>Thanks,
>--Venkat.
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>
Hi. Just set the flag to true. For example,



I've done that and it works.

Regards,

Henry S. Isidro
Software Engineer
Exist Software Labs


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: maven:war plugin change request

2004-04-29 Thread Sonnathi, Venkat
Hi,

The problem is that the ant:copy does not have a overwrite="true" in the
maven-war-plugin-1.5.jar. What is the procedure for requesting change to
this plugin? 

The following code in the goal war needs to be changed because of the
problems I am facing:


  


  


We need to add overwrite="true" to the  task above.

Thanks for your time.
--Venkat.

-Original Message-
From: Henry S. Isidro [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 28, 2004 8:10 PM
To: Maven Users List
Subject: Re: maven:war plugin


Sonnathi, Venkat wrote:

>Hi,
>
>I have common web module (CWM) and a few specialized web modules(SWM). SWM
>over-ride the jsp defines in CWM on a as needed basis.
>
>So, when building SWM web-app, I need to copy the webapp dir of CWM/src and
>then whatever is defined in SWM/src/webapp. I defined a preGoal for
>war:webapp, but by default the overwrite flag of ant:copy used in
war:webapp
>is false. So, the specialized files (jsp's in SWM) are not copied over the
>onces from CWM. 
>
>So can someone add a overwrite flag to maven:war plugin? Or are there
>anyother suggesstions?
>
>Thanks,
>--Venkat.
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>
Hi. Just set the flag to true. For example,



I've done that and it works.

Regards,

Henry S. Isidro
Software Engineer
Exist Software Labs


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: pre-compiling jsp files with maven

2004-04-28 Thread Sonnathi, Venkat
Hi,

I am trying to pre-compile jsp files using maven as per the following link:

http://wiki.codehaus.org/maven/CreatingWebApplications#head-2b0c6db33bd58f8f
93de3b6ff49263e574447731

However I get a class cast exception. Any suggestions?

precompile-jsp:
[DEBUG] Adding reference: jspc.classpath ->
[taskdef] [VERBOSE] dropping C:\tomcat5.0.16\common\lib\servlet.jar from
pat
h as it doesn't exist
[taskdef] [DEBUG] Finding class org.apache.jasper.JspC
[taskdef] [DEBUG] Class java.lang.Object loaded from parent loader
[taskdef] [DEBUG] Finding class org.apache.jasper.Options
[taskdef] [DEBUG] Class org.apache.jasper.Options loaded from ant loader
[taskdef] [DEBUG] Class org.apache.jasper.JspC loaded from ant loader
[taskdef] [DEBUG] Class java.lang.Throwable loaded from parent loader
[taskdef] [DEBUG] Class java.io.IOException loaded from parent loader
[taskdef] [DEBUG] Class java.lang.RuntimeException loaded from parent
loader

[taskdef] [DEBUG] Class java.lang.ClassLoader loaded from parent loader
[taskdef] [DEBUG] Class java.net.URLClassLoader loaded from parent
loader
[taskdef] [DEBUG] Class java.net.MalformedURLException loaded from
parent lo
ader
[taskdef] [DEBUG] Class java.io.OutputStream loaded from parent loader
[taskdef] [DEBUG] Class java.io.PrintStream loaded from parent loader
[taskdef] [DEBUG] Finding class javax.servlet.ServletContext
[taskdef] [DEBUG] Class javax.servlet.ServletContext loaded from ant
loader
[taskdef] [DEBUG] Class java.io.Writer loaded from parent loader
[taskdef] [DEBUG] Class java.io.FileWriter loaded from parent loader
[taskdef] [DEBUG] Class java.io.Reader loaded from parent loader
[taskdef] [DEBUG] Class java.io.FileReader loaded from parent loader
[taskdef] [DEBUG] Class java.lang.Exception loaded from parent loader
[taskdef] [DEBUG] Finding class javax.servlet.ServletException
[taskdef] [DEBUG] Class javax.servlet.ServletException loaded from ant
loade
r
[taskdef] [DEBUG] Class java.io.FileNotFoundException loaded from parent
loa
der
[taskdef] [DEBUG] Finding class org.apache.jasper.JasperException
[taskdef] [DEBUG] Class org.apache.jasper.JasperException loaded from
ant lo
ader
[taskdef] [DEBUG] Class java.lang.NumberFormatException loaded from
parent l
oader
[taskdef] [DEBUG] Class java.io.File loaded from parent loader
[taskdef] [DEBUG] Class java.util.Enumeration loaded from parent loader
[taskdef] [DEBUG] Class java.lang.ClassNotFoundException loaded from
parent
loader
[taskdef] [DEBUG] Class java.lang.NoClassDefFoundError loaded from
parent lo
ader
[taskdef] [DEBUG] Class java.lang.Class loaded from parent loader
[taskdef] [DEBUG] Class org.apache.commons.logging.LogFactory loaded
from pa
rent loader
[taskdef] [DEBUG] Class java.lang.String loaded from parent loader
[taskdef] [DEBUG]  +User task: jasper2 org.apache.jasper.JspC
[taskdef] [DEBUG] Finding class
org.apache.jasper.compiler.TldLocationsCache

[taskdef] [DEBUG] Class org.apache.jasper.compiler.TldLocationsCache
loaded
from ant loader
[taskdef] [DEBUG] Finding class org.apache.jasper.compiler.JspConfig
[taskdef] [DEBUG] Class org.apache.jasper.compiler.JspConfig loaded from
ant
 loader
[taskdef] [DEBUG] Finding class
org.apache.jasper.compiler.TagPluginManager
[taskdef] [DEBUG] Class org.apache.jasper.compiler.TagPluginManager
loaded f
rom ant loader
[taskdef] [DEBUG] Finding class org.apache.jasper.JspCompilationContext
[taskdef] [DEBUG] Class org.apache.jasper.JspCompilationContext loaded
from
ant loader
[DEBUG] Class java.util.Vector loaded from parent loader
[jasper2] [DEBUG] Finding class
org.apache.jasper.servlet.JspCServletContext

[jasper2] [DEBUG] Class org.apache.jasper.servlet.JspCServletContext
loaded
from ant loader
[jasper2] [DEBUG] Class java.util.Set loaded from parent loader
[jasper2] [DEBUG] Class java.io.PrintWriter loaded from parent loader
[jasper2] [DEBUG] Class java.lang.System loaded from parent loader
[jasper2] [DEBUG] Class java.net.URL loaded from parent loader
[jasper2] [DEBUG] Class java.lang.StringBuffer loaded from parent loader
[jasper2] [DEBUG] Class java.util.Hashtable loaded from parent loader
[jasper2] [DEBUG] Class java.util.zip.ZipEntry loaded from parent loader
[jasper2] [DEBUG] Class java.util.jar.JarEntry loaded from parent loader
[jasper2] [DEBUG] Finding class
org.apache.jasper.compiler.JspRuntimeContext

[jasper2] [DEBUG] Class java.lang.Runnable loaded from parent loader
[jasper2] [DEBUG] Class org.apache.jasper.compiler.JspRuntimeContext
loaded
from ant loader
[jasper2] [DEBUG] Class java.lang.InterruptedException loaded from
parent lo
ader
[jasper2] [DEBUG] Class java.security.Permission loaded from parent
loader
[jasper2] [DEBUG] Class java.io.FilePermission loaded from parent loader
[jasper2] [DEBUG] Class java.lan

maven:war plugin

2004-04-28 Thread Sonnathi, Venkat
Hi,

I have common web module (CWM) and a few specialized web modules(SWM). SWM
over-ride the jsp defines in CWM on a as needed basis.

So, when building SWM web-app, I need to copy the webapp dir of CWM/src and
then whatever is defined in SWM/src/webapp. I defined a preGoal for
war:webapp, but by default the overwrite flag of ant:copy used in war:webapp
is false. So, the specialized files (jsp's in SWM) are not copied over the
onces from CWM. 

So can someone add a overwrite flag to maven:war plugin? Or are there
anyother suggesstions?

Thanks,
--Venkat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Setting maven.multiproject.type

2004-04-28 Thread Sonnathi, Venkat
Sorry! I had a incomplete maven.multiproject.type in the
${user.home}/build.properties and it was overriding maven.multiproject.type
in the project.properties.

Thanks,
--Venkat.

-Original Message-
From: Sonnathi, Venkat [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 27, 2004 1:10 PM
To: 'Maven Users List'
Subject: Setting maven.multiproject.type


Hi,

I have set of three modules/projects in a global project folder.

A/moda - jar
A/modb - jar
A/modc - war

I generally invoke maven from A and would like to utilize multiproject
plugin. How do I set the maven.multiproject.type variable for each module
separately?

Thanks,
--Venkat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Setting maven.multiproject.type

2004-04-27 Thread Sonnathi, Venkat
Hi,

I have set of three modules/projects in a global project folder.

A/moda - jar
A/modb - jar
A/modc - war

I generally invoke maven from A and would like to utilize multiproject
plugin. How do I set the maven.multiproject.type variable for each module
separately?

Thanks,
--Venkat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: preGoal not invoked

2004-04-13 Thread Sonnathi, Venkat
Thanks. 

--Venkat.

-Original Message-
From: Craig S. Cottingham [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 13, 2004 12:38 PM
To: Maven Users List
Subject: Re: preGoal not invoked


On Tue, 2004-04-13 at 11:25, Sonnathi, Venkat wrote:
> I have the following maven.xml:
> maven.xml
>  xmlns:m="jelly:maven"
> xmlns:ant="jelly:ant"
> xmlns:j="jelly:core">
> 
> 
> 
> 
> In the preGoal of war:init
>  file="${gold.base.webapp.dir}"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> End of maven.xml
> 
> The preGoal is not being invoked (I don't see the ant:echo output). Can
> someone please help.

The  element should be at the same level as the  element,
not nested inside it.

-- 
Craig S. Cottingham
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



preGoal not invoked

2004-04-13 Thread Sonnathi, Venkat
Hi,

I have the following maven.xml:
maven.xml





In the preGoal of war:init











End of maven.xml

The preGoal is not being invoked (I don't see the ant:echo output). Can
someone please help.

Thanks,
--Venkat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Default/bootstrap Classpath

2004-04-09 Thread Sonnathi, Venkat
Hi,

I am new Maven user. So please excuse me if this is a very naive/dump
question:

I have created a small project which refers to Xerces classes and in the
project.xml I have not specified the xerces.jar as the dependency and when I
do a jar:jar goal it compiles and creates a jar with my classes. So, I am
assuming that there is a certain default classpath which maven has - Can
someone throw some light on this.

Thanks,
--Venkat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Can we deploy build jars to maven.local.repo directory?

2004-03-31 Thread Sonnathi, Venkat
> Hi,
> 
> I would like to know if we can deploy the new built jars to
> maven.local.repo directory. I am trying to build hivemind and it has two
> modules - framework and library. library depeds upon the jar created in
> the framework. I don't have ibibilio.org account. It would be nice if I
> could specifiy that the jar be deploy to ${maven.local.repo} directory.
> 
> Thanks,
> --Venkat.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]