Re: [M2] including a test jar in test phase

2005-06-28 Thread Emmanuel Venisse
hi, With m2, you should add a scopetest/scope in your dependency Emmanuel c_inconnu3 wrote: Hi, I want to test some code which uses data in a jar file. So I have created a jar holding data to test against. In M1, I wrote something like that : preGoal name=test:test ja:path

Re: increment a value in jelly

2005-06-28 Thread Wim Deblauwe
Have you tried putting the +1 in the {} brackets? 2005/6/27, [EMAIL PROTECTED] [EMAIL PROTECTED] : Hi all, I'm trying to increment a value in maven. I tried the follwoing code: j:set var=inCL value=1/ j:set var=inCL value=${context.getVariable('inCL')}+1/ But this gives me 1+1 as

Re: scm:tag failing

2005-06-28 Thread Emmanuel Venisse
With svn, you need to specify a tagbase, so you can run maven like this: maven scm:tag -Dmaven.scm.tag=TEST_TAG -Dmaven.scm.svn.tag.base=http://svn.server.com/repos_root/tags Emmanuel Jamie Bisotti wrote: Assuming Subversion looks like the following: http://svn.server.com/repos_root/

Re: [M2] equivalent of maven.test.skip in m2 ?

2005-06-28 Thread Emmanuel Venisse
c_inconnu3 wrote: Hi Is there an equivalent of maven.test.skip=true option in M2 ? No. Emmanuel Thanks David DIDIER - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: increment a value in jelly

2005-06-28 Thread Gisbert Amm
There was a posting about that some days ago (a follow-up to a different subject): http://www.archivum.info/users@maven.apache.org/2005-06/msg00691.html You need to invoke the respective method of the Java integer object: j:invokeStatic var=foo className=java.lang.Integer method=parseInt

Re: I can't add M2 Project

2005-06-28 Thread Trygve Laugstøl
On Tue, Jun 28, 2005 at 08:09:20AM +0800, Johnny Ruiz wrote: I've tried the POM that you mentioned and it can be successfully added now. But I think you still need to include CVS and SVN in your path because Continuum needs them. 74848 [Thread-5] WARN

M2: Getting startet, dependency problem

2005-06-28 Thread Christian Schlaefcke
Hi Folks, still try to get my own project under maven2 control. I tried m2 install in the project folder, but it seems leike there is an dependency missing: [INFO] BUILD FAILURE [INFO] [INFO] Reason: Compilation

Re: Cannot evaluate expression exception on jar:install with 1.1-beta-1

2005-06-28 Thread Kanakambaran Nair
Try adding this after the project tag pomVersion3/pomVersion JIRA is for bugs. Regards On 6/27/05, Brian Moseley [EMAIL PROTECTED] wrote: using 1.1-beta-1, jar:install generates a Cannot evaluate expression exception caused by a NumberFormatException thrown by Project.isPomCurrent.

Re: M2: Getting startet, dependency problem

2005-06-28 Thread Kristian Nordal
On 6/28/05, Christian Schlaefcke [EMAIL PROTECTED] wrote: Hi Folks, still try to get my own project under maven2 control. I tried m2 install in the project folder, but it seems leike there is an dependency missing: [INFO] BUILD FAILURE [INFO]

Re: M2: Getting startet, dependency problem

2005-06-28 Thread solo turn
if your program compiles with log4j you have a compile time dependency to log4j. not a runbtime like you did in the pom :) -solo. On 6/28/05, Christian Schlaefcke [EMAIL PROTECTED] wrote: Hi Folks, still try to get my own project under maven2 control. I tried m2 install in the project

Réf. : Re: increment a value in jelly

2005-06-28 Thread jean-marc . bottin
Gisbert, Thank you for your help. Jean-Marc Extranet [EMAIL PROTECTED] - 28/06/2005 09:37 Veuillez répondre à users@maven.apache.org Pour : users cc : Objet : Re: increment a value in jelly There was a posting about that some days ago (a follow-up to a different subject):

Réf. : Re: increment a value in jelly

