i18n : how to put html tag in translation piece of texte ?

2005-06-21 Thread ahgt sur laposte.net
Hi, Just starting with maven. Looks great. I've build up a maven project with site generation, with two languages. Using key=blabla, to get the translation text from properties file xdocs_fr.properties, is ok,... But is there a way to put html tags in it ? I understand that it is not really nice

How do deal with or LT in maven 1.0.1

2005-06-21 Thread jean-marc . bottin
Hi all, I am having some difficulties with the LT expression. I am passing to a value by the command line like maven -Djbox.version=DEFF-UAT2-V9 jbox:try I want to evaluate the numeric part of the variable jbox;version which is 9 in this example. So I proceed the following way: j:set

Including libraries in distribution

2005-06-21 Thread Gilles Devaux
Hi all, First of all sorry if I ask a common question but I couldn't find any answer in the mailing list archive. I have a simple Java project and I want to include the libs in the distribution along with the start scripts. I have placed my scripts in a src/dist directory and I use post goals to

How to include dependant jars in my result jar: jar.bundle works?

2005-06-21 Thread David Santiago Turiño
Hi, I'd like to be able to include some dependency jars in the jar produced by the maven jar goal for a given project. I've seen a few references about using a jar.bundletrue/jar.bundle entry in the properties of a dependency, but I don't get it working... Is there any way of doing this?

Re: How do deal with or LT in maven 1.0.1

2005-06-21 Thread dan tran
try j:if test=${jboxNumber lt 10} On 6/21/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, I am having some difficulties with the LT expression. I am passing to a value by the command line like maven -Djbox.version=DEFF-UAT2-V9 jbox:try I want to evaluate the numeric part of

RE : How do deal with or LT in maven 1.0.1

2005-06-21 Thread ahgt sur laposte.net
May be try amp;lt; I have seen this here : http://maven.apache.org/reference/plugins/xdoc/faq.html#description-html But don't really know if it can apply Give it a try... Antoine -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : mardi 21 juin 2005 09:55

Re: How to include dependant jars in my result jar: jar.bundle works?

2005-06-21 Thread Edmund Urbani
David Santiago Turiño wrote: Hi, I'd like to be able to include some dependency jars in the jar produced by the maven jar goal for a given project. I've seen a few references about using a jar.bundletrue/jar.bundle entry in the properties of a dependency, but I don't get it working... Is

Réf. : RE : How do deal with or LT in maven 1.0.1

2005-06-21 Thread jean-marc . bottin
Hi Antoine, I tried and unfortunately, the result is the same. Jean-Marc Extranet [EMAIL PROTECTED] - 21/06/2005 10:49 Veuillez répondre à users@maven.apache.org Pour : users cc : Objet : RE : How do deal with or LT in maven 1.0.1 May be try amp;lt; I have seen this here :

Réf. : Re: How do deal with or LT in maven 1.0.1

2005-06-21 Thread jean-marc . bottin
Hi, Sorry, the result is the same. Jean-Marc Extranet [EMAIL PROTECTED] - 21/06/2005 10:35 Veuillez répondre à users@maven.apache.org Pour : users cc : Objet : Re: How do deal with or LT in maven 1.0.1 try j:if test=${jboxNumber lt 10} On 6/21/05, [EMAIL PROTECTED] [EMAIL

Re: How to include dependant jars in my result jar: jar.bundle works?

2005-06-21 Thread David Santiago Turiño
Thanks, Edmund. That plugin seems to do exactly what I'm trying to... although I thought there would be some native way of achieving it with the jar plugin... David Edmund Urbani escribió: David Santiago Turiño wrote: Hi, I'd like to be able to include some dependency jars in the jar

maven -X successful but lots of error messages

2005-06-21 Thread Michael Niemaz
Hi all, I'm trying to debug something so I ran maven -X ... I noticed that I had tons of the following error message. It seems to happen on every goals ;-( My build is successful though, maybe it is not that important but we never know ;-) --mike [DEBUG] Could not load class

RE: How to include dependant jars in my result jar: jar.bundle works?

2005-06-21 Thread Gilles Devaux
I have asked the same kind of questions right before and this plugin seems to do what I need but I still have some problems: - When packaged like this my application (a swing application) is incredibly slow (nearly 30 seconds instead of nearly instantly) and I got NullPointerException when

maven multiproject:site log4j error messages

2005-06-21 Thread Michael Niemaz
Hi all, I'm getting the following messages when running multiproject:site goal. The build is successful but I guess it would be better I could find out why I get these error messages. It probably has an impact on the generated reports but I can't say where ... Any ideas? --mike

[M1.1-Beta1] artifact:artifact-install org.apache.maven.project.Dependency.setProperties(Ljava/util/List;)V

2005-06-21 Thread Jens Zastrow
BUILD FAILED File.. E:\Profiles\zastrow\.maven\cache\maven-artifact-plugin-1.5.2\plugin.jelly Element... artifact:artifact-install Line.. 62 Column -1 org.apache.maven.project.Dependency.setProperties(Ljava/util/List;)V org.apache.maven.werkz.UnattainableGoalException: Unable to

Re: copying a dependency

2005-06-21 Thread Torsten Curdt
Torsten Curdt wrote: The best known of the undocumented tags: hehe :) project ... xmlns:deploy=deploy ... deploy:copy-deps todir=${basedir}/foo / ... The other alternative is to loop over ${pom.artifacts} (which is what that tag does). Another related question... let's say I want to go

