JAR with classifier being ignored

2010-02-11 Thread Sri Sankaran

Maven version: 2.2.1

I am unable to figure out why the proper dependency is not being bundled
into my project's WAR.

My WAR module expresses a dependency on a SWF (a Flex thing) as follows


  com.sas.mis
  molly-swf
  0.0.3
  test
  swf


I expect to see molly-swf-0.0.3-test.swf in my WAR.  Instead I see
molly-swf-0.0.3.swf.

It is as if the test classifier is being ignored.

What could be causing this problem?

Sri
-- 
View this message in context: 
http://old.nabble.com/JAR-with-classifier-being-ignored-tp27556754p27556754.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Interpolation of HTML files

2010-02-03 Thread Sri Sankaran

Yep.  That was it.  Thanks.

I did see that page earlier but dismissed it since I thought it applied to
external resources and I didn't consider src/main/webapp an "external
resource".

You live and learn.  

Thanks

Sri


Karl Heinz Marbaise wrote:
> 
> Hi,
> 
> 
> Sri Sankaran wrote:
>> Is filtering not implicit when the WAR plugin copies files from
>> src/main/webapp?
> As far as i understand the docs 
> http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html
> No...you have to explicit activate it for particular file types...
> 
> Kind regards
> Karl Heinz Marbaise
> 

-- 
View this message in context: 
http://old.nabble.com/Interpolation-of-HTML-files-tp27438828p27439114.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Interpolation of HTML files

2010-02-03 Thread Sri Sankaran

OK.  So that leads me to the question "how"?  

The docs only talk of filtering deployment descriptors
(http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html) and
resources
(http://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html).

Sri

Wayne Fay wrote:
> 
>> This basic Maven operation has me stumped.  How can I get Maven to
>> interpolate HTML files that are in src/main/webapp?  Is filtering not
>> implicit when the WAR plugin copies files from src/main/webapp?
> 
> No, it is not. You must specify it.
> 
> Wayne
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Interpolation-of-HTML-files-tp27438828p27439032.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Interpolation of HTML files

2010-02-03 Thread Sri Sankaran

This basic Maven operation has me stumped.  How can I get Maven to
interpolate HTML files that are in src/main/webapp?  Is filtering not
implicit when the WAR plugin copies files from src/main/webapp?

I have a typical web application with an index.html in src/main/webapp:


  The usual stuff
  ...
   ${server.url} link text 
  ...

In the POM I define a profile that defines the propety ${server.url}.  


  DEV
  

  http://www.yahoo.com


The profile is activated thusly

mvn clean install -P DEV

I know that the profile is being activated by viewing the properties listed
when I run with the -X flag.

Yet, the ${server.url} in index.html isn't being replaced by
http://www.yahoo.com.  

Can you please shed some light?
-- 
View this message in context: 
http://old.nabble.com/Interpolation-of-HTML-files-tp27438828p27438828.html
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Display a message after creating an archetype

2008-03-20 Thread Sri Sankaran

Is there a way to instruct Maven to display a message (a canned message)
after creating an archetype?

I have created an archetype that -- when be invoked via the usual
archetype:create incantation -- creates the project structure as defined. 
After all is said and done, I want to summarize to the user what has been
created and what the user must do before proceeding.  

Sri
-- 
View this message in context: 
http://www.nabble.com/Display-a-message-after-creating-an-archetype-tp16179892s177p16179892.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Archetype using artifactId for package name

2008-03-18 Thread Sri Sankaran

I would like to create an archetype of a Java project where the package name
of the Java files is predicated on the artifactId specified  when
"archetype:create" is invoked.

IOW, the archetype-resources directory needs to look something like this:

archetype-resources
 |
 `--src
 |
 `--main
|
`--java
|
`--com
|
`--acme
|
`--${artifactId}

Needless to say, this does not work.  I have even tried ${packageName}.  The
attendant question is, how do I refer to these files in the archetype.xml
file?

Thanks

Sri

-- 
View this message in context: 
http://www.nabble.com/Archetype-using-artifactId-for-package-name-tp16124185s177p16124185.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Where is plugin configuration information?

2008-01-30 Thread Sri Sankaran

D'oh!  Thanks.

I just noticed that this also accessible by following the "Goals" link on
the nav bar.

Sri


Stefan Reuter wrote:
> 
> Sri Sankaran wrote:
>> Can you please point me to where I can find a listing of a plugin's
>> configurable properties?  
>> 
>> For example, I wanted the war plugin to use ${basedir}/build as the
>> output
>> directory (instead of the default target directory) but was unable to
>> find
>> out how to do so by reading the 
>> http://maven.apache.org/plugins/maven-war-plugin/ documentation .
> 
> http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
> 
> It's a bit hidden under
> 
> Project Documentation
> #  Project Reports
> * Plugin documentation
> 
> in the left navigation
> 
> =Stefan
> 
> -- 
> reuter network consulting
> Neusser Str. 110
> 50760 Koeln
> Germany
> Telefon: +49 221 1305699-0
> Telefax: +49 221 1305699-90
> E-Mail:  [EMAIL PROTECTED]
> Jabber:  [EMAIL PROTECTED]
> WWW: http://www.reucon.com
> 
> Steuernummern 215/5140/1791 USt-IdNr. DE220701760
> 
> 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/Where-is-plugin-configuration-information--tp15189569s177p15190740.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Where is plugin configuration information?

2008-01-30 Thread Sri Sankaran

Can you please point me to where I can find a listing of a plugin's
configurable properties?  

For example, I wanted the war plugin to use ${basedir}/build as the output
directory (instead of the default target directory) but was unable to find
out how to do so by reading the 
http://maven.apache.org/plugins/maven-war-plugin/ documentation .  I finally
had to go look at the 
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java
source   to "figure out" that I could set project.build.directory or
configure the outputDirectory for the plugin.

With Maven1, the plugin's site has a section called "Plugin properties" for
such information.  There doesn't seem to be such a setup for M2.  Am I
correct?  I am looking for something like 
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html what is
there  for the test mojo of the surefire plugin.

Sri

-- 
View this message in context: 
http://www.nabble.com/Where-is-plugin-configuration-information--tp15189569s177p15189569.html
Sent from the Maven - Users mailing list archive at Nabble.com.


Better builds with Maven book problem

2006-08-22 Thread Sri Sankaran
I am following through with the instructions in the Better Builds with Maven 
book.  In section 5.3.3 it instructs to install the maven-buildinfo-plugin with 
a 

mvn install

incantation.  However it fails with the error

Missing:
--
1) com.mergere.mvnbook.shared:buildinfo:jar:1.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file 
-DgroupId=com.mergere.mvnbook.shared -DartifactId=buildinfo \
  -Dversion=1.0-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file

  Path to dependency:
1) 
com.mergere.mvnbook.plugins:maven-buildinfo-plugin:maven-plugin:1.0-SNAPSHOT
2) com.mergere.mvnbook.shared:buildinfo:jar:1.0-SNAPSHOT

I have checked "central" and indeed com.mergere.mvnbook.shared does not exist.  
Where can I find it?

Sri

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



Eclipse plugin woes & ignoring warnings

2006-08-10 Thread Sri Sankaran
I am in the process of porting a Maven 1.x project over to Maven 2.  There are 
several third party dependencies that are internal to our company.  So we have 
a "regional" repository (speaking Maven-1 lingo here) to house these JARs.  I 
have now created a Maven2-compliant regional repository.  I have a couple of 
questions:

1.  The Eclipse plug-in does not seem to recognize an active profile 
specified in my settings.xml.  The implication is that it reports unresolved 
dependencies; since I have activated my regional repository via a profile.  The 
only way around this that I have found is to specify this additional repository 
in the pom.xml.  This is less than ideal.  Do you know a way around this 
problem?  Am I doing something wrong?
2.  With the regional repository specified, all the dependencies are now 
being resolved correctly.  However, there are reams of warnings stating 
dependency's pom could not be retrieved.  This is indeed true since most of 
these JARs are from non-Maven projects and so they don't include a pom.  Is 
there a way to suppress these warnings.  I don't want to raise the log level 
since I do want the usual INFO level messages.

Thanks

Sri

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



RE: [m2] Adding surefire-report => Infinite loop

2005-12-17 Thread Sri Sankaran
Tried with Maven 2.0.1 -- no improvement :(

I tried to reply to Allan's last email on this thread by confirming that I had 
indeed attached the mvn -X output as he had instructed and that it had got 
stripped somewhere in transit.  So, I tried to embed the output in the email in 
addition to attaching it again with a txt extension.  That blew up in my face 
'cos it caused the email to exceed the size restriction.  So, I'll send it 
again now -- this time only as an attachment (mvn.txt).  It was generated using 
Maven 2.0.1.

Sri

> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, December 17, 2005 4:30 PM
> To: Maven Users List
> Subject: Re: [m2] Adding surefire-report => Infinite loop
> 
> I think it requires maven 2.0.1 - that infinite loop bug was 
> supposed to be fixed then.
> 
> - Brett
> 
> On 12/17/05, Allan Ramirez <[EMAIL PROTECTED]> wrote:
> > Hi Sri,
> >
> > There is no attached file in your mail :)
> >
> > -allan
> >
> > Sri Sankaran wrote:
> >
> > >Attached is the output of a run with the -X option.  Other 
> than seeing the same steps repeating, I don't see the *cause* 
> of the problem.
> > >
> > >Sri
> > >
> > >
> > >
> > >
> > >>-Original Message-
> > >>From: Allan Ramirez [mailto:[EMAIL PROTECTED]
> > >>Sent: Friday, December 16, 2005 3:53 AM
> > >>To: Maven Users List
> > >>Subject: Re: [m2] Adding surefire-report => Infinite loop
> > >>
> > >>I cant replicate this issue. It is working in my copy. 
> Can you paste 
> > >>the log with -X arguement?
> > >>
> > >>-allan
> > >>
> > >>Sri Sankaran wrote:
> > >>
> > >>
> > >>
> > >>>I wanted to run the surefire-report:report goal as part 
> of the test 
> > >>>phase.  So, I add the following to my pom
> > >>>
> > >>>
> > >>>   
> > >>>   org.codehaus.mojo
> > >>>   surefire-report-maven-plugin
> > >>>   2.0-beta-1
> > >>>   
> > >>>   
> > >>>   test
> > >>>   report
> > >>>   
> > >>>   
> > >>>   
> > >>>
> > >>>
> > >>>This results in an infinite loop of the test:test goal.
> > >>>
> > >>>What am I doing wrong?
> > >>>
> > >>>Sri
> > >>>
> > 
> >>>---
> > >>>-- 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]
> > >
> > 
> >-
> > >---
> > >
> > >No virus found in this incoming message.
> > >Checked by AVG Free Edition.
> > >Version: 7.1.371 / Virus Database: 267.13.13/200 - Release Date: 
> > >12/14/2005
> > >
> > >
> > >
> >
> >
> >
> > 
> -
> > 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]
> 
> 
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and 
Settings\srsank\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 
'c:\.devtools\maven-2.0\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] 

[INFO] Building Maven Quick Start Archetype
[INFO]task-segment:

RE: [m2] Adding surefire-report => Infinite loop

2005-12-16 Thread Sri Sankaran
Attached is the output of a run with the -X option.  Other than seeing the same 
steps repeating, I don't see the *cause* of the problem.

Sri
 

> -Original Message-
> From: Allan Ramirez [mailto:[EMAIL PROTECTED] 
> Sent: Friday, December 16, 2005 3:53 AM
> To: Maven Users List
> Subject: Re: [m2] Adding surefire-report => Infinite loop
> 
> I cant replicate this issue. It is working in my copy. Can 
> you paste the log with -X arguement?
> 
> -allan
> 
> Sri Sankaran wrote:
> 
> >I wanted to run the surefire-report:report goal as part of the test 
> >phase.  So, I add the following to my pom
> >
> >
> >
> >org.codehaus.mojo
> >surefire-report-maven-plugin
> >2.0-beta-1
> >
> >
> >test
> >report
> >
> >
> >
> >
> >
> >This results in an infinite loop of the test:test goal.
> >
> >What am I doing wrong?
> >
> >Sri
> >
> >-
> >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]

[m2] Adding surefire-report => Infinite loop

2005-12-15 Thread Sri Sankaran
I wanted to run the surefire-report:report goal as part of the test phase.  So, 
I add the following to my pom



org.codehaus.mojo
surefire-report-maven-plugin
2.0-beta-1


test
report





This results in an infinite loop of the test:test goal.

What am I doing wrong?

Sri

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



[m2]Setting parameters in m2

2005-12-15 Thread Sri Sankaran
Can you help me understand the right way to set mojo parameters?  I am an m2 
neophyte trying to unlearn 2 years of Maven usage.

What I wanted was the compiler:compile mojo to output classes to a "build" 
directory instead of the default "target".  However I was unable to set the 
buildDirectory parameter (see 
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html) in any 
obvious way.  I tried

mvn compile -DbuildDirectory=target