2005-06-28 Thread jean-marc . bottin
Win, Thank you for your help. Jean-Marc Extranet [EMAIL PROTECTED] - 28/06/2005 08:15 Veuillez répondre à users@maven.apache.org Pour : users cc : Objet : Re: increment a value in jelly Have you tried putting the +1 in the {} brackets? 2005/6/27, [EMAIL PROTECTED] [EMAIL

Re: M2: Getting startet, dependency problem

2005-06-28 Thread Christian Schlaefcke
This was not not typo safe ;-) But... I corrected to scoperuntime/scope and still get: [INFO] BUILD FAILURE [INFO] [INFO] Reason: Compilation failure [INFO]

How to modify HTML charset generated by site:site in Maven2 ?

2005-06-28 Thread Jean-Charles Giardina
Hi everybody, I'm using Maven2 to genrated my project web site. But I want HTML generated files must use UTF-8 rather than ISO-8859-1. How must configure Maven2 to do that ? Tks - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: i18n : error or bug with menu tag ?

2005-06-28 Thread Arnaud HERITIER
It's fixed in SVN. I deployed a SNAPSHOT if you want to test it (available in few hours) : maven plugin:download -Dmaven.repo.remote=http://cvs.apache.org/repository -DgroupId=maven -DartifactId=maven-xdoc-plugin -Dversion=SNAPSHOT Arnaud -Message d'origine- De : Vincent Siveton

problems building repoclean

2005-06-28 Thread Daniele Pizzoni
I'd like to begin testing maven2 with our projects. We have a internal maven 1 repository that I need to convert in order to use maven2. I found this mail http://marc.theaimsgroup.com/?l=turbine-maven-userm=111472885821255w=2 about the repoclean tool. I followed the instructions but it seem to

Re: M2: Getting startet, dependency problem

2005-06-28 Thread Emmanuel Venisse
Logger is used in your code, so it isn't a runtime dependency but a compile dependency. The compile scpe is the default, remove the scope on your log4j dependency and the compilation will be happy :-) Emmanuel Christian Schlaefcke wrote: This was not not typo safe ;-) But... I corrected

Re: Multiproject property overriding.

2005-06-28 Thread Edwin Punzalan
I will be quoting the maven site: http://maven.apache.org/reference/properties.html The properties files in Maven are processed in the following order: 1. Built-in properties are processed 2. |${basedir}/project.properties| (|basedir| is replaced by the directory where the

Re: M2: Getting startet, dependency problem

2005-06-28 Thread Rahul
Hi, I don't see Log4J 1.2.9 distributed on Ibiblio repository. Is this installed in your local repository ? If not, then you will need to install/deploy it to your local repository. I think this might help you install log4j 1.2.9 in local repo

Re: problems building repoclean

2005-06-28 Thread Emmanuel Venisse
we need to update the repoclean code to new apis Emmanuel Daniele Pizzoni wrote: I'd like to begin testing maven2 with our projects. We have a internal maven 1 repository that I need to convert in order to use maven2. I found this mail

Re: How to modify HTML charset generated by site:site in Maven2 ?

2005-06-28 Thread Emmanuel Venisse
Jean-Charles Giardina wrote: Hi everybody, I'm using Maven2 to genrated my project web site. But I want HTML generated files must use UTF-8 rather than ISO-8859-1. How must configure Maven2 to do that ? It isn't possible for the moment. Create a jira issue. Emmanuel Tks

Re: Getting startet, dependency problem

2005-06-28 Thread Rahul
Hi, I don't see Log4J 1.2.9 distributed on Ibiblio repository. Is this installed in your local repository ? If not, then you will need to install/deploy it to your local repository. I think this might help you install log4j 1.2.9 in local repo

Re: How to modify HTML charset generated by site:site in Maven2 ?

2005-06-28 Thread Jean-Charles Giardina
tks 2005/6/28, Emmanuel Venisse [EMAIL PROTECTED]: Jean-Charles Giardina wrote: Hi everybody, I'm using Maven2 to genrated my project web site. But I want HTML generated files must use UTF-8 rather than ISO-8859-1. How must configure Maven2 to do that ? It isn't possible for

Re: problems building repoclean

