Updating Download link with deployed distribution files

2004-11-25 Thread Michael Niemaz
Hi,
   I would like the download section of the generated site to link to the
   deployed distributions files (only bin gz and zip) instead of pointing
   at the jar file. Is that possible?
thanx,
--mike
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Using the Javadoc Plugin with multiple source trees

2004-11-25 Thread Eirik Torske
Our project has multiple source trees.
We have our production code - but also our unit tests,
requirement tests and integration tests.
For several reasons we want _individually generated_
Javadoc for these source trees.

The Problem:
It seems impossible to manipulate the
${maven.compile.src.set} property in the Javadoc
Plugin...
What does this line really mean (in the Javadoc Plugin
'plugin.jelly')?
   maven.compile.src.set =
[${context.getAntProject().getReferences().get('maven.compile.src.set')}]


The Dream:
What I would like to do is just override the
properties of choice and execute the plugin.
Something like this:

goal name=javadoc:requirementtest
description=Generate API documentation for the
requirement tests
j:set var=maven.compile.src.set
value=${my.requirementtest.src.dir}/
attaingoal name=javadoc/
/goal

...this don't work with the Javadoc Plugin.
At present, we are using the ant:javadoc in a
custom-made goal, but we would rather use the plugin
directly.

Is it possible? What is the trick?

Thanks
Eirik


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



Re: maven automation of webspher deployment

2004-11-25 Thread Nicolas . CHALUMEAU
Cargo provides a Java API to start/stop and configure Java containers. I think 
it is what you are looking for !

http://cargo.codehaus.org/

Nicolas,





Dion Gillard [EMAIL PROTECTED]
25/11/2004 07:28
Veuillez répondre à Maven Users List

 
Pour :  Maven Users List [EMAIL PROTECTED]
cc : 
Objet : Re: maven automation of webspher deployment


Have you looked at the plugins on http://maven-plugins.sourceforge.net/


On Wed, 24 Nov 2004 22:26:28 -0800 (PST), rajas kumar
[EMAIL PROTECTED] wrote:
 i need help for maven automation of webspher deployment
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com
 


-- 
http://www.multitask.com.au/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]



Re: Dynamically modifing the ressources

2004-11-25 Thread Charles-Alexandre Sabourdin
I don't know the main idea was to be able to make differnet build, with 
differnet conf file.
I am sure that a lot of person can use there projet in various environement an 
then need various conf files.

I will probably juste overwite the file with a post goal.


PS : the more I look around the more I fill this is a jelly question.
since I need to acces 
${pom.build.resources} :
[[dir = /home/sabourdin/Documents/projet/exemplebean/src/conf/default]]