and other variations.  I finally came across instructions on using the build 
element of the POM for such customization and hit pay dirt by adding the 
following to my pom


  ${basedir}/build


So that leaves me confused and leads me to my original question -- what is the 
right way to override settings?  If there are multiple ways setting the same 
parameter what is the precedence?

Also, is an expression such as ${project.build.directory} (which btw is the 
default value for the compile mojo's buildDirectory parameter) referring to an 
element in the POM (much like M1's pom.xyz)?

Any help is appreciated.

Thanks

Sri

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



RE: Cycle detected error during plugin:install since rc4

2004-07-15 Thread Sri Sankaran



Found the problem.  I don't know why I had the guilty lines of code and so won't try 
to explain.

Sorry for taking up the bandwidth.

Sri

> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 14, 2004 8:00 PM
> To: Maven Users List
> Subject: Re: Cycle detected error during plugin:install since rc4
> 
> It was changed a little so that jar:jar was a prereqs rather 
> than an attained goal. I don't see how this would be cause. 
> Do you have a maven.xml with your plugin that you are trying 
> to install and does it customise anything?
> 
> - Brett
> 
> On Wed, 14 Jul 2004 14:42:06 -0400, Sri Sankaran 
> <[EMAIL PROTECTED]> wrote:
> > Using: Maven 1.0
> > 
> > When I try to do a plugin:install, I get the following error
> > 
> > com.werken.werkz.CyclicGoalChainException: A cycle has been 
> detected 
> > from the initial goal [plugin]
> > 
> > I understand what this is saying, however, has anything 
> changed in the implementation since rc3?  The reason I ask is 
> that this problem shows up only in rc4 and 1.0.  I am able to 
> do a plugin:install using Maven1.0rc3.
> > 
> > Sri
> >
> 
> -
> 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]



Cycle detected error during plugin:install since rc4

2004-07-14 Thread Sri Sankaran
Using: Maven 1.0
 
When I try to do a plugin:install, I get the following error
 
com.werken.werkz.CyclicGoalChainException: A cycle has been detected from the initial 
goal [plugin]
 
I understand what this is saying, however, has anything changed in the implementation 
since rc3?  The reason I ask is that this problem shows up only in rc4 and 1.0.  I am 
able to do a plugin:install using Maven1.0rc3.
 
Sri


FW: [UPDATE]mis-weblogic plug-in changes

2004-04-28 Thread Sri Sankaran
SORRY.  Sent to the wrong list.  Please ignore.

Sri 

-Original Message-
From: Sri Sankaran 
Sent: Wednesday, April 28, 2004 11:00 AM
To: 'Customer Vision Developers'
Cc: 'Maven Users List'
Subject: [UPDATE]mis-weblogic plug-in changes

The mis-weblogic plug-in has bee updated.  Please pick up the changes using the 
following command:

maven plugin:download -DgroupId=maven -DartifactId=maven-mis-weblogic-plugin 
-Dversion=0.1

Changelog:
1.  If the 'region' property is set, the plug-in will now load the corresponding 
properties file from the project-root/regions directory. The obviates the (earlier)
need to duplicate WebLogic property definitions that may've already been there.


Sri

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



[UPDATE]mis-weblogic plug-in changes

2004-04-28 Thread Sri Sankaran
The mis-weblogic plug-in has bee updated.  Please pick up the changes using the 
following command:

maven plugin:download -DgroupId=maven -DartifactId=maven-mis-weblogic-plugin 
-Dversion=0.1

Changelog:
1.  If the 'region' property is set, the plug-in will now load the corresponding 
properties file from the project-root/regions directory. The obviates the (earlier)
need to duplicate WebLogic property definitions that may've already been there.


Sri

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



RE: attainGoal

2004-04-15 Thread Sri Sankaran
It's how you call another goal from another goal (or pre/postGoal).

For example


  
 

Here if you run "maven myPlugin:myGoal", the java:compile goal will get executed.

If you have (in your maven.xml)


  


The xdoclet:webdoclet goal will be executed before java:compile is run.

Hope that helps

Sri

-Original Message-
From: Raphael Philipe Mendes da Silva [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 15, 2004 8:56 AM
To: Maven Users List (E-mail)
Subject: attainGoal

What do exactly the attainGoal tag??

I can't found some documentation about it. Someone can help me???


Raphael Philipe Mendes da Silva
DSB - Diretoria de Soluções em Billing
CPqD Telecom & IT Solutions
Tel.: +55 19 3705-6957
www.cpqd.com.br
[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: Stopping on unit test failures

2004-04-13 Thread Sri Sankaran
Created one.  Please see http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPTEST-28.

Sri 

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 13, 2004 11:02 PM
To: 'Maven Users List'
Subject: RE: Stopping on unit test failures

That's fixable. Please file a JIRA issue against the test plugin.

> -Original Message-
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 14 April 2004 12:59 PM
> To: Maven Users List
> Subject: RE: Stopping on unit test failures
> 
> 
> (Answering my own question)
> 
> The reason of this behavior is that setting of 
> 'maven.test.failure.ignore' will result in the ignoring of unit test 
> failures IRRESPECTIVE OF THE VALUE OF THE PROPERTY.
>  Turns out I didn't read the description of the property going simply 
> by what its name suggests.  Bad idea.
> 
> If you don't want test failures to be ignored you must have
> 
> maven.test.failure.ignore=
> 
> Totally non-intuitive.
> 
> Sri
> 
> -Original Message-
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 09, 2004 2:36 PM
> To: Maven Users List
> Subject: Stopping on unit test failures
> 
> Using: Maven 1.0-rc2
> OS: Windows XP Professional
>  
> Problem:  Maven doesn't stop at the first unit test that fails
>  
> I am finding that even though I have set
>  
> maven.test.failure.ignore=false
>  
> the build continues despite errors in running unit tests.  
> What would cause this error?  
>  
> Sri
> 
> -
> 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: Stopping on unit test failures

2004-04-13 Thread Sri Sankaran
(Answering my own question)

The reason of this behavior is that setting of 'maven.test.failure.ignore' will result 
in the ignoring of unit test failures IRRESPECTIVE OF THE VALUE OF THE PROPERTY.  
Turns out I didn't read the description of the property going simply by what its name 
suggests.  Bad idea.

If you don't want test failures to be ignored you must have

maven.test.failure.ignore=

Totally non-intuitive.

Sri

-Original Message-
From: Sri Sankaran [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 09, 2004 2:36 PM
To: Maven Users List
Subject: Stopping on unit test failures

Using: Maven 1.0-rc2
OS: Windows XP Professional
 
Problem:  Maven doesn't stop at the first unit test that fails
 
I am finding that even though I have set
 
maven.test.failure.ignore=false
 
the build continues despite errors in running unit tests.  What would cause this 
error?  
 
Sri

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



Stopping on unit test failures

2004-04-09 Thread Sri Sankaran
Using: Maven 1.0-rc2
OS: Windows XP Professional
 
Problem:  Maven doesn't stop at the first unit test that fails
 
I am finding that even though I have set
 
maven.test.failure.ignore=false
 
the build continues despite errors in running unit tests.  What would cause this 
error?  
 
Sri


Simian => OutOfMemory

2004-04-08 Thread Sri Sankaran
Using: Maven 1.0 rc2
OS: Windows XP Professional
 
I am unable to complete the generation of a multiproject:site due to an 
OutOfMemoryError
 
Everytime attempt to correct this error has failed and each time while Maven is 
executing the simian plugin report (Hence the correlation on the subject line).  
Handing Maven all the memory I have available (via MAVEN_OPTS) has proved of no avail.
 
Here's where the story gets bizarre.  When pushing up the memory didn't help I decided 
to disable simian.  However no matter *how* I deregister the report it is quite 
persistent and runs!  I have tried to deregister via
 
* as a preGoal to site:generrate"
* as a postGoal to xdoc:register-reports
* as a postGoal to maven-simian-plugin:register (this I thought would be the clincher!)
 
I still can't shake loose of this monkey :)
 
As a last ditch I fiddled with the maven.simian.include property and set it to some 
bogus file pattern.  That leads to some other unrelated error.
 
My questions are:
 
* Is there a known problem with Simian with rc2?  I know of one other report 
(http://marc.theaimsgroup.com/?l=turbine-maven-user&m=108055397222466&w=2).  If 
  so 
is there a known workaround
* How can I find disable the running of Simian
 
Thanks
 
Sri
 


RE: war plugin invokes java:compile twice

2004-04-01 Thread Sri Sankaran
Done.  (http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPWAR-24)

Sri 

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 01, 2004 6:00 PM
To: 'Maven Users List'
Subject: RE: war plugin invokes java:compile twice

No.

I have no idea why the caller plugin was added here without it being used everywhere, 
it makes it inconsistent.

Can you file a bug against the WAR plugin? This is a minor issue as java:compile 
should do little second time around.

- Brett

> -Original Message-----
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> Sent: Friday, 2 April 2004 5:54 AM
> To: Maven Users List
> Subject: war plugin invokes java:compile twice
> 
> 
> Using: Maven 1.0 rc2
>  
> Problem: Invoking the "maven war" results in java:compile being 
> executed twice.
>  
> Tracing the logic of the goal "war" in the war plugin, you will find a 
> call to "war:init".  In "war:init" are the following lines:
>  
> 
>   
>   
> 
> The caller plug-in invokes java:compile as instructed.  That is the 
> first invocation of this goal.
>  
> The call to "test:test" can then be traced to have "java:compile" as a 
> prerequisite.  That is the second invocation.
>  
> Any circumstance where this is necessary?
>  
> Sri
> 

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



war plugin invokes java:compile twice

2004-04-01 Thread Sri Sankaran
Using: Maven 1.0 rc2
 
Problem: Invoking the "maven war" results in java:compile being executed twice.
 
Tracing the logic of the goal "war" in the war plugin, you will find a call to 
"war:init".  In "war:init" are the following lines:
 

  
  


The caller plug-in invokes java:compile as instructed.  That is the first invocation 
of this goal.
 
The call to "test:test" can then be traced to have "java:compile" as a prerequisite.  
That is the second invocation.
 
Any circumstance where this is necessary?
 
Sri


RE: properties and values in maven.xml

2004-03-30 Thread Sri Sankaran
Have you tried something like



Sri 

-Original Message-
From: Rob Shepherd [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 30, 2004 1:36 PM
To: Maven Users List
Subject: properties and values in maven.xml

I'm having trouble getting to grips with the scripting.  I'm proficient at ant so it 
should take me too long to grasp :)

in project.properties i define

...
robtest.message=hello world
...

in maven.xml i have this target sorryGoal ;)

...

  
  
  
...

running 'maven robtest' i get expected results.

robtest:
 [echo] hello world
 [echo] Changing property
 [echo] hello rob
BUILD SUCCESSFUL

However!! i wish to apply the same goal to the variable ${pom.siteDirectory}

which will allow me to do a fsdeploy to a local directory then a sshdeploy to a remote 
mirror.

To acomplish this i do a fsdeploy then change pom.siteDirectory then do a sshdeploy 
with the new value.

the values after
 

is

site:fsdeploy:
 [echo]
   siteAddress =
   siteDirectory =

(they are both originally defined in project.xml.)

How do i refer to them with jelly?

Many thanks for any help i may receive.


Rob

-
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]



preGoals and prereqs

2004-03-28 Thread Sri Sankaran
Using: Maven 1.0 rc2
 
Problem: Correct implementation of preGoal requires knowledge of the inner workings of 
the goal.
 
It is well known that a preGoal executes before the stated goal.  For example, the 
body of
 

  do something here

 
will execute before scm:checkout-project executes.  When one writes a preGoal the 
typical thinking is that one wants something to happen before the goal is executed; in 
other words, the goal itself is treated as a black box. What came as a revelation to 
me is that the preGoal does not execute before (any) prereqs for the stated goal.  
 
Consider again the example of the scm:checkout-project goal.  It happens to have a 
prereq of scm:validate.  
 

...
 
Maven will will execute the body of the above preGoal above before the execution of 
the actual scm:checkout-project goal but *after* the execution of scm:validate.
 
In my case what I really needed was a preGoal for scm:validate.  My argument against 
this policy is that implementation details of a goal should be just that.  Now, last 
week when I upgraded to 1.0rc2 I got burnt by this because the scm plugin's 
implementation had been refactored.  Now scm:validate has a prereq of 
scm:parse-connection. My build scripts failed because what I *now* need is a preGoal 
for scm:parse-connection.
 
Sigh...
 
Sri
 


RE: Goal [java:compile] has no action definition

2004-03-24 Thread Sri Sankaran
Right you are!  Things work just fine with the official rc-2 release.

Sorry for having taken up the bandwidth.

Thanks for all the help.  I commend the work you do Brett;  not just in developing the 
plug-ins but also in how you acquit yourself to addressing countless questions on this 
list everyday -- politely and patiently.  Keep up the good work.

Sri

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 24, 2004 10:26 PM
To: 'Maven Users List'
Subject: RE: Goal [java:compile] has no action definition

Ok, now it makes more sense. This bug existed on HEAD for some time - the fix was only 
merged in Tuesday.

You might like to refer to the wiki or my earlier email today that details the current 
CVS status.

Cheers,
Bret

> -Original Message-----
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 25 March 2004 2:24 PM
> To: Maven Users List
> Subject: RE: Goal [java:compile] has no action definition
> 
> 
> I've been using rc2 for a while now (built Maven from CVS
> HEAD) and so haven't tried it on rc1.
> 
> I will
>  a) try it on the official rc2 release
>  b) if (a) is not successful create a small project and try and 
> recreate
> the problem.
> 
> Sri
> 
> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 24, 2004 8:20 PM
> To: 'Maven Users List'
> Subject: RE: Goal [java:compile] has no action definition
> 
> Thanks. This is odd.
> 
> Did this work on rc1 or is it a new installation?
> 
> Do you have a small sample project that shows the problem? If so, post 
> it to JIRA.
> 
> Thanks,
> Brett
> 
> > -Original Message-
> > From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, 25 March 2004 12:15 PM
> > To: Maven Users List
> > Subject: RE: Goal [java:compile] has no action definition
> > 
> > 
> > Answer 1: java:compile works fine on its own.  test:test
> works fine on
> > its own Answer 2: I have tried with just *.cache removed.  Then I 
> > tried with the entire plugins directory wiped out.  Same failure in 
> > both cases.
> > 
> > Sri
> > 
> > -Original Message-
> > From: Brett Porter [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 24, 2004 5:31 PM
> > To: 'Maven Users List'
> > Subject: RE: Goal [java:compile] has no action definition
> > 
> > Just recapping my Q's to see what is happening here:
> > 
> > 1) If you run just "java:compile" on its own does it work?
> > 2) When you say that you deleted the plugin cache, did you
> remove the
> > entire ~/.maven/plugins directory or just the .cache files?
> > 
> > - Brett
> > 
> > > -Original Message-
> > > From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, 25 March 2004 12:27 AM
> > > To: Maven Users List
> > > Subject: RE: Goal [java:compile] has no action definition
> > > 
> > > 
> > > I am sorry... I meant to say .
> > > 
> > > So, to recap:
> > > 
> > > Project structure
> > > 
> > > Root
> > >  |
> > >  +-- sub-project-1
> > >  |
> > >  +-- sub-project-2
> > > 
> > > Root's maven.xml:
> > > 
> > > 
> > >   
> > > 
> > > <-- Causes the error 
> > >  
> > > 
> > > -Original Message-
> > > From: Brett Porter [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, March 23, 2004 9:35 PM
> > > To: 'Maven Users List'
> > > Subject: RE: Goal [java:compile] has no action definition
> > > 
> > > IS this a real example?  doesn't exist. You must mean 
> > > 
> > > 
> > > If you run just "java:compile" on its own does it work?
> > > 
> > > When you say that you deleted the plugin cache, did you remove the 
> > > entire ~/.maven/plugins directory or just the .cache files?
> > > 
> > > - Brett
> > > 
> > > > -Original Message-
> > > > From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, 24 March 2004 1:28 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Goal [java:compile] has no action definition
> > > > 
> > > > 
> > > > Using : Maven 1.0 rc2
> > > > OS: Windows XP Professional
> > > >  
> > > > At the end of a reactor build I invoke test:test to run
> 

RE: Goal [java:compile] has no action definition

2004-03-24 Thread Sri Sankaran
I've been using rc2 for a while now (built Maven from CVS HEAD) and so haven't tried 
it on rc1.

I will
 a) try it on the official rc2 release
 b) if (a) is not successful create a small project and try and recreate