2005-06-28 Thread Daniele Pizzoni
On Tue, 2005-06-28 at 12:04 +0200, Emmanuel Venisse wrote: we need to update the repoclean code to new apis alternatives to waiting? :) Dan -- Daniele Pizzoni [EMAIL PROTECTED] Metaware S.p.A. - To unsubscribe, e-mail:

Checking out a labelled version

2005-06-28 Thread Jeffrey Mutonho
I don't know if my first post was displayed on the list (coz i received an e-mail to confirm my subscription).My question is : Is it possible to get Maven to checkout a labelled version of a project in CVS and not necessarily the latest version of the project?If so , how does one specify that?

Error when using jetspeed maven plugin

2005-06-28 Thread cai liang
Dear All: I have been confused with this problem for several days. I have asked at jetspeed's mailing list, but no one replys. Since the error occurs when using maven, so I think maybe i can ask in this mailing list. Hope you can help me! I tried to use the jetspeed plugin of maven to build

Re: Checking out a labelled version

2005-06-28 Thread Gisbert Amm
Set maven.scm.tag to the tag you want, like: maven scm:checkout -Dmaven.scm.tag=FOO ... See http://maven.apache.org/reference/plugins/scm/properties.html Regards, Gisbert Amm Jeffrey Mutonho wrote: I don't know if my first post was displayed on the list (coz i received an e-mail to confirm

Re: Checking out a labelled version

2005-06-28 Thread Jeffrey Mutonho
On 6/28/05, Gisbert Amm [EMAIL PROTECTED] wrote: Set maven.scm.tag to the tag you want, like: maven scm:checkout -Dmaven.scm.tag=FOO ... See http://maven.apache.org/reference/plugins/scm/properties.html I have a preGoal defined preGoal name=build-all j:set

Re: problems building repoclean

2005-06-28 Thread Emmanuel Venisse
Daniele Pizzoni wrote: On Tue, 2005-06-28 at 12:04 +0200, Emmanuel Venisse wrote: we need to update the repoclean code to new apis alternatives to waiting? :) you can convert manually your repo ;-) Dan - To

Re: I can't add M2 Project

2005-06-28 Thread Christian Schlaefcke
Hi, I just tried to get this running now, but the SQLException is still thrown: [INFO] Adding XML-RPC handler for role 'org.apache.maven.continuum.xmlrpc.ContinuumXmlRpc to name 'continuum'. [INFO] The application server has started. setting target = Summary.vm target = Summary.vm 2005-06-28

Re: Checking out a labelled version

2005-06-28 Thread Jeffrey Mutonho
On 6/28/05, Gisbert Amm [EMAIL PROTECTED] wrote: I think it should rather be preGoal name=build-all j:set var=maven.scm.cvs.moduleSQLAdmin/j:set j:set var=maven.scm.tagSQLAdmin_1_0/j:set attainGoal name=scm:cvs-checkout-project/ /preGoal Note that maven.scm.cvs.module is

RE: [M-1.0.2] [cactus] [multiproject] Can not cactify in multiproject environnement

2005-06-28 Thread Vincent Massol
Sorry but this is rather unreadable... I'm not going to do all the work for you. You need to figure it out. I can try to help but I don't have much time. Could you please show us your build snippet that defines the cactus tasks? Thanks -Vincent -Original Message- From: Raphaël Piéroni

Maven 2 - insert images in site

2005-06-28 Thread Jean-Charles Giardina
Hi, I did not succeed in inserting an image in apt file using tag : [./images/figures/fig1] Figure 1 Using this tag as the same result : [../resources/images/figures/fig1] Figure 1 Only text Figure 1 is shown in html file. Can you help me ? My source tree is : src/ +-- site/ +--

log4j:ERROR Attempted to append to closed appender named [null].

2005-06-28 Thread Michael Niemaz
Anyone got this error? I get it since I've upgraded (I guess) to Maven-1.1b2. xdoc:generate-from-pom: [echo] Generating xdocs from POM ... log4j:ERROR Attempted to append to closed appender named [null]. --mike - To

RE: provided dependency scope