Le mercredi 24 Novembre 2004 23:09, Brett Porter a écrit :
 No, it won't ever work. The project is loaded before maven.xml, and
 all the values evaluated.

 Don't you think you are making this build overly complicated?

 - Brett


 On Wed, 24 Nov 2004 18:24:57 +0100, Charles-Alexandre Sabourdin

 [EMAIL PROTECTED] wrote:
  i is not working, it seem that the variable is not event modifiy :(
 
  Le mercredi 24 Novembre 2004 17:20, Steve Molloy a écrit :
   Try adding scope=parent to your j:set.
  
   Steve Molloy
  
   -Original Message-
   From: Charles-Alexandre Sabourdin [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, November 24, 2004 10:56 AM
   To: Maven Users List
   Subject: Re: Dynamically modifing the ressources
  
   it it not woking correctly.
   What I am tried was to set in
   project.xml
   directorysrc/conf${configDir}/directory
   in project.properties
   configDir=/default
   and in my maven.xml I creat the following goal :
  
   goal name=exemplebean:jar description=set configuration file A
 j:set var=configDir value=/configA/
 echo set configuration directory : ${configDir}/echo
 attainGoal name=echo-value/
 attainGoal name=jar:jar/
   /goal
  
   unfortunatly it does not works.
  
   Le mardi 23 Novembre 2004 20:30, Brett Porter a écrit :
in the resources, set it to something like:
   
src/conf/project${foo}, then set foo to A or B.
   
- Brett
   
   
On Tue, 23 Nov 2004 12:47:55 +0100, Charles-Alexandre Sabourdin
   
[EMAIL PROTECTED] wrote:
 Hi,
 I feel that this must have been discuss somewhere but I could not
 figure it out.
 The basic idea is to have 2 directory /src/conf/projetA
 /src/conf/projetB. I would like to set maven goals to use a
 specific directory.
 I llok aroud and found :
 [echo] $ {pom.build.resources}:
 [[dir =
 /home/sabourdin/Documents/projet/exemplebean/src/conf/projetA]] but
 I did not find how to modify this propertie :(

 --
 Charles-Alexandre
 SABOURDIN
 -

 ---
-- 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]
 
  --
  Charles-Alexandre
  SABOURDIN
  -
 
  -
  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]

-- 
Charles-Alexandre
SABOURDIN
-

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



RE: Using the Javadoc Plugin with multiple source trees

2004-11-25 Thread Eric Pugh
When you start doing lots of weird things, it is sometimes better to copy
the plugin in question, and create myplugin to do this stuff.  Otherwise
you are constantly testing against changes made to the javadoc plugin.
Especially when they are somewhat unusual requirements.


 -Original Message-
 From: Eirik Torske [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 25, 2004 9:49 AM
 To: [EMAIL PROTECTED]
 Subject: Using the Javadoc Plugin with multiple source trees


 Our project has multiple source trees.
 We have our production code - but also our unit tests,
 requirement tests and integration tests.
 For several reasons we want _individually generated_
 Javadoc for these source trees.

 The Problem:
 It seems impossible to manipulate the
 ${maven.compile.src.set} property in the Javadoc
 Plugin...
 What does this line really mean (in the Javadoc Plugin
 'plugin.jelly')?
maven.compile.src.set =
 [${context.getAntProject().getReferences().get('maven.compile.src.set')}]


 The Dream:
 What I would like to do is just override the
 properties of choice and execute the plugin.
 Something like this:

 goal name=javadoc:requirementtest
 description=Generate API documentation for the
 requirement tests
 j:set var=maven.compile.src.set
 value=${my.requirementtest.src.dir}/
 attaingoal name=javadoc/
 /goal

 ...this don't work with the Javadoc Plugin.
 At present, we are using the ant:javadoc in a
 custom-made goal, but we would rather use the plugin
 directly.

 Is it possible? What is the trick?

 Thanks
 Eirik


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



is maven.xdoc.distributionUrl working?

2004-11-25 Thread Michael Niemaz
Hi,
   No matter what I affect to maven.xdoc.distributionUrl, the download
   page is always empty. It only gets something when I play with versions
   but then it only links to jar files ;-(
   Do you know how to generate this download page which would list
   the files contained in maven.xdoc.distributionUrl for download?
   In fact, I would like to produce exactly what's on the maven download
   page. Automatically of course ;-)
Thanx,
--mike
Gezerk wrote:
Set this property: maven.xdoc.distributionUrl
From the site:
Location where the artifacts are distributed. This property is
optional. If it is not defined, then the Download report will not be
added to the navigation menu. NOTE: In the future this information
will be described in the POM. Usage example:
maven.xdoc.distributionUrl=http://www.ibiblio.org/maven/maven/plugins.
Info here: http://maven.apache.org/reference/plugins/xdoc/properties.html
On Fri, 19 Nov 2004 13:23:26 +0200 (EET), Teemu Hiltunen
[EMAIL PROTECTED] wrote:
 

Greetings!
Is there any automagical thing to create this Downloads page into the
site?
Like http://maven.apache.org/reference/plugins/dist/downloads.html for
example.
Thanks in advance,
Teemu Hiltunen
-
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]


changelog plugin - generate changelog between two tags

2004-11-25 Thread Stéphane Nicoll
Hello list,

I would like to generate changelogs between two tags instead of using a period 
(30 days by default). Typically, I would like to generate the changelog between 
tag X and current status (HEAD or branch). 

Tag X, in this case, is the tag which was made for the previous release.

I think it's not supported. I can do it and provide a patch if necessary 
(guidelines welcome in this case).

Regards,
Stéphane

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



RE: is maven.xdoc.distributionUrl working?

2004-11-25 Thread Charles Daniels
 -Original Message-
 From: Michael Niemaz [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, November 25, 2004 4:47 AM
 To: Maven Users List
 Subject: is maven.xdoc.distributionUrl working?
 
 Hi,
 No matter what I affect to maven.xdoc.distributionUrl, 
 the download
 page is always empty. It only gets something when I play 
 with versions
 but then it only links to jar files ;-(
 Do you know how to generate this download page which would list
 the files contained in maven.xdoc.distributionUrl for download?
 In fact, I would like to produce exactly what's on the 
 maven download
 page. Automatically of course ;-)

That is precisely how things are supposed to work with
maven.xdoc.distributionUrl.  If you want to produce a download page
similar to the Maven download page, then you must create your own
download.xml file.  This is exactly what is done in the Maven project
itself.  See the Maven CVS repository (xdocs/start/download.xml):
http://cvs.apache.org/viewcvs.cgi/maven/xdocs/start/.

 
 Thanx,
 
 --mike
 
 Gezerk wrote:
 
 Set this property: maven.xdoc.distributionUrl
 
 From the site:
  Location where the artifacts are distributed. This property is
 optional. If it is not defined, then the Download report will not be
 added to the navigation menu. NOTE: In the future this information
 will be described in the POM. Usage example:
 maven.xdoc.distributionUrl=http://www.ibiblio.org/maven/maven
 /plugins.
 
 Info here: 
 http://maven.apache.org/reference/plugins/xdoc/properties.html
 
 
 On Fri, 19 Nov 2004 13:23:26 +0200 (EET), Teemu Hiltunen
 [EMAIL PROTECTED] wrote:
   
 
 Greetings!
 
 Is there any automagical thing to create this Downloads 
 page into the
 site?
 Like 
 http://maven.apache.org/reference/plugins/dist/downloads.html for
 example.
 
 Thanks in advance,
 
 Teemu Hiltunen
 
 
 -
 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 automation of webspher deployment

2004-11-25 Thread Dion Gillard
It doesn't appear to support websphere yet.


On Thu, 25 Nov 2004 09:49:12 +0100,
[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Cargo provides a Java API to start/stop and configure Java containers. I 
 think it is what you are looking for !
 
 http://cargo.codehaus.org/
 
 Nicolas,
 
 Dion Gillard [EMAIL PROTECTED]
 25/11/2004 07:28
 Veuillez répondre à Maven Users List
 
 Pour :  Maven Users List [EMAIL PROTECTED]
 cc :
 Objet : Re: maven automation of webspher deployment
 
 
 
 
 Have you looked at the plugins on http://maven-plugins.sourceforge.net/
 
 On Wed, 24 Nov 2004 22:26:28 -0800 (PST), rajas kumar
 [EMAIL PROTECTED] wrote:
  i need help for maven automation of webspher deployment
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
 
 
 --
 http://www.multitask.com.au/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]
 
 


-- 
http://www.multitask.com.au/people/dion/

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



RE: maven automation of webspher deployment

2004-11-25 Thread Vincent Massol


 -Original Message-
 From: Dion Gillard [mailto:[EMAIL PROTECTED]
 Sent: jeudi 25 novembre 2004 15:23
 To: Maven Users List
 Subject: Re: maven automation of webspher deployment
 
 It doesn't appear to support websphere yet.
 

True... we're waiting for a donation... ;-)

-Vincent

 
 On Thu, 25 Nov 2004 09:49:12 +0100,
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  Cargo provides a Java API to start/stop and configure Java containers. I
 think it is what you are looking for !
 
  http://cargo.codehaus.org/
 
  Nicolas,
 
  Dion Gillard [EMAIL PROTECTED]
  25/11/2004 07:28
  Veuillez répondre à Maven Users List
 
  Pour :  Maven Users List [EMAIL PROTECTED]
  cc :
  Objet : Re: maven automation of webspher deployment
 
 
 
 
  Have you looked at the plugins on http://maven-plugins.sourceforge.net/
 
  On Wed, 24 Nov 2004 22:26:28 -0800 (PST), rajas kumar
  [EMAIL PROTECTED] wrote:
   i need help for maven automation of webspher deployment
  
   __
   Do You Yahoo!?
   Tired of spam?  Yahoo! Mail has the best spam protection around
   http://mail.yahoo.com
  
 
  --
  http://www.multitask.com.au/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]
 
 
 
 
 --
 http://www.multitask.com.au/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]



newbie questin on cvs issue of maven

2004-11-25 Thread jsona laio
Hi, maven:
I'm interested in learning maven to apply project
development. however, I have a newbie question about
cvs. (I'm not sure weather this is a suitable place to
ask my question, if not; I applogize it!)
the question is - if I have a simple project (product)
of which the source code can be divided into 2
different segemanet. one is for standard version, the
other for customized (clients). For instance, we make
use of webwork as our front end framework, in which we
have view.properties of two version; where there's
line like 
===VERSION 1==BEG
doit.action=FirstversionAction

===VERSION 1==END
===VERSION 2==BEG
doit.action=SecondversionAction

===VERSION 2==END
Is it possible to use maven to merge this two version
? or what is a better strategy to approach it?
I appreciate any suggestion, sincerely
Jason




___ 
Moving house? Beach bar in Thailand? New Wardrobe? Win £10k with Yahoo! Mail to 
make your dream a reality. 
Get Yahoo! Mail www.yahoo.co.uk/10k

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



Re: Maven site:sshdeploy hanging

2004-11-25 Thread Chris Huisman
Thanks guys for the links and the insight.  I now have it transfering 
everything over properly.

Chris.
Alex Soto wrote:
I'm just guessing, so take it with a grain of salt.  But you might 
need to setup key based logins so you don't need user interaction?

Read this http://software.newsforge.com/software/04/03/15/211214.shtml
Good luck,
Alex

Chris Huisman wrote:
Hello, when attempting to use maven site:sshdeploy things hang when 
it gets to:
_   _
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.1

build:start:
xdoc:init:
site:init:
site:sshdeploy:
   [echo]
 siteAddress = hummer
 siteDirectory = /home/httpd/html/QS/projects/hotdog
 siteUser = chuisman
   [echo]
   maven.homepage=/home/httpd/html/QS/projects/hotdog
   [tar] Building tar: 
D:\chuisman\dev\hotdog\target\qsCommons-0.01-site.tar
   [gzip] Building: 
D:\chuisman\dev\hotdog\target\qsCommons-0.01-site.tar.gz
   [delete] Deleting: 
D:\chuisman\dev\hotdog\target\qsCommons-0.01-site.tar

Nothing proceeds after this, however when I type ctrl^C I get the 
following:
   [exec] [EMAIL PROTECTED]'s password:
   [exec] [ERROR] Result: 1

how do I go about entering the password???  Why won't it ask me for 
the password until I type ctrl^C?

Thanks,
Chris
-
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 and Eclipse External Tools

2004-11-25 Thread chuisman
try using eclipse:external-tools-21 if you're using anything above eclipse
2.1.

c.

 Hi,
 I'm trying to figure out how to import the externaltools.xml file
 generated by the eclipse:external-tools goal. I read the documentation,
 and made sure this file is stored in

 ${eclipse
 workspace}/.metadata/.plugins/org.eclipse.ui.externaltools/externaltools.xml

 but when I go to run-externaltools in eclipse I don't see anything
 different. Part of the problem might be that I'm not too familiar with
 external tools in general but shouldn't I see a list of external tools
 that are defined in the file as menu options? Or should I not see
 anything different?

 Thanks
 Duncan




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