the problem.

Sri

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 24, 2004 8:20 PM
To: 'Maven Users List'
Subject: RE: Goal [java:compile] has no action definition

Thanks. This is odd.

Did this work on rc1 or is it a new installation?

Do you have a small sample project that shows the problem? If so, post it to JIRA.

Thanks,
Brett

> -Original Message-----
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 25 March 2004 12:15 PM
> To: Maven Users List
> Subject: RE: Goal [java:compile] has no action definition
> 
> 
> Answer 1: java:compile works fine on its own.  test:test works fine on 
> its own Answer 2: I have tried with just *.cache removed.  Then I 
> tried with the entire plugins directory wiped out.  Same failure in 
> both cases.
> 
> Sri
> 
> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 24, 2004 5:31 PM
> To: 'Maven Users List'
> Subject: RE: Goal [java:compile] has no action definition
> 
> Just recapping my Q's to see what is happening here:
> 
> 1) If you run just "java:compile" on its own does it work?
> 2) When you say that you deleted the plugin cache, did you remove the 
> entire ~/.maven/plugins directory or just the .cache files?
> 
> - Brett
> 
> > -Original Message-
> > From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, 25 March 2004 12:27 AM
> > To: Maven Users List
> > Subject: RE: Goal [java:compile] has no action definition
> > 
> > 
> > I am sorry... I meant to say .
> > 
> > So, to recap:
> > 
> > Project structure
> > 
> > Root
> >  |
> >  +-- sub-project-1
> >  |
> >  +-- sub-project-2
> > 
> > Root's maven.xml:
> > 
> > 
> >   
> > 
> > <-- Causes the error 
> >  
> > 
> > -Original Message-
> > From: Brett Porter [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 23, 2004 9:35 PM
> > To: 'Maven Users List'
> > Subject: RE: Goal [java:compile] has no action definition
> > 
> > IS this a real example?  doesn't exist. You must mean 
> > 
> > 
> > If you run just "java:compile" on its own does it work?
> > 
> > When you say that you deleted the plugin cache, did you remove the 
> > entire ~/.maven/plugins directory or just the .cache files?
> > 
> > - Brett
> > 
> > > -Original Message-
> > > From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, 24 March 2004 1:28 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Goal [java:compile] has no action definition
> > > 
> > > 
> > > Using : Maven 1.0 rc2
> > > OS: Windows XP Professional
> > >  
> > > At the end of a reactor build I invoke test:test to run
> integration
> > > tests on my entire project.  The entire reactor build runs 
> > > successfully.  However, the call to test:test fails with
> the message
> > >  
> > >  Goal [java:compile] has no action definition
> > >  
> > > I have scoured this list and tried some of the
> recommendations (such
> > > as wiping out the plugins cache) to no avail.  Can you help?
> > >  
> > > Sri
> > >  
> > > Details:
> > >  
> > > Project structure
> > > 
> > > Root
> > >  |
> > >  +-- sub-project-1
> > >  |
> > >  +-- sub-project-2
> > > 
> > > Root's maven.xml:
> > > 
> > > 
> > >   
> > > 
> > > <-- Causes the error 
> > > 
> > > 
> > 
> -
> > > 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: Goal [java:compile] has no action definition

2004-03-24 Thread Sri Sankaran
Answer 1: java:compile works fine on its own.  test:test works fine on its own
Answer 2: I have tried with just *.cache removed.  Then I tried with the entire 
plugins directory wiped out.  Same failure in both cases.

Sri

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 24, 2004 5:31 PM
To: 'Maven Users List'
Subject: RE: Goal [java:compile] has no action definition

Just recapping my Q's to see what is happening here:

1) If you run just "java:compile" on its own does it work?
2) When you say that you deleted the plugin cache, did you remove the entire 
~/.maven/plugins directory or just the .cache files?

- Brett

> -Original Message-
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 25 March 2004 12:27 AM
> To: Maven Users List
> Subject: RE: Goal [java:compile] has no action definition
> 
> 
> I am sorry... I meant to say .
> 
> So, to recap:
> 
> Project structure
> 
> Root
>  |
>  +-- sub-project-1
>  |
>  +-- sub-project-2
> 
> Root's maven.xml:
> 
> 
>   
> 
> <-- Causes the error 
>  
> 
> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 23, 2004 9:35 PM
> To: 'Maven Users List'
> Subject: RE: Goal [java:compile] has no action definition
> 
> IS this a real example?  doesn't exist. You must mean 
> 
> 
> If you run just "java:compile" on its own does it work?
> 
> When you say that you deleted the plugin cache, did you remove the 
> entire ~/.maven/plugins directory or just the .cache files?
> 
> - Brett
> 
> > -Original Message-
> > From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, 24 March 2004 1:28 PM
> > To: [EMAIL PROTECTED]
> > Subject: Goal [java:compile] has no action definition
> > 
> > 
> > Using : Maven 1.0 rc2
> > OS: Windows XP Professional
> >  
> > At the end of a reactor build I invoke test:test to run integration 
> > tests on my entire project.  The entire reactor build runs 
> > successfully.  However, the call to test:test fails with the message
> >  
> >  Goal [java:compile] has no action definition
> >  
> > I have scoured this list and tried some of the recommendations (such 
> > as wiping out the plugins cache) to no avail.  Can you help?
> >  
> > Sri
> >  
> > Details:
> >  
> > Project structure
> > 
> > Root
> >  |
> >  +-- sub-project-1
> >  |
> >  +-- sub-project-2
> > 
> > Root's maven.xml:
> > 
> > 
> >   
> > 
> > <-- Causes the error 
> > 
> > 
> -
> > 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: Goal [java:compile] has no action definition

2004-03-24 Thread Sri Sankaran
I am sorry... I meant to say .

So, to recap:

Project structure

Root
 |
 +-- sub-project-1
 |
 +-- sub-project-2

Root's maven.xml:


  

<-- Causes the error

 

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 23, 2004 9:35 PM
To: 'Maven Users List'
Subject: RE: Goal [java:compile] has no action definition

IS this a real example?  doesn't exist. You must mean 

If you run just "java:compile" on its own does it work?

When you say that you deleted the plugin cache, did you remove the entire 
~/.maven/plugins directory or just the .cache files?

- Brett

> -----Original Message-
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 24 March 2004 1:28 PM
> To: [EMAIL PROTECTED]
> Subject: Goal [java:compile] has no action definition
> 
> 
> Using : Maven 1.0 rc2
> OS: Windows XP Professional
>  
> At the end of a reactor build I invoke test:test to run integration 
> tests on my entire project.  The entire reactor build runs 
> successfully.  However, the call to test:test fails with the message
>  
>  Goal [java:compile] has no action definition
>  
> I have scoured this list and tried some of the recommendations (such 
> as wiping out the plugins cache) to no avail.  Can you help?
>  
> Sri
>  
> Details:
>  
> Project structure
> 
> Root
>  |
>  +-- sub-project-1
>  |
>  +-- sub-project-2
> 
> Root's maven.xml:
> 
> 
>   
> 
> <-- Causes the error
> 
> 
> -
> 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]



Goal [java:compile] has no action definition

2004-03-23 Thread Sri Sankaran
Using : Maven 1.0 rc2
OS: Windows XP Professional
 
At the end of a reactor build I invoke test:test to run integration tests on my entire 
project.  The entire reactor build runs successfully.  However, the call to test:test 
fails with the message
 
 Goal [java:compile] has no action definition 
 
I have scoured this list and tried some of the recommendations (such as wiping out the 
plugins cache) to no avail.  Can you help?
 
Sri
 
Details:
 
Project structure

Root
 |
 +-- sub-project-1
 |
 +-- sub-project-2

Root's maven.xml:


  

<-- Causes the error


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



RE: plugin:install fails

2004-02-01 Thread Sri Sankaran
Just checked MAVEN_HOME/lib; it has ant-1.5.3.1.jar.

Sri

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 30, 2004 4:49 PM
To: 'Maven Users List'
Subject: RE: plugin:install fails

How recent is your CVS checkout of RC2? You'll need a clean bootstrap, as I
have rolled back from ant-1.6 in MAVEN_HOME/lib to ant-1.5.3-1, as 1.6 was
causing problems like this.

- Brett