2005-06-28 Thread JWiegman
Can anyone comment if this specific bug will be fixed in MNG-514? Or beta1 for that matter? Should I make a comment about this problem on MNG-514? Many thanks! -Original Message- From: Mike Perham [mailto:[EMAIL PROTECTED] Sent: Monday, June 27, 2005 11:22 AM To: Maven Users List

RE: log4j:ERROR Attempted to append to closed appender named [null].

2005-06-28 Thread Arnaud HERITIER
Yes I have it too sometimes. I didn't try to fix it actually. Arnaud -Message d'origine- De : Michael Niemaz [mailto:[EMAIL PROTECTED] Envoyé : mardi 28 juin 2005 13:58 À : Maven Users List Objet : log4j:ERROR Attempted to append to closed appender named [null]. Anyone got

Re: problems building repoclean

2005-06-28 Thread Trygve Laugstøl
On Tue, Jun 28, 2005 at 12:21:06PM +0200, Daniele Pizzoni wrote: On Tue, 2005-06-28 at 12:04 +0200, Emmanuel Venisse wrote: we need to update the repoclean code to new apis alternatives to waiting? :) Fix it. -- Trygve signature.asc Description: Digital signature

Re: Multiproject property overriding.

2005-06-28 Thread Adam Hardy
Edwin Punzalan on 28/06/05 10:57, wrote: I will be quoting the maven site: http://maven.apache.org/reference/properties.html The properties files in Maven are processed in the following order: 1. Built-in properties are processed 2. |${basedir}/project.properties| (|basedir| is replaced

Re: Maven 2 - insert images in site

2005-06-28 Thread Emmanuel Venisse
Jean-Charles Giardina wrote: Hi, I did not succeed in inserting an image in apt file using tag : [./images/figures/fig1] Figure 1 You're right, but it's a bug in the apt renderer. Can you open a jira issue ? Emmanuel Using this tag as the same result :

Re: URGENT: maven stopped generating xdoclet files altogether. Please help...

2005-06-28 Thread Rod Coffin
Mick, When I have experienced similiar problems with XDoclet appearing to run but not generating anything I have usually found the cause to be one of the following: 1. The right dependencies aren't included on the classpath 2. Bean classes didn't implement the appropriate interfaces

Re: I can't add M2 Project

2005-06-28 Thread Trygve Laugstøl
Answers inline. When writing new mails do NOT reply to a existing thread, it's confusing and people assume it's related to the original subject message. On Tue, Jun 28, 2005 at 01:40:26PM +0200, Christian Schlaefcke wrote: Hi, I just tried to get this running now, but the SQLException is

Re: Multiproject property overriding.

2005-06-28 Thread Trygve Laugstøl
On Tue, Jun 28, 2005 at 01:19:09PM +0100, Adam Hardy wrote: Edwin Punzalan on 28/06/05 10:57, wrote: I will be quoting the maven site: http://maven.apache.org/reference/properties.html The properties files in Maven are processed in the following order: 1. Built-in properties are

Re: Checking out a labelled version

2005-06-28 Thread Gisbert Amm
It's not non-existant, it was formerly there and is obviously still existing in your version of the SCM plugin. However, it'll vanish when you upgrade the plugin one day (since it's deprecated). But you're right: As long as Maven does what you expect and doesn't complain, you don't need to

Re: problems building repoclean

2005-06-28 Thread Daniele Pizzoni
On Tue, 2005-06-28 at 14:05 +0200, Trygve Laugstøl wrote: On Tue, Jun 28, 2005 at 12:21:06PM +0200, Daniele Pizzoni wrote: On Tue, 2005-06-28 at 12:04 +0200, Emmanuel Venisse wrote: we need to update the repoclean code to new apis alternatives to waiting? :) Fix it. Really I'd like

Re: Checking out a labelled version

2005-06-28 Thread Jeffrey Mutonho
On 6/28/05, Gisbert Amm [EMAIL PROTECTED] wrote: It's not non-existant, it was formerly there and is obviously still existing in your version of the SCM plugin. However, it'll vanish when you upgrade the plugin one day (since it's deprecated). But you're right: As long as Maven does what you

Re: Checking out a labelled version

2005-06-28 Thread Gisbert Amm
Sorry, I did misunderstand you indeed ;-) I'm afraid I cannot help you much further. Does Maven complain when you try it from the commandline like that?: maven scm:cvs-checkout-project -Dmaven.scm.cvs.module=SQLAdmin -Dmaven.scm.tag=FOO_BAR_TAG ... Does it correctly check out your tagged

Re: Checking out a labelled version

2005-06-28 Thread Jeffrey Mutonho
On 6/28/05, Gisbert Amm [EMAIL PROTECTED] wrote: Sorry, I did misunderstand you indeed ;-) I'm afraid I cannot help you much further. Does Maven complain when you try it from the commandline like that?: maven scm:cvs-checkout-project -Dmaven.scm.cvs.module=SQLAdmin