AW: Réf. : RE : How do deal with or LT in maven 1.0.1

2005-06-21 Thread Schoenknecht,Andreas
Hello, I think I had the same problem some time ago and could solve it by turning the compare and use gt; instead of lt; Seemed to be a Jelly problem to me. Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: copying a dependency

2005-06-21 Thread Brett Porter
In this case you would need to do a loop: j:forEach var=dep items=${pom.artifacts} !-- something with dep.file, dep.groupId, dep.artifactId, dep.version, etc -- /j:forEach Cheers, Brett On 6/21/05, Torsten Curdt [EMAIL PROTECTED] wrote: Torsten Curdt wrote: The best known of the

Re: [M1.1-Beta1] artifact:artifact-install org.apache.maven.project.Dependency.setProperties(Ljava/util/List;)V

2005-06-21 Thread Brett Porter
http://jira.codehaus.org/browse/MPARTIFACT-54 On 6/21/05, Jens Zastrow [EMAIL PROTECTED] wrote: BUILD FAILED File.. E:\Profiles\zastrow\.maven\cache\maven-artifact-plugin-1.5.2\plugin.jelly Element... artifact:artifact-install Line.. 62 Column -1

Re: maven -X successful but lots of error messages

2005-06-21 Thread Brett Porter
This is just debugging coming from Ant. Nothing to worry about. - Brett On 6/21/05, Michael Niemaz [EMAIL PROTECTED] wrote: Hi all, I'm trying to debug something so I ran maven -X ... I noticed that I had tons of the following error message. It seems to happen on every goals ;-( My

Re: copying a dependency

2005-06-21 Thread Torsten Curdt
Brett Porter wrote: In this case you would need to do a loop: j:forEach var=dep items=${pom.artifacts} !-- something with dep.file, dep.groupId, dep.artifactId, dep.version, etc -- /j:forEach That's what I though :) ...but there is no way to hook in the transformation into the copy? I

Re: copying a dependency

2005-06-21 Thread Brett Porter
On 6/21/05, Torsten Curdt [EMAIL PROTECTED] wrote: That's what I though :) ...but there is no way to hook in the transformation into the copy? I mean: the keyword expansion is somthing similar... So write an ant task and call it from there? Or what would you reckon? I'm a little unsure

Re: Ejb clients

2005-06-21 Thread Nathaniel Stoddard
Thanks, Emmanual. That worked. But how do I configure my project that uses the ejb as a dependency to use the client JAR instead of the main one? It looks like all of my WARs are including the full ejb-jar instead of the client-jar. On 6/17/05, Emmanuel Venisse [EMAIL PROTECTED] wrote: You

Re: Ejb clients

2005-06-21 Thread Brett Porter
as of alpha-3, ejb-client will work as a dependency type - feel free to build from subversion and test it out! http://maven.apache.org/maven2/building.html - Brett On 6/21/05, Nathaniel Stoddard [EMAIL PROTECTED] wrote: Thanks, Emmanual. That worked. But how do I configure my project that

Re: Having a problem with the Project Info Reports

2005-06-21 Thread stéphane bouchet
Hi, I am having the same problem with differents environments. On my Win2k box, with JDK 1.4.2, i got a good report document But in my Solaris box, with JDK 1.5, i got a bad report document. when i look in the generated reports, for example maven-reports.xml, in both case i got : properties

Re: copying a dependency

2005-06-21 Thread Torsten Curdt
That's what I though :) ...but there is no way to hook in the transformation into the copy? I mean: the keyword expansion is somthing similar... So write an ant task and call it from there? Or what would you reckon? I'm a little unsure what you are doing... As for javaflow and for other

Re: copying a dependency