> -Original Message-
> From: Sri Sankaran [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, 31 January 2004 2:14 AM
> To: Maven Users @ Apache
> Subject: plugin:install fails
> 
> 
> Using: Maven 1.0 rc2
> Problem: plugin:install fails with a 
> 
>   taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
> 
> error even though the plugin doesn't (directly) use this class.
> 
> Scenario:
> I have written a plugin (let's call it plugin-A) that runs 
> the Xdoclet's EJBDoclet task.  
> 
> Plugin-A:
>   
> 
> ...
>   
> 
> This plug-in installs & works flawlessly.
> 
> Now, I have a second plug-in (plugin-B) which has a goal that 
> invokes pluginA:doEJB.  
> 
> Plugin-B:
>   
> ...
> 
> ..
>   
> 
> When I try to install this plugin-B I get following error
> 
> BUILD FAILED
> File.. file:/C:/Documents and 
> Settings/srsank/.maven/plugins/plugin-A-1.0/
> Element... taskdef
> Line.. 20
> Column 77
> taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be 
> found Total time: 10 seconds Finished at: Fri Jan 30 10:12:28 EST 2004
> 
> Completely duplicating all of plugin-A's dependencies in 
> plugin-B's POM didn't cure it.
> 
> Any thoughts?  
> 
> Sri
> 
> 
> -
> 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]



plugin:install fails

2004-01-30 Thread Sri Sankaran
Using: Maven 1.0 rc2
Problem: plugin:install fails with a 

  taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found

error even though the plugin doesn't (directly) use this class.

Scenario:
I have written a plugin (let's call it plugin-A) that runs the Xdoclet's EJBDoclet 
task.  

Plugin-A:
  

...
  

This plug-in installs & works flawlessly.

Now, I have a second plug-in (plugin-B) which has a goal that invokes pluginA:doEJB.  

Plugin-B:
  
...

..
  

When I try to install this plugin-B I get following error

BUILD FAILED
File.. file:/C:/Documents and Settings/srsank/.maven/plugins/plugin-A-1.0/
Element... taskdef
Line.. 20
Column 77
taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
Total time: 10 seconds
Finished at: Fri Jan 30 10:12:28 EST 2004

Completely duplicating all of plugin-A's dependencies in plugin-B's POM didn't cure it.

Any thoughts?  

Sri


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



Taskdef class not found error

2004-01-29 Thread Sri Sankaran
Using: Maven 1.0 rc2
Problem: Invoking a custom plug-in from within another plug-in causes an error

I have a working plug-in which generates EJB interfaces by invoking the appropriate 
EJBDoclet task.  (No I am not using Maven's xdoclet plug-in)

Plugin-A:
  
...
  

This plug-in works flawlessly.

Now, I have a second plug-in which has a goal that invokes the goal in the above via 
an attainGoal.  

Plugin-B:
  
...

..
  

When I try to install this latter plug-in I get following error.

taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found

Why is this one complaining about EJBDoclet?  The first plug-in - which is the only 
one needing the class - installs and runs correctly by itself.  

Any thoughts?  

Sri


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



RE: Specify a special compiler to compile

2004-01-29 Thread Sri Sankaran
How about setting the maven.compile.executable property?  See 
http://maven.apache.org/reference/plugins/java/properties.html.

Sri

-Original Message-
From: Martin Jaeger [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 29, 2004 1:09 PM
To: [EMAIL PROTECTED]
Subject: Specify a special compiler to compile

Hi together

I have to use a special compiler for my project (1.3.1). The default
compiler in my environment is 1.4.2. (Im building on Solaris with RC1)
Is there a possibility to specify the old compiler for the java-plugin?
I didn't found such a property...

Or is there an other way I didn't discovered, yet?


Thanks a lot
Martin

-
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 debug level for Java compile plugin

2003-12-02 Thread Sri Sankaran
How does one set the debug level when compiling Java source?  

(See debuglevel attribute of the ant javac task 
http://ant.apache.org/manual/CoreTasks/javac.html).

Sri

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



Customizing the POM

2003-11-26 Thread Sri Sankaran
Are there any plans afoot to allow for customization of the POM?  Of particular 
interest to us is the  element.  

One can currently specify (name, id, email, organization, roles, url, timezone) to 
describe a developer.  In our work environment the url and timezone elements get left 
empty since they don't add any value.  
Same can be said in many cases for the id and organization elements as well.

It would, on the other hand, be nice if one could provide more contact information 
such as phone/cell/pager number etc.  Does the current design somehow accommodate this 
need?

Sri

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



RE: Unit tests run twice ?

2003-11-25 Thread Sri Sankaran
Have you tried



Sri

-Original Message-
From: Eric Berenguier [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 25, 2003 9:53 AM
To: Maven Users List
Subject: Re: Unit tests run twice ?

Tomasz Pik wrote:

> Maybe this help (sorry, not tested):
>
>> 
>>
>
> 
>
>>
>> 
>>

Thanks for your answer,

I tried that too, but it doesn't work (test are still run twice).

Eric



-
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: Unit tests run twice ?

2003-11-25 Thread Sri Sankaran
I was thinking along the same lines except you probably want to exclude the tests on 
the jar build since one would like to see the unit test report on the site that is 
generated.


  
  
  


Sri
-Original Message-
From: Tomasz Pik [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 25, 2003 9:12 AM
To: Maven Users List
Subject: Re: Unit tests run twice ?

Eric Berenguier wrote:

> Hi,

Hi,

Maybe this help (sorry, not tested):

> I'd like to write a single goal that install jar to repository and 
> produce the maven site:
> So i wrote something like this :
> 
> 
>

 

>
> 
> 
> It works but both jar:install and site:generate call the test:test goal, 
> so i have my unit tests run twice.
> It's a real problem when unit tests take a long time to run.
> 
> Am i missing something ?
>Eric Berenguier

Tomek




-
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: New dashboard feature request (was RE: [ANN] Dashboard plugin 1.1 released)

2003-11-24 Thread Sri Sankaran


maybe 'cos the rvalue is an int and the lvalue is a String?  Shouldn't it be

  



Sri
-Original Message-
From: Vincent Massol [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 24, 2003 11:55 AM
To: 'Maven Users List'
Subject: New dashboard feature request (was RE: [ANN] Dashboard plugin 1.1 released)

dIon,

I've almost implemented it. If you can help me resolve the following
problem, it's done:

  
  

The call to notEmptyElems.size() is failing. Not sure why? Maybe because
it returns a number? 

If I print the result of ${notEmptyElems.getClass().getName()} I get
java.util.ArrayList, so the size() method should exist.

Here's the stack trace I get:

org.apache.commons.jelly.JellyException: null:-1:-1:  Unable to
create expression: notEmptyElems.size() == '0'
at
org.apache.commons.jelly.expression.jexl.JexlExpressionFactory.createExp
ression(JexlExpressionFactory.java:110)
at
org.apache.commons.jelly.expression.CompositeExpression.parse(CompositeE
xpression.java:128)

Any idea?

Thanks
-Vincent

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 21 November 2003 00:36
> To: Maven Users List
> Subject: RE: [ANN] Dashboard plugin 1.1 released
> 
> "Vincent Massol" <[EMAIL PROTECTED]> wrote on 21/11/2003 09:44:49
AM:
> 
> >
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > Sent: 20 November 2003 23:18
> > > To: Maven Users List
> > > Subject: RE: [ANN] Dashboard plugin 1.1 released
> > >
> > > "Vincent Massol" <[EMAIL PROTECTED]> wrote on 21/11/2003
03:19:46
> > AM:
> > >
> > > >
> > > > > -Original Message-
> > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > > > Sent: 20 November 2003 15:25
> > > > > To: Maven Users List
> > > > > Subject: Re: [ANN] Dashboard plugin 1.1 released
> > > > >
> > > > > Vincent,
> > > > >
> > > > > it'd be nice to be able to not show projects for which there
are
> > no
> > > > > collected stats.
> > > > >
> > > > > How easy would this be to do?
> > > >
> > > > That's already possible. That's the third option described on
the
> > > > dashboard web site. You can define the property
> > > > maven.dashboard.rungoals=false. This will prevent goals from
being
> > > > executed automatically. You will need to execute them beforehand
if
> > you
> > > > want any stat to show up. You also have a
> > > > maven.dashboard.runreactor=true|false, if you already use a
custom
> > > > reactor (or multiproject plugin) in your projects.
> > >
> > > I don't think you got my suggestion.
> > >
> > > I'd basically like to be able to have the same report but without
the
> > rows
> > > with no values in them.
> >
> > Do you mean when the full row does not have value?
> Yes, exactly.
> 
> > > I don't want to have to manually run the goals for all the
projects I
> > know
> > > have stats.
> >
> > What about excluding the projects that you wish to exclude? Or do
you
> > mean that you don't know in advance and want that automated? That's
easy
> > to do. However, I'm wondering the reason for that use case. I'm
worried
> > that if we remove these rows, people will start wondering why it is
not
> > run on other plugins (for the optional plugin page for ex). I think
> > having no information is also providing information: saying that
there
> > is no source code for example.
> 
> Yep, it sure is, but I'd like an option to be able to ignore that.
> 
> --
> dIon Gillard, Multitask Consulting
> Blog:  http://blogs.codehaus.org/people/dion/
> 
> 
> 
> 
> 
> -
> 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]



Javadocs in a new window

2003-11-18 Thread Sri Sankaran
Is it possible to codify the Javadocs link (of a Maven-generated site) to display the 
docs in a new window (or Mozilla tab)?  I realize that I can manually do this using 
the context menu.  I would like a new window to be the default action - say, based on 
some property setting.  

The rationale is that the navigation through Javadocs is independent of the rest of 
the project site.  Currently, if I select the Javadoc link and then peruse various 
packages and/or classes therein, it is onerous to find my way back to the project web 
site.

Similar behavior for Source Xref would be nice as well.

Sri

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



RE: where is xdoclet plugin

2003-11-17 Thread Sri Sankaran
It is in the xdoclet jar file and is called maven-xdoclet-plugin-1.2b4.jar (of course, 
the version number may have changed).  See instructions at 
http://xdoclet.sourceforge.net/maven-plugin.html.

Sri

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> trelaze.com]
> Sent: Monday, November 17, 2003 12:09 PM
> To: Maven Users List
> Subject: where is xdoclet plugin
> 
> It try to find the xdoclet plugin jar. I look in the xdoclet site but I
> don't find it ! So could some one point me to it ...
> 
> Nicolas
> 
> -
> 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: idea: link to ibiblio on dependency page

2003-11-16 Thread Sri Sankaran
I think I understood you; the URL for the id points to the jar's project -- for 
example to http://jakarta.apache.org/commons/lang.html for commons-lang whereas you 
want it to point to 
http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-1.0.jar.

What I'm saying is that it isn't guaranteed that Maven will have that information -- 
unless you forcibly delete your local repository before each site:generate.

Sri

> -Original Message-
> From: Henri Yandell [mailto:[EMAIL PROTECTED]
> Sent: Sunday, November 16, 2003 3:19 PM
> To: Maven Users List
> Subject: RE: idea: link to ibiblio on dependency page
> 
> 
> I don't think I worded my idea properly as you've not understood it. When
> I goto:
> 
> http://www.osjava.org/xmlwriter/dependencies.html
> 
> The JAR column should be a link to a repository where I can download said
> jar. Some are at ibiblio, some are at osjava. Currently the user has to
> click on the 'ID' column and go to the URL for the project.
> 
> Hen
> 
> On Fri, 14 Nov 2003, Sri Sankaran wrote:
> 
> > >
> > > It would be nice if the maven dependency page provided a link to the
> > > repository that the dependency is available from.
> > >
> > > When maven is running, it knows (or can know) the location it obtained
> the
> > > jar from, so would be able to encode this in the generated site.
> > >
> >
> > Not necessarily.  If a given jar file is available locally, Maven
> doesn't reference your maven.repo.remote settings at all.
> >
> > > This has some issues though, so it might be simpler to just provide a
> > > repository tag as a child to the dependency tag which uses ibiblio as
> the
> > > default.
> > >
> >
> > I like the current approach.  We use several jars that are not available
> on Ibiblio.  Encoding the repository to use for each jar would make
> writing the POM tedious.  Also, if we change repositories, currently, only
> one setting -- the maven.repo.remote -- has to be changed
> >
> > > This would benefit users a lot I think. Save them hunting through the
> > > sourceforge or apache mirror systems when ibiblio has the values [and
> is a
> > > mirror for both] anyway.
> > >
> >
> > Why are the users hunting for the jar files?  By users do you mean
> developers or end-users? Anyway, one just has to look at the designated
> remote repositories.
> >
> > Your needs can be satisfied if dependencies page presents the URLs to
> the repositories being used by the project -- a slight variation to your
> original suggestion.
> >
> > > Hen
> > >
> > >
> > Sri
> >
> >
> > -
> > 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]



Caller plugin problem

2003-11-14 Thread Sri Sankaran
Using : Maven 1.0 rc2

A call to war:war quits complaining that maven.caller.call.compile-java is not defined.

Digging through the implementation, I see that the new caller plugin is being invoked. 
 This in turn checks for the said property in the project's context and if it's not 
defined there, uses the (default) value in the plug-in's context - which is 
"java:compile".  However, that is not what happens.

Can you figure out why?

Sri

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



RE: idea: link to ibiblio on dependency page

2003-11-14 Thread Sri Sankaran
> 
> It would be nice if the maven dependency page provided a link to the
> repository that the dependency is available from.
> 
> When maven is running, it knows (or can know) the location it obtained the
> jar from, so would be able to encode this in the generated site.
> 

Not necessarily.  If a given jar file is available locally, Maven doesn't reference 
your maven.repo.remote settings at all.

> This has some issues though, so it might be simpler to just provide a
> repository tag as a child to the dependency tag which uses ibiblio as the
> default.
> 

I like the current approach.  We use several jars that are not available on Ibiblio.  
Encoding the repository to use for each jar would make writing the POM tedious.  Also, 
if we change repositories, currently, only one setting -- the maven.repo.remote -- has 
to be changed

> This would benefit users a lot I think. Save them hunting through the
> sourceforge or apache mirror systems when ibiblio has the values [and is a
> mirror for both] anyway.
> 

Why are the users hunting for the jar files?  By users do you mean developers or 
end-users? Anyway, one just has to look at the designated remote repositories.  

Your needs can be satisfied if dependencies page presents the URLs to the repositories 
being used by the project -- a slight variation to your original suggestion.

> Hen
> 
> 
Sri


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



RE: remote repo on a server

2003-11-14 Thread Sri Sankaran
Asking the obvious...and what is your maven.repo.remote setting?  Does it include the 
URL to the server containing the jars?

Sri

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> trelaze.com]
> Sent: Friday, November 14, 2003 5:06 AM
> To: Maven Users List
> Subject: Re: remote repo on a server
> 
> I think my dependency element is ok because when the jar is in the local
> repo Maven find it.
> I use aspectjrt-1.1.1.jar as an exemple of my problem but it is the same
> thing with all the
> things in the repository.
> 
>
>   aspectj
>   aspectjrt
>   1.1.1
>   http://arsodev1:8080/maven-repo/aspectj/jars
>
> 
> Nicolas
> 
> 
> 
> 
> 
> Jason van Zyl <[EMAIL PROTECTED]>
> 13/11/2003 18:21
> Veuillez répondre à "Maven Users List"
> 
> 
> Pour :  Maven Users List <[EMAIL PROTECTED]>
> cc :
> Objet : Re: remote repo on a server
> 
> 
> On Thu, 2003-11-13 at 08:28, [EMAIL PROTECTED] wrote:
> > Since I use maven 1.0-RC1I have the following problem :
> > I use a server as a remote repo. But when I use a dependency whitch is
> > present on the server and not on the local repository, it fail when it
> try
> > to download the artifact. I think it could be a network configuration
> > problem ?
> 
> Let's see the dependency element for aspectj in your POM. Then we'll go
> from there.
> 
> --
> jvz.
> 
> Jason van Zyl
> [EMAIL PROTECTED]
> http://tambora.zenplex.org
> 
> In short, man creates for himself a new religion of a rational
> and technical order to justify his work and to be justified in it.
> 
>   -- Jacques Ellul, The Technological Society
> 
> 
> -
> 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: Wishlist...

2003-11-12 Thread Sri Sankaran
Alrighty.

It needs a little fine tuning.  I'll post in the next day or so (here & in JIRA).

Sri

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 11, 2003 5:15 PM
> To: Maven Users List
> Subject: RE: Wishlist...
> 
> That would be fantastic!
> --
> dIon Gillard, Multitask Consulting
> Blog:  http://blogs.codehaus.org/people/dion/
> 
> 
> 
> "Sri Sankaran" <[EMAIL PROTECTED]> wrote on 12/11/2003 01:09:56 AM:
> 
> > > >
> > > > I'm creating a multiproject site where I, among other things, add
> quite
> > > > a bit of existing documentation.
> > > > I've used the word2html plugin for this. It would be nice to:
> > > >
> > > > - Have document references "automagically" added to the menu.
> > > It sure would. Does you have such a beasty?
> >
> > We have exactly such a thingy.  What we do is
> >
> > * load any existing navigation.xml file & convert to an XML doc
> > * pick up all files in a project docs directory
> > * create a new navigation.xml file by using a navigation template
> >   jelly file that
> >   * parses & copies s & s from the existing navigation.xml
> >   * creates a "Docs"  for all the project docs
> > * call site:generate
> >
> > I don't know we are going about it the right way -- but it seems to
> work.
> >
> > The "Docs" menu items *used* to refer to the HTML-ized version of
> > the project docs.  However, since "project docs" included all kinds
> > of things -- Word docs, Visio diagrams, PowerPoint presentations --
> > we just left them as is; since users in our environment have the
> > necessary viewers.
> >
> > We'd be glad to extract it from our infrastructure and share it.
> >
> > > dIon Gillard, Multitask Consulting
> >
> > Sri
> >
> > -
> > 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: Wishlist...

2003-11-11 Thread Sri Sankaran
> >
> > I'm creating a multiproject site where I, among other things, add quite
> > a bit of existing documentation.
> > I've used the word2html plugin for this. It would be nice to:
> >
> > - Have document references "automagically" added to the menu.
> It sure would. Does you have such a beasty?

We have exactly such a thingy.  What we do is 

* load any existing navigation.xml file & convert to an XML doc
* pick up all files in a project docs directory
* create a new navigation.xml file by using a navigation template 
  jelly file that
  * parses & copies s & s from the existing navigation.xml
  * creates a "Docs"  for all the project docs
* call site:generate

I don't know we are going about it the right way -- but it seems to work.

The "Docs" menu items *used* to refer to the HTML-ized version of the project docs.  
However, since "project docs" included all kinds of things -- Word docs, Visio 
diagrams, PowerPoint presentations -- we just left them as is; since users in our 
environment have the necessary viewers.

We'd be glad to extract it from our infrastructure and share it.

> dIon Gillard, Multitask Consulting

Sri

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



RE: Maven Intergration Question

2003-11-06 Thread Sri Sankaran
Jason brings up a valid point -- however, we have been using

maven.build.dir=${basedir}/build

and haven't had any plug-in blow up, yet -- at least not because of it :) 

As Nick points out, this is a good way to find out if "target" has been hard-coded in 
any plug-in!

The docs you are referring to are talking about the case when (and if) you build Maven 
itself from source.  If you happen to do that simply follow the instructions verbatim 
and all will be well.

Sri

> -Original Message-
> From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 06, 2003 1:12 PM
> To: Maven Users List; [EMAIL PROTECTED]
> Subject: RE: Maven Intergration Question
> 
> Hi
> 
> I agree with you, but in over company we are using ant to build the
> whole application, we just want to maven to build documentation, Do you
> have any bright ideas?
> 
> Also I was looking into changing maven.build.dir value, but it's warning
> me about bootstrap of Maven from source code, as it expects the jar
> created to be in ${basedir}/target/. Can you please give more guidence
> on this.
> 
> Below is from Maven docs:
> 
> CAUTION: Changing default maven.build.dir value in your
> ${user.home}/build.properties might allow one some control of individual
> project directory layouts. However this practice will interfere with the
> bootstrap of Maven from source code, as it expects the jar created to be
> in ${basedir}/target/
>  ${basedir
> 
> 
> Thanks,
> S-
> 
> -Original Message-
> From: Jason van Zyl [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 06, 2003 12:07 PM
> To: Maven Users List
> Subject: Re: Maven Intergration Question
> 
> On Thu, 2003-11-06 at 12:59, Rauf, Saleem wrote:
> > Is there is a way to customize target folder maven looks at. I wanted
> to
> > looked at build folder instead.
> 
> Why do you really want to do this? Most people don't muck with the
> target/ default. If it's simply a personal preference I would recommend
> just sticking with target/ as I'm sure there are some places where
> target/ has been hard-coded by mistake in some plugins because that has
> been the standard for so long.
> 
> >
> > Thanks,
> > -S
> >
> > -Original Message-
> > From: Vincent Massol [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, November 06, 2003 11:51 AM
> > To: 'Maven Users List'
> > Subject: RE: cactus plugin and overring war:war
> >
> >
> >
> > > -Original Message-
> > > From: Brett Porter [mailto:[EMAIL PROTECTED]
> > > Sent: 06 November 2003 07:18
> > > To: 'Maven Users List'
> > > Subject: RE: cactus plugin and overring war:war
> > >
> >
> > [snip]
> >
> > >
> > > Also, plugin:download'ing the latest cactus plugin as per the cactus
> > maven
> > > integration page doesn't work as the dependencies on the cactus jars
> > > themselves are incorrect :)
> >
> > Thanks. I've just put a symlink from 1.6dev to 1.5-rc1 for now.
> >
> > -Vincent
> >
> >
> > -
> > 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]
> --
> jvz.
> 
> Jason van Zyl
> [EMAIL PROTECTED]
> http://tambora.zenplex.org
> 
> In short, man creates for himself a new religion of a rational
> and technical order to justify his work and to be justified in it.
> 
>   -- Jacques Ellul, The Technological Society
> 
> 
> -
> 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 Intergration Question

2003-11-06 Thread Sri Sankaran
Just the way you sent the first message -- however, instead of "reply"ing to an 
existing message (and changing the subject) just start a new message to the maven 
users' list.

Sri

> -Original Message-
> From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 06, 2003 1:05 PM
> To: Maven Users List
> Subject: RE: Maven Intergration Question
> 
> I am new to this, I don't know how to start a new group,care to show
> me..
> 
> -S
> 
> -Original Message-
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 06, 2003 12:02 PM
> To: Maven Users List
> Subject: RE: Maven Intergration Question
> 
> Set maven.build.dir
> 
> Sri
> P.S.
> Please start a new thread for new discussions.
> 
> > -Original Message-
> > From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, November 06, 2003 12:59 PM
> > To: Maven Users List
> > Subject: Maven Intergration Question
> >
> >
> > Is there is a way to customize target folder maven looks at. I wanted
> to
> > looked at build folder instead.
> >
> >
> > Thanks,
> > -S
> >
> > -Original Message-
> > From: Vincent Massol [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, November 06, 2003 11:51 AM
> > To: 'Maven Users List'
> > Subject: RE: cactus plugin and overring war:war
> >
> >
> >
> > > -Original Message-
> > > From: Brett Porter [mailto:[EMAIL PROTECTED]
> > > Sent: 06 November 2003 07:18
> > > To: 'Maven Users List'
> > > Subject: RE: cactus plugin and overring war:war
> > >
> >
> > [snip]
> >
> > >
> > > Also, plugin:download'ing the latest cactus plugin as per the cactus
> > maven
> > > integration page doesn't work as the dependencies on the cactus jars
> > > themselves are incorrect :)
> >
> > Thanks. I've just put a symlink from 1.6dev to 1.5-rc1 for now.
> >
> > -Vincent
> >
> >
> > -
> > 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]


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



RE: Maven Intergration Question

2003-11-06 Thread Sri Sankaran
Set maven.build.dir

Sri
P.S.
Please start a new thread for new discussions.

> -Original Message-
> From: Rauf, Saleem [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 06, 2003 12:59 PM
> To: Maven Users List
> Subject: Maven Intergration Question
> 
> 
> Is there is a way to customize target folder maven looks at. I wanted to
> looked at build folder instead.
> 
> 
> Thanks,
> -S
> 
> -Original Message-
> From: Vincent Massol [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 06, 2003 11:51 AM
> To: 'Maven Users List'
> Subject: RE: cactus plugin and overring war:war
> 
> 
> 
> > -Original Message-
> > From: Brett Porter [mailto:[EMAIL PROTECTED]
> > Sent: 06 November 2003 07:18
> > To: 'Maven Users List'
> > Subject: RE: cactus plugin and overring war:war
> >
> 
> [snip]
> 
> >
> > Also, plugin:download'ing the latest cactus plugin as per the cactus
> maven
> > integration page doesn't work as the dependencies on the cactus jars
> > themselves are incorrect :)
> 
> Thanks. I've just put a symlink from 1.6dev to 1.5-rc1 for now.
> 
> -Vincent
> 
> 
> -
> 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: Genapp goal

2003-11-05 Thread Sri Sankaran
I don't have the updated jelly file anymore.  You should be able to apply exactly the 
changes I have suggested.

Updating Maven-provided plugins is a slippery slope -- for obvious reasons.  We lean 
more towards writing our own plug-ins for customizations -- calling available plug-ins 
to do the bulk of the work.

Sri

> -Original Message-
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 05, 2003 12:03 PM
> To: 'Maven Users List'
> Subject: RE: Genapp goal
> 
> Sri,
> 
> Thanks for your reply. Is it possible for you to send me the modified
> files.
> 
> Thanks
> 
> Vikas
> 
> -Original Message-
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 04, 2003 5:39 PM
> To: Maven Users List
> Subject: RE: Genapp goal
> 
> 
> 
> > -Original Message-
> > From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, November 04, 2003 6:05 PM
> > To: 'Maven Users List'
> > Subject: Genapp goal
> >
> > Hi guys,
> >
> > How do u specify the destination directory for the genapp goal. I mean
> if
> > I'm running maven in directory A but want the generated project to be
> > placed
> > in directory B, how do I specify that.
> >
> 
> See http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-948
> 
> > Vikas
> >
> >
> Sri
> 
> 
> -
> 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]



Bullets in the nav menu

2003-11-05 Thread Sri Sankaran
Using: Maven 1.0 rc1

How can I display a bulleted list in my navigation menu?

* Due to the style sheet settings, using  elements doesn't look 
  presentable.  And, no I don't want to create my own style-sheet
* I cannot use • 'cause it gets treated as an XML entity reference
* Using the character reference • (the HTML number for a bullet) 
  doesn't do the trick

A little more gory detail:
The navigation.xml is getting dynamically created based on the contents of certain 
project directories.  I am doing this using a template jelly file.  It is in this file 
that I am trying to define a bulleted list.

Sri


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



RE: Genapp goal

2003-11-04 Thread Sri Sankaran


> -Original Message-
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 04, 2003 6:05 PM
> To: 'Maven Users List'
> Subject: Genapp goal
> 
> Hi guys,
> 
> How do u specify the destination directory for the genapp goal. I mean if
> I'm running maven in directory A but want the generated project to be
> placed
> in directory B, how do I specify that.
> 

See http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-948

> Vikas
> 
> 
Sri


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



RE: password for CVS pserver ?

2003-10-30 Thread Sri Sankaran

> 
> > b) Users must *know* to run the 'cvs login' command first.  I have
> >tried to preGoal with a call to the ant:cvspass task.  Even
> >though this task executes correctly and a .cvspass file is
> >created, changelog merrily ignores it.
> 
> There is the problem. After a look in the soucre of chanlog plugin, it
> appears that it use org.netbeans.lib.cvsclient to manage cvs connection.
>   All requiered methodes to log with a password seems to be present,
> however I don't see how to modify the maven plugin to take a password
> parameter.

For some reason, when you step through the execution in a debugger, the 
AbstractChangeLogGenerator's getEntries() method is getting invoked and not the 
overridden version in CvsChangeLogGenerator.  Puzzling.  Anyway I haven't fussed with 
it too much.

> 
> Do you know a way in java to access the "maven.cvs.password" value
> define in project.properties ?

Don't know.  What is it used for?  Can you not just set it on the command line?

> 
> Carl

Sri

> 
> >
> > Sri
> >
> >>-Original Message-
> >>From: Carl [mailto:[EMAIL PROTECTED]
> >>Sent: Thursday, October 30, 2003 1:16 PM
> >>To: [EMAIL PROTECTED]
> >>Subject: password for CVS pserver ?
> >>
> >>Hello,
> >>
> >>I'm not sure it's the right place for this question, sorry if it's not.
> >>
> >>I'm new in maven world and start to use it for a simple project. I used
> >>to commit all my sources on a CVS server.
> >>
> >>When maven try to generate activity report (file & developper) it fails
> >>to connect to the cvs server because the cvs server need a password.
> >>Here is the relevant part of my project.xml :
> >>
> >>
> >>scm:cvs:pserver:[EMAIL PROTECTED]:/usr/local/cvsroot:javaproj
> ec
> >>t
> >>
> >>
> >>I looked arround the maven site, the source of the changlog pluqin, but
> >>havent found yet the solution.
> >>
> >>Is there a way to specify such a passord (may be in project.properties
> >>?) and how ?
> >>
> >>Thanks for all reply,
> >>
> >>Carl
> >>
> >>
> >>-
> >>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: password for CVS pserver ?

2003-10-30 Thread Sri Sankaran
You have to execute a

  cvs login

before you generate your site.

I too have fussed around with changelog's source to no avail.  The problem with the 
current approach is that

a) It assumes that only one person on a project (the one named
   in the  element will generate the site.  The only
   alternative I know is to override the site plugin (i.e. write
   your own) and dynamically change the user info before invoking
   site:generate
b) Users must *know* to run the 'cvs login' command first.  I have
   tried to preGoal with a call to the ant:cvspass task.  Even
   though this task executes correctly and a .cvspass file is
   created, changelog merrily ignores it.

Sri
> -Original Message-
> From: Carl [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 30, 2003 1:16 PM
> To: [EMAIL PROTECTED]
> Subject: password for CVS pserver ?
> 
> Hello,
> 
> I'm not sure it's the right place for this question, sorry if it's not.
> 
> I'm new in maven world and start to use it for a simple project. I used
> to commit all my sources on a CVS server.
> 
> When maven try to generate activity report (file & developper) it fails
> to connect to the cvs server because the cvs server need a password.
> Here is the relevant part of my project.xml :
> 
> 
> scm:cvs:pserver:[EMAIL PROTECTED]:/usr/local/cvsroot:javaprojec
> t
> 
> 
> I looked arround the maven site, the source of the changlog pluqin, but
> havent found yet the solution.
> 
> Is there a way to specify such a passord (may be in project.properties
> ?) and how ?
> 
> Thanks for all reply,
> 
> Carl
> 
> 
> -
> 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: Getting dependencies from mulitple repositories

2003-10-17 Thread Sri Sankaran


> -Original Message-
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 17, 2003 2:55 PM
> To: 'Maven Users List'
> Subject: RE: Getting dependencies from mulitple repositories
> 
> Sri,
> 
> What's the difference between the  element in the  and
> the
> URLs that we give to maven.repo.remote.

The url element that is part of the dependency fragment is simply for documentation 
purposes.  For example, if you have a dependency on log4j, you might want to specify 
the  as http://jakarta.apache.org/log4j.  Then, when you generate your project's 
web site, the dependencies' page will show this helpful link.  (For details see 
http://maven.apache.org/reference/project-descriptor.html#dependencies.  Although I do 
see a confusing statement at this site that says " This url will be provided to the 
user if the jar file cannot be downloaded from the central repository" -- don't know 
what *that* means)

So you see this has nothing to do with *how* Maven gets log4j.  That is the role of 
the maven.repo.remote property.

> 
> If I set the maven.repo.remote URLs to the Maven repositories where my jar
> could be found, then would Maven like search one URL after another to find
> the dependency jars.

Yes. 

> 
> Does the  specified in a dependency serve as the location to search
> for
> jars if they can't be found from maven.repo.remote
> 
No

> 
> Thanks again
> 
> Vikas

Sri



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



RE: Getting dependencies from mulitple repositories

2003-10-17 Thread Sri Sankaran
> This http://cvs.dev.com would be the URL to my tomcat server but we need a
> password to access that sever. So instead of using maven.repo.remote
> should
> I use
> 
> maven.proxy.host = cvs.dev.com
> maven.proxy.port = 8080
> maven.proxy.username = username
> maven.proxy.password = password
> 

The Maven repository must provide unauthenticated access.  Proxy settings are required 
only if your repository server isn't directly accessible.  In other words, the above 
settings will not help.  

> 
> Would there be any permissions issues or anything like that should be
> taken
> care of on tomcat.

You have to open access to your Maven repository hosted by Tomcat.

> 
> Thanks a lot for all ur help guys.
> 
> Vikas
> 

Sri


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



RE: Getting dependencies from mulitple repositories

2003-10-17 Thread Sri Sankaran


> -Original Message-
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 17, 2003 1:11 PM
> To: 'Maven Users List'
> Subject: RE: Getting dependencies from mulitple repositories
> 
> Guys,
> 
> Thanks for ur replies. I'm new to Maven and the repository system and
> might
> be doing something dumb. But Pls help me understand this. Whenever I have
> used repositories with ant or my ide I had to specify a string like this :
> :pserver:[EMAIL PROTECTED]:/home/cvspublic
> 
> And maven.repo.remote is supposed to be supplied with regular http URLs
> only. So I'm confused. What is the difference between giving values to
> maven.repo.remote as URL and specifying the pserver string in the
>  element of the project.xml.

The repository element in the project.xml is referring to your project's repository.  
In an unfortunate overloading of the word "repository" you project's dependencies are 
expected to be housed in a repository.  However, this latter repository is not a CVS 
repository.  It *has* to be accessible via the HTTP protocol.  What's more, a certain 
directory structure at that location is assumed (see 
http://maven.apache.org/reference/user-guide.html#Remote%20Repository%20Layout). 

You may find the articles listed at http://maven.apache.org/misc/articles.html useful.



> Thanks
> 
> Vikas
> 

Sri


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



RE: Getting dependencies from mulitple repositories

2003-10-17 Thread Sri Sankaran


> -Original Message-
> From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 17, 2003 12:31 PM
> To: 'Maven Users List'
> Subject: Getting dependencies from mulitple repositories
> 
> 
> 
> Hi Guys,
> 
> I have read on the articles on Maven website about a driver.properties
> file
> that should be located in the bin directory under the Maven installation.
> I
> have installed Maven1.0rc1 but no such file exists. 

driver.properties in *in* maven.jar

I need to take a look
> at
> the maven.repo.remote variable.
> 

it is defined in defaults.properties -- also in maven.jar

> I need to downloaded dependency jars from multiple repository location and
> not from one centralized location.
> 
> How can I do that ?
> 
> Please guide.

Add a $HOME/build.properties with the following entry:

maven.repo.remote=http://some.url, http://www.ibiblio.org/maven

You may need to specify maven.proxy.host, port, userid & password if you're behind a 
firewall.

> 
> Vikas
> 

Sri


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



RE: Multiproject site:war equivalent

2003-10-17 Thread Sri Sankaran
I don't believe the war file for a project includes site documentation.  So, to 
accomplish that you may have to write a preGoal -- like you suggested before invoking 
the war.

Sri

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> trelaze.com]
> Sent: Friday, October 17, 2003 10:50 AM
> To: Maven Users List
> Subject: RE: Multiproject site:war equivalent
> 
> The war file the parent project witch include subproject generate docs.
> 
> Nicolas
> 
> ---
> 
> 
> 
> 
> "Sri Sankaran" <[EMAIL PROTECTED]>
> 17/10/2003 16:46
> Veuillez répondre à "Maven Users List"
> 
> 
> Pour :  "Maven Users List" <[EMAIL PROTECTED]>
> cc :
> Objet : RE: Multiproject site:war equivalent
> 
> 
> That is correct.  However, what I am not understanding is what you want.
> The war file for the sub-projects?  The war file the parent project?
> 
> Maybe someone else can chime in...
> 
> Sri
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> > trelaze.com]
> > Sent: Friday, October 17, 2003 10:35 AM
> > To: Maven Users List
> > Subject: RE: Multiproject site:war equivalent
> >
> > Pardon if if I have false
> >
> > when you launch multiproject:site :
> > - it generate the site for "father" project
> > - generate navigation
> > - it call the site for all subprojects (include projects)
> > - copy the subproject generate docs in the
> > fatherbasedir/target/generate-xdoc/subprojet-id
> >
> > No ?
> >
> > It is not the same thing than war artifact in subproject.
> >
> > Nicolas
> >
> > -
> >
> >
> >
> >
> >
> > "Sri Sankaran" <[EMAIL PROTECTED]>
> > 17/10/2003 16:23
> > Veuillez répondre à "Maven Users List"
> >
> >
> > Pour :  "Maven Users List" <[EMAIL PROTECTED]>
> > cc :
> > Objet : RE: Multiproject site:war equivalent
> >
> >
> > So what *are* you trying to accomplish?  A war file of the multiproject
> > project?  For that can you not just treat it as a plain-old project and
> do
> >
> > maven site:war
> >
> > Or am I missing the point?
> >
> > Sri
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > > trelaze.com]
> > > Sent: Friday, October 17, 2003 10:19 AM
> > > To: Maven Users List
> > > Subject: RE: Multiproject site:war equivalent
> > >
> > > According to the doc  it will call site:war for subproject but not on
> > the
> > > one witch is generate by multiproject:site.
> > >
> > > Nicolas
> > >
> > > -
> > >
> > >
> > >
> > >
> > >
> > >
> > > "Sri Sankaran" <[EMAIL PROTECTED]>
> > > 17/10/2003 16:08
> > > Veuillez répondre à "Maven Users List"
> > >
> > >
> > > Pour :  "Maven Users List" <[EMAIL PROTECTED]>
> > > cc :
> > > Objet : RE: Multiproject site:war equivalent
> > >
> > >
> > > Have you tried
> > >
> > >   multiproject:goal -Dgoal=site:war
> > >
> > > Sri
> > >
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]
> > > > trelaze.com]
> > > > Sent: Friday, October 17, 2003 9:02 AM
> > > > To: Maven Users List
> > > > Subject: Multiproject site:war equivalent
> > > >
> > > > Is there an equivalence in the multiproject to the site:war goal ?
> > > > Or must I use a pregoal of the multiproject:site to build it ?
> > > >
> > > > Nicolas
> > > >
> > > >
> -
> > > > 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]
> >
> >
> >
> >
> >
> > -
> > 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: Multiproject site:war equivalent

2003-10-17 Thread Sri Sankaran
That is correct.  However, what I am not understanding is what you want.  The war file 
for the sub-projects?  The war file the parent project?

Maybe someone else can chime in...

Sri

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> trelaze.com]
> Sent: Friday, October 17, 2003 10:35 AM
> To: Maven Users List
> Subject: RE: Multiproject site:war equivalent
> 
> Pardon if if I have false
> 
> when you launch multiproject:site :
> - it generate the site for "father" project
> - generate navigation
> - it call the site for all subprojects (include projects)
> - copy the subproject generate docs in the
> fatherbasedir/target/generate-xdoc/subprojet-id
> 
> No ?
> 
> It is not the same thing than war artifact in subproject.
> 
> Nicolas
> 
> -
> 
> 
> 
> 
> 
> "Sri Sankaran" <[EMAIL PROTECTED]>
> 17/10/2003 16:23
> Veuillez répondre à "Maven Users List"
> 
> 
> Pour :  "Maven Users List" <[EMAIL PROTECTED]>
> cc :
> Objet : RE: Multiproject site:war equivalent
> 
> 
> So what *are* you trying to accomplish?  A war file of the multiproject
> project?  For that can you not just treat it as a plain-old project and do
> 
> maven site:war
> 
> Or am I missing the point?
> 
> Sri
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> > trelaze.com]
> > Sent: Friday, October 17, 2003 10:19 AM
> > To: Maven Users List
> > Subject: RE: Multiproject site:war equivalent
> >
> > According to the doc  it will call site:war for subproject but not on
> the
> > one witch is generate by multiproject:site.
> >
> > Nicolas
> >
> > -
> >
> >
> >
> >
> >
> >
> > "Sri Sankaran" <[EMAIL PROTECTED]>
> > 17/10/2003 16:08
> > Veuillez répondre à "Maven Users List"
> >
> >
> > Pour :  "Maven Users List" <[EMAIL PROTECTED]>
> > cc :
> > Objet : RE: Multiproject site:war equivalent
> >
> >
> > Have you tried
> >
> >   multiproject:goal -Dgoal=site:war
> >
> > Sri
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > > trelaze.com]
> > > Sent: Friday, October 17, 2003 9:02 AM
> > > To: Maven Users List
> > > Subject: Multiproject site:war equivalent
> > >
> > > Is there an equivalence in the multiproject to the site:war goal ?
> > > Or must I use a pregoal of the multiproject:site to build it ?
> > >
> > > Nicolas
> > >
> > > -
> > > 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]
> 
> 
> 
> 
> 
> -
> 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: Multiproject site:war equivalent