RE : i18n : error or bug with menu tag ?

2005-06-28 Thread ahgt sur laposte.net
Thank you. But now, I am looking to move to M2, where i18n is dealt with no key string etc... If i keep M1 (fail using M2 right now in production), I'll try it for sure Antoine -Message d'origine- De : Arnaud HERITIER [mailto:[EMAIL PROTECTED] Envoyé : mardi 28 juin 2005 11:43 À :

Re: Multiproject property overriding.

2005-06-28 Thread Gaurav Kushwaha
But the point of contention here is the properties specified in ${basedir1}/project.properties and ${basedir2}/build.properties where ${basedir1} is the project root of the sub project and ${basedir2} is the root of the multiproject project root. My pic was that ${basedir2}/build.properties should

Maven Validator (maven-xhtml-plugin): Could not start validation: null not found

2005-06-28 Thread Jeff Jensen
(Is this the correct list for help on this plugin? Its web page does not have a list listed, it is not listed on sf's Maven Plugins, but it is hosted on sf, so I am not sure.) I am using Maven beta 1.1 and trying to get the Validator 3rd party plugin working (maven-xhtml-plugin). The following

HTTP 302 errors

2005-06-28 Thread Jon Strayer
I'm seeing a lot of these errors in my builds: Initial Messages Attempting to download core-SNAPSHOT.jar. Error retrieving artifact from [http://maven-plugins.sf.net/maven/wfa-billing/jars/core-SNAPSHOT.jar]: java.io.IOException: Unknown error downloading; status code was: 302 The meaning of

how to generate WAS5 specific files for my WAR? XDoclet does my ejb's fine....

2005-06-28 Thread Mick Knutson
OK, I have my ejb's being generated with xdoclet, and the ibm-ejb-jar-bnd.xmi and the ibm-ejb-jar-ext.xmi are being generated fine. But now, I think I have to generate a ibm-web-bnd.xmi and the ibm-web-ext.xmi at least in wsad studio, it seems to generate these files as well. So: 1. Do I need

Re: HTTP 302 errors

2005-06-28 Thread Brett Porter
Maven should cope with the redirect,but if you are having problems -X should show the actual URL it is going to and you can change the remote repository definition. In this case,I think changing to sourceforge insteadof sf will do the trick. Your Apache log shouldn't be showing the 302 at all as

RE : RE : [REPOST] i18n (M1 or M2): how to set llinks (a) whith language dependant href

2005-06-28 Thread ahgt sur laposte.net
Hello, Trying to build a web site with M2 When you say (see post here under): +- src/ +- site/ +- apt/ | +- fr/ | | +- index.apt (French version) | +- index.apt (Default version) +- site.xml +- fr/ | +- apt/ | | +- index.apt

repoclean howto

2005-06-28 Thread Daniele Pizzoni
If you checkout repoclean from: http://svn.apache.org/repos/asf/maven/components/trunk/sandbox/repoclean (revision around 202170) and try to compile it you will find that you can't. That's because the dependencies are against snapshots that are not in sync anymore. I fixed the dependencies and

Re: RE : RE : [REPOST] i18n (M1 or M2): how to set llinks (a) whith language dependant href

2005-06-28 Thread Emmanuel Venisse
Hi Antoine, it's a mistake, you need only one site.xml under site/ ;-) The full support for i18n is in svn, you need to checkout the trunk and bootstrap it for obtain it and the doc is ready in svn