2005-06-21 Thread Brett Porter
On 6/21/05, Torsten Curdt [EMAIL PROTECTED] wrote: As for javaflow and for other projects that use byte code rewriting I would like to provide the option to do the byte code rewriting at build time. Right.. I'm tempted to give the m2 solution which is to write a java bean that does it and

Re: copying a dependency

2005-06-21 Thread Torsten Curdt
Right.. I'm tempted to give the m2 solution which is to write a java bean that does it and tell it to bind to @phase process-classes... interesting For maven1, utilising the same bean, adding a postGoal name=java:compile / probably is what you are after (probably what you are already doing

RE: Newbie Help

2005-06-21 Thread Yann LE DU
Hi Qin, Are you using a proxy ? If so, maybe that's the problem, and you will have to create (or edit) a file named build.properties in your local user directory (C:\Documents and Settings\user or /home/user, for instance) with the following contents : ##

Re: i18n : how to put html tag in translation piece of texte ?

2005-06-21 Thread Vincent Siveton
Hi Antoine, With maven1, the translation is based on Jelly tags. So using HTML content in bundle provides HTML result (ie b will be transform to lt;bgt;) Thus, your solution sounds the pretty way. Cheers, Vincent 2005/6/21, ahgt sur laposte.net [EMAIL PROTECTED]: Hi, Just starting with

Re: Having a problem with the Project Info Reports

2005-06-21 Thread stéphane bouchet
Well, after setting *by hand* the bundle from plugin-resources\templates\templates to plugin-resources/templates/templates the goal xdoc:jelly-transform generated the good html document. so do i need to fill an issue in JIRA ? Stéphane stéphane bouchet a écrit : Hi, I am having the

Re: How to split unit and acceptance tests apart (both use Junit framework)

2005-06-21 Thread Guy Davis
Hi Justin, Would you mind posting the configuration file(s) you use to create these sequential goals? That would be great. Guy [EMAIL PROTECTED] wrote: Seems to work fine for running unit/integration/system within the same build. We have separate goals for each of the test run types.

RE: Having a problem with the Project Info Reports

2005-06-21 Thread Arnaud HERITIER
Yes please. Vincent will fix it ;-D Arnaud -Message d'origine- De : stéphane bouchet [mailto:[EMAIL PROTECTED] Envoyé : mardi 21 juin 2005 16:14 À : Maven Users List Objet : Re: Having a problem with the Project Info Reports Well, after setting *by hand* the bundle from

EJB src directory structure

2005-06-21 Thread JWiegman
Hello all, For Maven 2, do the EJB jar descriptors need to be placed in a different directory than src/ejb/META-INF? Here's my error: [ERROR] Cause: org.apache.maven.plugin.MojoExecutionException: Error assembling EJB at

M2 Jar Override

2005-06-21 Thread Chris Bozic
Is there any jar override equivalent in M2? Basically, I need to include some jars in my project that don't already exist in a public m2 repo. I don't want to set up a web server with a personal remote repo to accomplish this. I also don't want to copy the jars into my local repo manually. Is

Re: M2 Jar Override

2005-06-21 Thread Brett Porter
In short, not really. It is possible to write your own resolver (someone on the list has attempted this already), but that is possibly more work than you'd like. Several features in Maven 2 depend on the existence of a repository, hence this requirement. If dependencies were located relative to a

Re: EJB src directory structure

2005-06-21 Thread Nathaniel Stoddard
I never used Maven 1, or whatever versions they are ... but for Maven 2, I have my ejb-jar.xml file in /src/main/resources/META-INF and it works just fine. On 6/21/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello all, For Maven 2, do the EJB jar descriptors need to be placed in a

Dependency scope

2005-06-21 Thread Nathaniel Stoddard
I'm not sure if there's a way to do this ... I'm hoping there is. I'd like to be able to have a dependency be for the compilation only, without being included in the installation. I'm worried about my WARs specifically. They have a dependency on an EJB project, which of course has a dependency

RE: EJB src directory structure