2003-10-17 Thread Sri Sankaran
So what *are* you trying to accomplish?  A war file of the multiproject project?  For 
that can you not just treat it as a plain-old project and do

maven site:war

Or am I missing the point?

Sri

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> trelaze.com]
> Sent: Friday, October 17, 2003 10:19 AM
> To: Maven Users List
> Subject: RE: Multiproject site:war equivalent
> 
> According to the doc  it will call site:war for subproject but not on the
> one witch is generate by multiproject:site.
> 
> Nicolas
> 
> -----
> 
> 
> 
> 
> 
> 
> "Sri Sankaran" <[EMAIL PROTECTED]>
> 17/10/2003 16:08
> Veuillez répondre à "Maven Users List"
> 
> 
> Pour :  "Maven Users List" <[EMAIL PROTECTED]>
> cc :
> Objet : RE: Multiproject site:war equivalent
> 
> 
> Have you tried
> 
>   multiproject:goal -Dgoal=site:war
> 
> Sri
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> > trelaze.com]
> > Sent: Friday, October 17, 2003 9:02 AM
> > To: Maven Users List
> > Subject: Multiproject site:war equivalent
> >
> > Is there an equivalence in the multiproject to the site:war goal ?
> > Or must I use a pregoal of the multiproject:site to build it ?
> >
> > Nicolas
> >
> > -
> > 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: Multiproject site:war equivalent

2003-10-17 Thread Sri Sankaran
Have you tried

  multiproject:goal -Dgoal=site:war

Sri

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> trelaze.com]
> Sent: Friday, October 17, 2003 9:02 AM
> To: Maven Users List
> Subject: Multiproject site:war equivalent
> 
> Is there an equivalence in the multiproject to the site:war goal ?
> Or must I use a pregoal of the multiproject:site to build it ?
> 
> Nicolas
> 
> -
> 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]



Help needed in writing custom Jelly tags

2003-10-15 Thread Sri Sankaran
Have you written a custom Jelly tag library - that is *not* part of the Maven 
installation?

If so, how do you specify the name of your TagLibrary class in the xmlns declaration?  
I am finding that 

  xmlns:mine="jelly:com.foo.bar.MyTagLibrary"

doesn't cut it.  I am having a devil of a time (see numerous threads in the past 
several days with my name!) getting past a ClassNotFoundException.

The o.a.commons.jelly.parse.XMLParser fails in its attempt to find the TagLibrary 
class even though it is using the root.maven class loader and the dependency on the 
tag library (in the project.xml) indicates that the root.maven class loader should be 
used to load the classes in the tag library jar.

Sri



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



root.maven class loading

2003-10-14 Thread Sri Sankaran
Using: Maven 1.0 rc1