2005-06-21 Thread JWiegman
Works great! Thanks! -Original Message- From: Nathaniel Stoddard [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 10:53 AM To: Maven Users List Subject: Re: EJB src directory structure I never used Maven 1, or whatever versions they are ... but for Maven 2, I have my ejb-jar.xml

Re: Dependency scope

2005-06-21 Thread Brett Porter
scope = provided, available from alpha-3 (currently aiming for a Wednesday release) On 6/22/05, Nathaniel Stoddard [EMAIL PROTECTED] wrote: I'm not sure if there's a way to do this ... I'm hoping there is. I'd like to be able to have a dependency be for the compilation only, without being

Freezing the dependencies on a particular SNAPSHOT

2005-06-21 Thread Guillaume Lederrey
Hello ! I remember reading something about that, but cant find it back. We have a project that uses AndroMDA. For the moment, we use the latest AndroMDA snapshots. They are great, mostly stable, but every now and then, there is a small glitch that make us loose a whole day. We'd like to be

RE: Newbie Help

2005-06-21 Thread Qin Ding
Scott: I tried to manually download this jar using the URL, http://www.ibiblio.org/maven/xjavadoc/jars/xjavadoc-1.0.2.jar, I got the same problem. The error stack is attached as the result of -X. Thank you for your help. Qin (See attached file: error2.txt)

RE: Newbie Help

2005-06-21 Thread Arnaud HERITIER
You tested with a bad url. The good one is : http://www.ibiblio.org/maven/xdoclet/jars/xjavadoc-1.0.2.jar This is why Scott told you to use this dependency : dependency groupIdxdoclet/groupId artifactIdxjavadoc/artifactId version1.0.2/version urlhttp://xdoclet.sf.net//url

Re: M2 Jar Override

2005-06-21 Thread Chris Bozic
On 6/21/05, Brett Porter [EMAIL PROTECTED] wrote: In short, not really. It is possible to write your own resolver (someone on the list has attempted this already), but that is possibly more work than you'd like. Several features in Maven 2 depend on the existence of a repository, hence this

RE: Newbie Help

2005-06-21 Thread Ryan, Scott
Can you double check your project.xml to make sure the dependency I mentioned before is ok or attach it to an email and I will check to make sure everything is ok. I just duplicated the appgen with maven 1.0.2 and after I updated the project.xml everything went ok. When you initially started up

Re: M2 Jar Override

2005-06-21 Thread Brett Porter
On 6/22/05, Chris Bozic [EMAIL PROTECTED] wrote: This wouldn't have to cause transitive dependencies to fail. The project's repo could (and probably should) meet the layout of the regular local repo. What I am really looking for is less of a jar override and more of a way to specify a

RE: Newbie Help

2005-06-21 Thread Qin Ding
Arnaud: I can't see the difference between what you and Scott sent me and the one already in the project.xml dependency groupIdxdoclet/groupId artifactIdxjavadoc/artifactId version1.0.2/version urlhttp://xdoclet.sf.net//url /dependency I replaced the one in project.xml

RE: Newbie Help

2005-06-21 Thread Qin Ding
Scott: you're right. I can download lots of jars without problems. So far it only stops at xjavadoc. Here is the project.xml generated by genapp. Thanks. Qin (See attached file: project.xml) This

Maven/SVN configuration help

2005-06-21 Thread Farmer, Todd
Hi, I am looking for documentation on using the Maven SCM goals with Subversion. When I run scm:checkout-project, here's what I get: build:start: scm:parse-connection: [echo] Using connection: scm:svn:svn+ssh://[my svn host]/usr/local/[my svn repo]/[my svn project] Using SCM

M2 - Dependent Jars for EJB

2005-06-21 Thread JWiegman
For some reason my dependent jars aren't being included in my EJB jar when I issue an m2 package command. Here are the pertinent entries in my pom.xml: packagingejb/packaging EXAMPLE dependent jar entry (on local repository only, not remote): dependency groupIdlis/groupId

Re: Dependency scope

2005-06-21 Thread Scott Lamb
On Jun 21, 2005, at 8:01 AM, Brett Porter wrote: scope = provided, available from alpha-3 (currently aiming for a Wednesday release) Will this new scope also be suitable for an optional dependency of a library? Specifically, I have a library project which used to be just one jar. I

Re: best practices to bundle artifacts other generated files within a war

2005-06-21 Thread jerome lacoste
E.g. I use the jnlp plugin to create webstart applications (in target/jnlp). I want these webstart apps to be in my war. Should I zip this jnlp directory inside my jnlp sub-project, install this zip file as artifact in the maven local repository, then do some preGoal/postGoal magic inside

RE : i18n : how to put html tag in translation piece of texte ?

2005-06-21 Thread ahgt sur laposte.net
Thank you... So no way... When you say for maven 1... does it means some new things in maven 2 ? I've just started and understood quickly that if I need to generate a site, maven 2 is not ready. Any idea when this (with i18n) will be ready ? Where can I get information about that ? Antoine

Re: RE : i18n : how to put html tag in translation piece of texte ?

2005-06-21 Thread Vincent Siveton
Hi When you say for maven 1... does it means some new things in maven 2 ? Well, Maven2 will be using Doxia (http://doxia.codehaus.org/) for generating content so the i18n will be support for all (reports and content site). I've just started and understood quickly that if I need to generate a

RE: Maven/SVN configuration help

2005-06-21 Thread Farmer, Todd
Thanks, Brett and Dan. Using the current version helped. Now I've got other problems, but not related to Maven! Thanks again! Todd Farmer -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 9:44 AM To: Maven Users List Subject: Re:

RE : RE : i18n : how to put html tag in translation piece of texte ?

2005-06-21 Thread ahgt sur laposte.net
Hello, I looked at doxia : it is not yet release, no ? Is it made more or less to be used by maven 2 ? In the road map, alpha 3 is suppose to have Improved site and report functionality Does it means site generation feature (with Doxia) will be ready in this realease ? Thanks, Antoine

Re: RE : i18n : how to put html tag in translation piece of texte ?

2005-06-21 Thread Emmanuel Venisse
Vincent Siveton wrote: Hi When you say for maven 1... does it means some new things in maven 2 ? Well, Maven2 will be using Doxia (http://doxia.codehaus.org/) for generating content so the i18n will be support for all (reports and content site). Not exactly, doxia is used for rendering

Re: Having a problem with the Project Info Reports

2005-06-21 Thread Incze Lajos
On Tue, Jun 21, 2005 at 04:13:32PM +0200, stéphane bouchet wrote: Well, after setting *by hand* the bundle from plugin-resources\templates\templates to plugin-resources/templates/templates the goal xdoc:jelly-transform generated the good html document. so do i need to fill an issue in

Re: RE : RE : i18n : how to put html tag in translation piece of texte ?

2005-06-21 Thread Emmanuel Venisse
ahgt sur laposte.net wrote: Hello, I looked at doxia : it is not yet release, no ? no, we use actually the alpha-3 Is it made more or less to be used by maven 2 ? Not only, it's totally independant. In the road map, alpha 3 is suppose to have Improved site and report functionality Does

i18n : error or bug with menu tag ?

2005-06-21 Thread ahgt sur laposte.net
Hello, I work with Maven 1.1-beta-1 and maven-xdoc-plugin-1.9.1 I can't get the menu names with translation. In navigation.xml, I have set : menu name=TOTO item key=xdocs.menu.main.about.tit01 bundle=xdocs href=/index.html /item

Re: Having a problem with the Project Info Reports

2005-06-21 Thread Vincent Siveton
Done in svn. Cheers, Vincent 2005/6/21, Arnaud HERITIER [EMAIL PROTECTED]: Yes please. Vincent will fix it ;-D Arnaud -Message d'origine- De : stéphane bouchet [mailto:[EMAIL PROTECTED] Envoyé : mardi 21 juin 2005 16:14 À : Maven Users List Objet : Re: Having a

Re: Réf. : Re: How do deal with or LT in maven 1.0.1

2005-06-21 Thread Justin_Freitag
echo the class of jBoxNumber. you might have to convert it. jean-marc.bottin@ bnpparibas.com

Multiproject:site-deploy copying files twice

2005-06-21 Thread Jeff Jensen
Hi, With multiproject finally working in general, I have an issue with running multiproject:site-deploy. After the Checkstyle run, seemingly as part of building reactor projects, it copies some files for each subproject, which is unexpected to me:

Re: Freezing the dependencies on a particular SNAPSHOT

2005-06-21 Thread Brett Porter
For this to be feasible, they should pushing out timestamped snapshots as well as normal ones (m2 does this automatically, btw). You should then override the version in your project to the particular version number (jar override in maven1, dependencymanagement section in maven2). Cheers, Brett

RE: Multiproject dashboard - dashboard runs the hard way

2005-06-21 Thread Jeff Jensen
Finally had time to return to this today. I found two things to do differently to make it work for me (yes, believe it or not! Perhaps the break was what I needed): 1) I found that multiproject plugin relies on the subprojects to run first. Someone else in this thread had mentioned they have

Re: M2 - Dependent Jars for EJB

2005-06-21 Thread Edwin Punzalan
I maybe wrong but I think for the client jars to be included in the ejb jar, you should configure your ejb plugin to do so like: plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-plugin-parent/artifactId configuration

Re: M2 - Dependent Jars for EJB

2005-06-21 Thread Edwin Punzalan
sorry, the artifact ID should be: artifactIdmaven-ejb-plugin/artifactId Edwin Punzalan wrote: I maybe wrong but I think for the client jars to be included in the ejb jar, you should configure your ejb plugin to do so like: plugins plugin