Problem:  The root.maven class loader is not finding a class described in the 
project's dependencies section.

I have the following dependency element in the project.xml


  mis-jelly
  mis-tags
  0.1
  
root.maven
  


However, when it is time for a class that is in this jar to be loaded, it fails with a 
ClassNotFoundException.

I have stepped through Maven's operation with a debugger and gone so far as to confirm 
that the classloader that tries to load the necessary class is indeed the root.maven 
classloader.

Additional contextual information:  The class being loaded is a TagLibrary class for a 
custom tag library.

Do you have any recommendations?

Sri

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



Jelly class loading mystery

2003-10-13 Thread Sri Sankaran
In trying to debug some problems with a custom tag library, I am trying to understand 
how the library classes are loaded.

Here's what I (think) I understand:

XML namespace declarations in the plugin.jelly translate to 
o.a.c.jelly.parser.XMLParser loading the file named in the declaration.  In other 
words, if one has the declaration

  xmlns:foo="jelly:com.acme.SlicedBread"

this results in the class called com.acme.SlicedBread being loaded.

What I don't understand is, how does a declaration like

xmlns:log="jelly:log"

result in the org.apache.commons.jelly.tags.log.LogTagLibrary class being loaded.  
What is mapping "log" to "org.apache.commons.jelly.tags.LogTagLibrary"?

Can you shed some light?

Sri

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



Custom tag not being invoked

2003-10-13 Thread Sri Sankaran
Using: Maven 1.0 rc1

Problem: A tag from my custom tag library is not being invoked from the plugin.jelly

I have written & installed (to my local repository) a custom tag library.

I am now trying to use a tag from this library in a plug-in I am writing.  The plug-in 
correctly states the dependency on this tag library in its project.xml.  However, 
Maven seems to blow right past the tag with nary an error.

I have gone so far as to throw an (un-conditional) exception in the doTag() of tag in 
question.

Even that isn't being raised.

Am I missing a step as far as using custom tag libraties?

Sri


plugin:jelly


  

  



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



RE: Custom Tag library => ClassNotFoundException

2003-10-11 Thread Sri Sankaran
As I had pointed out in my reply to Jason, there was a typo in my original post, I do 
indeed have
 
xmlns:mine="jelly:com.sas.mis.jelly.MisTagLibrary"
 
and not
 
xmlns:mine="com.sas.mis.jelly.MisTagLibrary"
 
That got me thinking.  I wondered what would happen if I actually had it without the 
"jelly:" as you had suspected.  Lo and behold, the exception went away! Now I am 
confused.  Looking at the XMLParser class, it seems like it is looking literally for a 
"jelly" prefix and then loads the class referred to six characters ahead.  I don't 
know why it is working without the "jelly:" prefix.
 
Now that I am past the exception, my tag doesn't seem to be getting invoked.  My 
simple unit test of the tag isn't producing the expected result.  More fundamentally, 
the doTag() method is profusely strewn with log.info() and none are seeing light of 
day.  All that I have in my tag library are:
 
- A TagLibrary class whose constructor registers the only tag in the library
- A Tag class that extends org.apache.commons.jelly.TagSupport
- has public setters for all the attributes for the tag
- implements the doTag() method
 
Isn't this the idiom to follow?  It seems like my extension of TagLibrary isn't even 
being invoked.
 
What now?
 
Sri
 
-Original Message- 
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Sat 10/11/2003 7:10 PM 
To: Maven Users List 
Cc: 
Subject: RE: Custom Tag library => ClassNotFoundException



"Sri Sankaran" <[EMAIL PROTECTED]> wrote on 12/10/2003 12:02:05 AM:

> I have tried root, root.maven & not stating it at all.
>
> Sri

Try:


  

...

  

--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 11, 2003 6:05 AM
> To: Maven Users List
> Subject: Re: Custom Tag library => ClassNotFoundException
>
> Which classloader does the dependency state in its properties?
> --
        > dIon Gillard, Multitask Consulting
> Blog:  http://blogs.codehaus.org/people/dion/
>
>
> "Sri Sankaran" <[EMAIL PROTECTED]> wrote on 11/10/2003 02:02:08 PM:
>
> > Using: Maven 1.0 rc1
> >
> > I am trying to use a custom tag library that I've written in a plug-
> > in.  However, it fails with a ClassNotFoundException on the TagLibrary

> class.
> >
> > Following are the relevant snippets:
> >
> > Plugin.jelly
> >
> > 
> >   
> > 
> > ...
> > 
> >   
> > 
> >
> > The plugin's project.xml specifies the appropriate jar file in its
> > dependencies' section and this gets duly downloaded to the local
> > repository.  However the goal does not execute because of a
> > ClassNotFoundException com.sas.mis.jelly.MisTagLibrary
> >
> > What am I missing?
> >
> > Sri
> >
> > -
> > 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]



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

RE: Custom Tag library => ClassNotFoundException

2003-10-11 Thread Sri Sankaran

> 
> On Sat, 2003-10-11 at 00:02, Sri Sankaran wrote:
> > Using: Maven 1.0 rc1
> >
> > I am trying to use a custom tag library that I've written in a plug-in.
> However, it fails with a ClassNotFoundException on the TagLibrary class.
> >
> > Following are the relevant snippets:
> >
> > Plugin.jelly
> >
> > 
> 
> that should be
> 
> 
> 

Sorry. Typo on my side.  I *do* have it like you have suggested.

> >   
> > 
> > ...
> > 
> >   
> > 
> >
> > The plugin's project.xml specifies the appropriate jar file in its
> dependencies' section and this gets duly downloaded to the local
> repository.  However the goal does not execute because of a
> ClassNotFoundException com.sas.mis.jelly.MisTagLibrary
> >
> > What am I missing?
> >
> > Sri
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> --
> jvz.

Sri

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



RE: Custom Tag library => ClassNotFoundException

2003-10-11 Thread Sri Sankaran
I have tried root, root.maven & not stating it at all.

Sri

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 11, 2003 6:05 AM
To: Maven Users List
Subject: Re: Custom Tag library => ClassNotFoundException

Which classloader does the dependency state in its properties?
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


"Sri Sankaran" <[EMAIL PROTECTED]> wrote on 11/10/2003 02:02:08 PM:

> Using: Maven 1.0 rc1
> 
> I am trying to use a custom tag library that I've written in a plug-
> in.  However, it fails with a ClassNotFoundException on the TagLibrary 
class.
> 
> Following are the relevant snippets:
> 
> Plugin.jelly
> 
> 
>   
> 
> ...
> 
>   
> 
> 
> The plugin's project.xml specifies the appropriate jar file in its 
> dependencies' section and this gets duly downloaded to the local 
> repository.  However the goal does not execute because of a 
> ClassNotFoundException com.sas.mis.jelly.MisTagLibrary
> 
> What am I missing?
> 
> Sri
> 
> -
> 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]



Custom Tag library => ClassNotFoundException

2003-10-10 Thread Sri Sankaran
Using: Maven 1.0 rc1

I am trying to use a custom tag library that I've written in a plug-in.  However, it 
fails with a ClassNotFoundException on the TagLibrary class.

Following are the relevant snippets:

Plugin.jelly


  

...

  


The plugin's project.xml specifies the appropriate jar file in its dependencies' 
section and this gets duly downloaded to the local repository.  However the goal does 
not execute because of a ClassNotFoundException com.sas.mis.jelly.MisTagLibrary

What am I missing?

Sri

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



RE: how do I do this tricky string manipulation with jelly/maven?

2003-10-09 Thread Sri Sankaran
This ran without an error with Maven 1.0 rc1 -- I don't know if the Jelly tags have 
changed in going from beta 10 to rc1.

To test it I added an  in the loop and changed the search for "mp-" to ".maven". 
 Finally, you probably want to use the replaceAll(regex,String) method.  The replace 
method takes only character arguments and you are trying to replace entire substrings.

Hope that helped.

Sri

-Original Message-
From: John Farrell [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 09, 2003 2:14 AM
To: Maven Users; [EMAIL PROTECTED]
Subject: how do I do this tricky string manipulation with jelly/maven?

It seems to me that Jelly script doesn't support multiple parameters in 
brackets in Java script fragments. The code below puts NumberFormatExceptions 
in maven.log. What I need to do is (a) find another way which involves only 
single parameter methods, or (b) get Jelly to play the game a bit more. Any 
ideas? I am using Maven beta 10. 








Thanks for any inspiration,

John

-
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: Suppressing Maven trace log

2003-10-08 Thread Sri Sankaran
It is just too much background noise.  Since it is just tracing information I thought 
that one could toggle it on or off -- like with a normal Java application.

Maven goal >> null

Grabs everything.  Can't do interaction.

Sri

-Original Message-
From: Michal Maczka [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 08, 2003 9:55 AM
To: 'Maven Users List'
Subject: RE: Suppressing Maven trace log

Can I ask why?

Try: maven goal >> null

Michal

> -Original Message-
> From: Sri Sankaran [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 08, 2003 3:09 PM
> To: Maven Users @ Apache
> Subject: Suppressing Maven trace log
> 
> Using: Maven 1.0rc1
> 
> Is there a way to suppress the trace logging when Maven executes?  I
do
> not want to see all the goals that are being invoked in order to
service
> the goal that I have executed.  For example, if goal-A invoked goal-B
> which in turn invoked goal-C the command
> 
> 
> maven plugin:goal-A
> 
> Results in
> 
> goal-B:
> goal-C:
> 
> being echoed over and above any messages resulting from  or

> statements in these goals.  Also I would like to be able to suppress
the
> 
> BUILD SUCCESSFUL
> Total time: 13 seconds
> Finished at: Wed Oct 08 08:58:55 EDT 2003
> 
> that displays at the end.  Is this possible?
> 
> Sri
> 
> -
> 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]



Suppressing Maven trace log

2003-10-08 Thread Sri Sankaran
Using: Maven 1.0rc1

Is there a way to suppress the trace logging when Maven executes?  I do not want to 
see all the goals that are being invoked in order to service the goal that I have 
executed.  For example, if goal-A invoked goal-B which in turn invoked goal-C the 
command

maven plugin:goal-A

Results in 

goal-B:
goal-C:

being echoed over and above any messages resulting from  or  statements in 
these goals.  Also I would like to be able to suppress the 

BUILD SUCCESSFUL
Total time: 13 seconds
Finished at: Wed Oct 08 08:58:55 EDT 2003

that displays at the end.  Is this possible?

Sri

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



Logging level & jelly:log

2003-10-07 Thread Sri Sankaran
Using: Maven 1.0 rc1

How is the logging level controlled?  Using the jelly:log tags, only the  
messages are getting displayed.  

Several attempts at tuning the logging level have been un-successful.

Sri

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



RE: Maven Regional Repository

2003-10-07 Thread Sri Sankaran
D'oh!  Sorry folks.

Sri

-Original Message-
From: Jason Horne [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 06, 2003 5:41 PM
To: Maven Users List
Subject: RE: Maven Regional Repository

Oops.  Sri meant to send this to our -internal- Maven-users list, not the Maven 
community at large.  Sorry!

Jason


-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 06, 2003 12:43 PM
To: Maven Users List
Subject: Re: Maven Regional Repository


On Mon, 2003-10-06 at 16:01, Sri Sankaran wrote:
> A Maven regional repository has been set up.  It is at 
> http://hoover.unx.sas.com/maven.  All files from http://d7779/maven 
> have been copied over.  Brian Helsel wants to know if the setup is 
> working alright.  Please update your properties to point to this 
> location and report any problems/errors.

Are you mirroring ibiblio?

-
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]



[ANN] Updated Maven genapp

2003-10-06 Thread Sri Sankaran
Maven genapp has been updated.  It is now interactive.  Please download 
maven-1.0rc1-MIS-2003-10-06.zip from the regional repository 
 .

Summary of changes
*   Interaction
*   Project is created in a sub-directory of the current location
*   All spaces in appname will be changed to underscores.  For example, "foo bar" 
changes to "foo_bar"

Sri

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



Maven Regional Repository

2003-10-06 Thread Sri Sankaran
A Maven regional repository has been set up.  It is at 
http://hoover.unx.sas.com/maven.  All files from http://d7779/maven have been copied 
over.  Brian Helsel wants to know if the setup is working alright.  Please update your 
properties to point to this location and report any problems/errors.

Sri


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



RE: How to create xdoc xml?

2003-09-08 Thread Sri Sankaran
In addition to all the other recommendations, if you are developing a plug-in, the 
plug-in plug-in (see http://maven.apache.org/reference/plugins/plugin/) is useful.

Sri

-Original Message-
From: Harden ZHU [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 05, 2003 8:30 PM
To: [EMAIL PROTECTED]
Subject: How to create xdoc xml?

some xml files in xdoc index.xml, links.xml. How to create those?
Are those files manully created?

Thanks

Harden

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



RE: Excluding files from .war using war:war

2003-08-29 Thread Sri Sankaran
I haven't tried it.  Sorry I didn't mean to suggest that.

The war:webapp goal -- which gets invoked when you call war:war -- copies everything 
in your webapps directory -- with no excludes:


  

  


I think the only alternative is to prep a copy of your webapps directory with just 
what you want copied and then set the maven.war.src to point to it.  I use that 
technique since I have to modify my web.xml before building the war.

Sri

-Original Message-
From:   Konrad [mailto:[EMAIL PROTECTED]
Sent:   Fri 8/29/2003 2:18 PM
To: Maven Users List
Cc: 
Subject:RE: Excluding files from .war using war:war
Hi Sri.
 
Thanks for your suggestion, but I already tried that:
 
  
src/webapp/images

  *.*

  
 
Unfortunately, it's not working.  Does it work for you?
 
Thank you.
 


Sri Sankaran <[EMAIL PROTECTED]> wrote: 
Have you tried using the sub-element of the element? See 
http://maven.apache.org/reference/project-descriptor.html#resource.

Sri

-Original Message-
From: Konrad [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 12:42 PM
To: [EMAIL PROTECTED]
Subject: Excluding files from .war using war:war

Does the "war" plugin's war:war goal read the in project.xml when deciding what files 
to include/exclude in the .war that is built, or is only for .jars?

I'm trying to figure out how to exclude certain resources from the .war. I saw that 
there is a "maven.war.classes.excludes" property for the "war" plugin, but didn't see 
a "maven.war.resource.excludes" one.

Do I just need to write a pregoal for "war:war" that deletes certain resources in 
"${maven.war.webapp.dir}"?

Thank you.


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software



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

RE: Excluding files from .war using war:war

2003-08-29 Thread Sri Sankaran
Have you tried using the  sub-element of the  element?  See 
http://maven.apache.org/reference/project-descriptor.html#resource.

Sri

-Original Message-
From: Konrad [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 29, 2003 12:42 PM
To: [EMAIL PROTECTED]
Subject: Excluding files from .war using war:war

Does the "war" plugin's war:war goal read the  in project.xml when deciding 
what files to include/exclude in the .war that is built, or is  only for 
.jars?
 
I'm trying to figure out how to exclude certain resources from the .war.  I saw that 
there is a "maven.war.classes.excludes" property for the "war" plugin, but didn't see 
a "maven.war.resource.excludes" one.
 
Do I just need to write a pregoal for "war:war" that deletes certain resources in 
"${maven.war.webapp.dir}"?
 
Thank you.




-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

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



plugin:generate-goals fails

2003-08-21 Thread Sri Sankaran
Have you had a problem running the generate-goals goal of the plugin plugin?

Maven reports the following error:

Element... j:import
Line.. 115
Column 54
null:-1:-1:  Could not parse Jelly script

Note that this happens only if there is no plugin.jelly file and the goal therefore 
uses the goals-empty.jelly as a template.

The template looks ok to me.  I am not able to figure out the cause of the error.


Sri

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



[OT-Jelly]Expression evaluation

2003-08-20 Thread Sri Sankaran
I am a little confused over when an attribute value of ${whatever} is evaluated as an 
expression and when it is treated literally.

In particular, I am noticing an inconsistency in the way an attribute value is being 
treated by  and .  It seems that 's value attribute is treated 
literally; however, the 's test attribute is evaluated as an expression.

Consider the following property settings
foo-bar.baz = bing
foo_bar.baz = bing
foo.bar.baz = bing

Here are some usages:
Example 1:

 

  


This outputs 
  fbb is 0
-
Example 2:

 

  


This outputs 
  fbb is bing
  foo_bar.baz is null   
-
Example 3:

 

  


This outputs 
  fbb is bing
  foo.bar.baz is null   




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



RE: Multiple source directory

2003-08-18 Thread Sri Sankaran
I have a similar need and came across a hint at the Maven wiki 
http://wiki.codehaus.org/maven/FrequentlyAskedQuestions#head-7545bdc005f855e6b2009275529746f011a9ebcd.

I haven't tried it.

Sri

-Original Message-
From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 11:33 AM
To: [EMAIL PROTECTED]
Subject: Multiple source directory

Hello,

Can I have 2 or more source directories in a maven project.
The reason is, I have some java classes generated with ejb-gen and I don't want to use 
my src/java. 

src/java >> My sources files
src/gen >> Sources generated by ejb-gen
src/test >> My unit tests

Thx,
-emmanuel



-
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: Plug-in dependency being ignored

2003-08-18 Thread Sri Sankaran
Aha!  That was it!

It now downloaded NetComponents.  However, my ant task fails -- however, that I think 
is a classpath issue; I'll have to play with that.

Thanks for getting me going.

Sri

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 12:54 AM
To: Maven Users List
Subject: Re: Plug-in dependency being ignored

Delete the .processed in the plugins expanded directory.
--
dIon Gillard, Multitask Consulting
Blog:  http://blogs.codehaus.org/people/dion/


"Sri Sankaran" <[EMAIL PROTECTED]> wrote on 17/08/2003 02:09:06 PM:

> Using : Maven 1.0 beta 10
> 
> Maven is ignoring a stated dependency of a plug-in.
> 
> I have written a plug-in that invokes the ant telnet task.  Since 
> this requires the NetComponents jar, I placed this in my remote 
> repository and added the appropriate dependency section in the plug-
> in's project.xml.
> 
> However, when I invoke the plug-in I don't see it trying to load the
> jar from the repository and subsequently it fails with a 
> 
> Could not create task of type telnet
> 
> error.
> 
> Am I doing something wrong?
> 
> Sri
> 
> -
> 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: Plug-in dependency being ignored

2003-08-17 Thread Sri Sankaran
I have validated the POM using pom:validate and it doesn't report any error.  Anyway, 
here is the relevant portion:


  
NetComponents
1.0
http://foo.bar.com
  


When I noticed that the use of the  element is deprecated, I changed it to the 
following; with no success: 


  
NetComponents
NetComponents
1.0
http://foo.bar.com
  


The ~/build.properties defines my remote repository (in addition to ibiblio).  It 
should be noted that this setup is working for all other jars; I have confirmed this 
by wiping out the ~/.maven/repository's contents -- this causes jars to be loaded from 
one or the other of the stated remote repositories.

Sri

-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 17, 2003 12:25 AM
To: Maven Users List
Subject: Re: Plug-in dependency being ignored

On Sun, 2003-08-17 at 00:09, Sri Sankaran wrote:
> Using : Maven 1.0 beta 10
> 
> Maven is ignoring a stated dependency of a plug-in.
> 
> I have written a plug-in that invokes the ant telnet task.  Since this requires the 
> NetComponents jar, I placed this in my remote repository and added the appropriate 
> dependency section in the plug-in's project.xml.
> 
> However, when I invoke the plug-in I don't see it trying to load the jar from the 
> repository and subsequently it fails with a 
> 
> Could not create task of type telnet
> 
> error.
> 
> Am I doing something wrong?

Could be, let's see the project.xml for the plug-in.

> Sri
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


-
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]



Plug-in dependency being ignored

2003-08-16 Thread Sri Sankaran
Using : Maven 1.0 beta 10

Maven is ignoring a stated dependency of a plug-in.

I have written a plug-in that invokes the ant telnet task.  Since this requires the 
NetComponents jar, I placed this in my remote repository and added the appropriate 
dependency section in the plug-in's project.xml.

However, when I invoke the plug-in I don't see it trying to load the jar from the 
repository and subsequently it fails with a 

Could not create task of type telnet

error.

Am I doing something wrong?

Sri

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



[NEWBIE] Getting a plugin from a repository

2003-08-14 Thread Sri Sankaran
Using : Maven 1.0 beta 10

Is it possible to have maven automatically pull a plugin from a repository?

I have written a plugin and posted it our (company's) "local" repository.  I now want 
that anyone else be able to get the plugin simply by invoking it. (The 
maven.repo.remote has been set to include the URL to this local repository as well).

I tested this by deleting the plugin from my local machine and then trying to invoke 
it.  It simply fails with an NPE

at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.

Sri

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



RE: Struts TLDs dependencies

2003-08-14 Thread Sri Sankaran
I may be wrong but isn't the dependencies element meant for things you need to *build* 
your project.  Wouldn't the build/resource element be appropriate for tlds?

Sri

-Original Message-
From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 13, 2003 12:16 PM
To: [EMAIL PROTECTED]
Subject: Struts TLDs dependencies

Hi,

I've got a struts application described by maven, in my dependencies I add all the 
struts 1.1 TLDS. When I build the war (maven war), maven copy all the TLDs in my 
webapp but it's keeping the version suffix (struts-html-1.1.tld).

How can I tell maven to remove the version suffix in my webapp structure 
(WEB_INF/tld/*) ?

Here the declaration :

  
struts
struts-nested
1.1
tld

  true

  

Thx,
-emmanuel



-
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]



Description text

2003-08-14 Thread Sri Sankaran
Using: Maven 1.0 beta 10

What is the role of the  and  in the project.xml if 
there is an xdocs/index.xml file?

Sri

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