Re: Should I teach multiproject to climb up?

2004-09-08 Thread Jose Gonzalez Gomez
Gilles Dodinet wrote: Jose Gonzalez Gomez wrote: project-root project project.xml maven.xml project.properties [including maven.multiproject.includes=../*/*/project.xml] modules first-module [maven stuff inside, including

Re: [Poll] Writing documentation with Maven

2004-09-08 Thread Martin Skopp
On Tue, 2004-09-07 at 17:15, Carlos Sanchez wrote: 1. What format do you use to write documentation? At work: C. docbook + F. a WiKi (Confluence in this case) My SF project: B. html 2. If you didn't choose A, how do you transform your doc to be integrated in a Maven powered site? F. I don't

RE: [Poll] Writing documentation with Maven

2004-09-08 Thread Marcin Werla
Hi, 1. What format do you use to write documentation? A. xdoc C. docbook 2. If you didn't choose A, how do you transform your doc to be integrated in a Maven powered site? B. docbook plugin C. sdocbook plugin 4. What tool do you use to write the docs? B. one that is

plugins - default goal

2004-09-08 Thread Nathan Coast
Hi, is there such a thing as a default goal for plugins? I've seen it mentioned in a few places. If it does exist, how do you set it? Is it possible to access it from something like: pom.getPluginContext(pluginName).getDefaultGoal() Or is it just referring to the naming convention for

accessing pom elements from other projects

2004-09-08 Thread Nathan Coast
Hi, I'd like to be able to query pom elements of other projects. Is there any way to load a pom in the repo into a variable? in the same way that the current project's properties are available from pom.fooBar Specifically for plugins I want to be able to access things like groupId, artifactId

RE: [Poll] Writing documentation with Maven

2004-09-08 Thread Gidley Ben, Slough
Hi 1. What format do you use to write documentation? A. xdoc 4. What tool do you use to write the docs? A. notepad / vi and similar B. one that is not WYSIWYG (please say what) Eclipse /XML Buddy C. a WYSIWYG editor (please say what) D. an hex editor 3. Would you like

RE: Should I teach multiproject to climb up?

2004-09-08 Thread Jörg Schaible
Jose Gonzalez Gomez wrote on Tuesday, September 07, 2004 10:40 PM: Hi there, I have the following problem: I was trying to do a multiproject for a J2EE project, and followed some examples to build a tree structure with a top project containing common stuff like this:

dependency dependencies

2004-09-08 Thread Nathan Coast
Hi, Is there any mechanism to obtain a full list of the dependencies of dependencies in jellyscript? I know there are reports generated e.g. http://maven.apache.org/reference/plugins/dependency-convergence-report.html I'm trying to access the dependencies from within jelly. Are there api calls

RE: [Poll] Writing documentation with Maven

2004-09-08 Thread fabrice . belingard
What format do you use to write documentation? -- A. xdoc What tool do you use to write the docs? -- B. Eclipse /XML Buddy Would you like to use another format instead of answered in (1) and why? -- xdoc is just fine for what I wanna do. Fabrice.

Re: [Poll] Writing documentation with Maven

2004-09-08 Thread Milos Kleint
Carlos Sanchez wrote: Hi all, I'd like to start a thread about how do you write your documentation to be integrated with Maven. Maybe I can give away some GMail invites to those participating, it's not much, but as you may know open source doesn't pay the bills, at least not MY bills ;-) 1. What

Re: Maven and JNLP plugin

2004-09-08 Thread Emmanuel Venisse
Hi, What is your jnlp plugin version? Do you define maven.jnlp.jardiff property? Emmanuel - Original Message - From: Kevin S. Clarke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 1:10 AM Subject: Maven and JNLP plugin Hi, I'm new to the JNLP plugin

RE: [Poll] Writing documentation with Maven

2004-09-08 Thread Jörg Schaible
Hi Carlos, 1.A 4.A 3. Yes, if the docs become longer and grow in number, it would be nice to have something more WSYWYG like. Regards, Jörg Carlos Sanchez wrote on Tuesday, September 07, 2004 7:15 PM: Hi all, I'd like to start a thread about how do you write your documentation to be

RE: dependency dependencies

2004-09-08 Thread Maczka Michal
-Original Message- From: Nathan Coast [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 08, 2004 10:25 AM To: Maven Users Subject: dependency dependencies Hi, Is there any mechanism to obtain a full list of the dependencies of dependencies in jellyscript? I know

Re: Should I teach multiproject to climb up?

2004-09-08 Thread Jose Gonzalez Gomez
Jörg Schaible wrote: Jose Gonzalez Gomez wrote on Tuesday, September 07, 2004 10:40 PM: Hi there, I have the following problem: I was trying to do a multiproject for a J2EE project, and followed some examples to build a tree structure with a top project containing common stuff like this:

RE: Should I teach multiproject to climb up?

2004-09-08 Thread Jörg Schaible
Jose Gonzalez Gomez wrote on Wednesday, September 08, 2004 11:51 AM: Ok, defining the following in project-root/project/project.properties did the trick: maven.multiproject.basedir=.. maven.multiproject.includes=*/*/project.xml Thanks a lot for your help Jose BTW:

Re: site:sshdeploy

2004-09-08 Thread Ricardo Gladwell
Adam Fisk wrote: That would be great, as it looks like setting up pub-key-auth can be a bit of a trick with raw sshd in Cygwin, at least with the one technique I've looked at. You could e-mail me directly at afiskatspeedymaildotorg (spam avoidance, sorry). I am using putty for it and it works

Maven - specify SSH password

2004-09-08 Thread Dinko Hadzic
Hi Is it possible to specify a SSH password to Maven? I try to execute maven site:deploy, but the process fails because the remote SSH server requires a password authentication. Screen dump: ... [exec] The server's host key is not cached in the registry. You [exec] have no guarantee

Re: Maven - specify SSH password

2004-09-08 Thread Jose Gonzalez Gomez
This is not the server requiring a password. This is ssh telling you that the server you are trying to connect to is not known. You should make a first connection outside maven (with the same user you will be running maven) and answer yes whenever ssh tells you about accepting the provided

Copying some resources to the same directory of compiled classes

2004-09-08 Thread jeff mutonho
Hi I've got some resources(xml files) that I wish to be copied to the destination directory where my compiled classes are placed eg if the classes are in /target/classes/com/mtk/support/logging , then the xml files must also be copied to the same directory(.ie logging ) and not

Re: Copying some resources to the same directory of compiled classes

2004-09-08 Thread Nicolas . CHALUMEAU
Did you define in your build section something like : resources resource directorysrc/main/resources/someresources/directory includes include**/*.xml/include /includes /resource /resources and your xml are in

RE: Ant:copy to absolute path?

2004-09-08 Thread Mitch Mattek
I'll reply to myself and say we figured this out. It's really more of an ant thing. I changed it to: ant:copy file=${maven.build.dir}/${maven.final.name}.jar todir=//${maven.cdp.riskserver.home}/bin/ / The //

Re: Maven - specify SSH password

2004-09-08 Thread Eric Giguere
Hi Presented this way, no, its not. But, to get around this, we're using here ssh-rsa keys (ssh2). From the client computer (deployment platform), you supply you private key to some ssh agent. On the server, you add your key footprint in the authorized_keys file. Using this scheme, you can log

Re: Copying some resources to the same directory of compiled classes

2004-09-08 Thread jeff mutonho
yes i defined the following build sourceDirectory${basedir}/sourceDirectory resources resource directory${basedir}/com/mtk/support/logging/directory includes includes include**/*.xml/include /includes

Re: Copying some resources to the same directory of compiled classes

2004-09-08 Thread Milos Kleint
what about: resource directory${basedir}/directory includes includecom/mtk/support/logging/**/*.xml/include /includes Milos jeff mutonho wrote: yes i defined the following build sourceDirectory${basedir}/sourceDirectory

Réf. : Re: Copying some resources to the same directory of compiled classes

2004-09-08 Thread Nicolas . CHALUMEAU
It is normal :) with the directory value you use that meen ${basedir}/com/mtk/support/logging/**/*.xml are copy to /target/classes/**/*.xml The dir structure of the file who are include is the same that the dir structure after the directory value. build

Re: typedef taskdef classcast exception

2004-09-08 Thread Jefferson K. French
I don't know if this will help you, but besides doing what the post suggests, I also had to put this: classloaderroot/classloader in one of my project.xml's dependency definitions to get the JAR to load in the same classpath as another JAR that used it. This behavior is supposed to be

Re: Maven - specify SSH password

2004-09-08 Thread Jose Gonzalez Gomez
I personally prefer Cygwin (http://www.cygwin.com/) or OpenSSH for Windows (http://sshwindows.sourceforge.net/) than Putty... just an oppinion. Best regards Jose Eric Giguere wrote: Hi Presented this way, no, its not. But, to get around this, we're using here ssh-rsa keys (ssh2). From

Re: typedef taskdef classcast exception

2004-09-08 Thread Bill Dudney
Hi Jeff, Thanks a ton for your response! I tried putting all the dependencies into the root class loader like this; dependency ... properties classloaderroot/classloader /properties /dependency did you put all your dependencies into the root loader or just a couple? I also spent some

Re: typedef taskdef classcast exception

2004-09-08 Thread Jefferson K. French
I only defined a task. The only dependency I put into the root classloader is one that was needed by a JAR already loaded into the root classloader. Could you post the output of maven -X? Jeff On Wed, 08 Sep 2004, at 08:47:50 [GMT -0600] Bill Dudney wrote: Hi Jeff, Thanks a ton for your

Re: accessing pom elements from other projects

2004-09-08 Thread Jefferson K. French
Yes, try this: maven:pom var=otherPom projectDescriptor=${pathToPom}/ Then just access the elements like ${otherPom.groupId}. You'll need this: xmlns:maven=jelly:maven in your project tag. Jeff On Wed, 08 Sep 2004, at 16:08:14 [GMT +0800] Nathan Coast wrote: Hi, I'd like to be able

remote jboss:deploy-warfile

2004-09-08 Thread Liu, Zhihai
I use jboss:deploy-warfile to create and deploy a web application. I got it work on localhost. Then I wanted to deploy it to a remote JBoss by changing maven.jboss.hostname, but it failed. With the following url in the error log, I think it is looking for the war file on C drive on

Re: site:sshdeploy

2004-09-08 Thread Geoffrey
Dion, did you have time to reveiw and commit the site-deployment.xml I wrote and send you? It contains info on how to use openSSH's agent to avoid the password prompt. -- With kind regards, Geoffrey Dion Gillard [EMAIL PROTECTED] schreef in bericht news:[EMAIL PROTECTED] You have to set up the

Re: Maven - specify SSH password

2004-09-08 Thread Adam Fisk
Yeah, I actually got Cygwin working in a snap with pub-key-auth as soon as I looked into it. The last post at this link does it in no time: http://my.brandeis.edu/bboard/q-and-a-fetch-msg?msg_id=JG Most Windows users already have Cygwin installed anyway, so I agree this approach makes more

Re: Maven and JNLP plugin

2004-09-08 Thread Kevin S. Clarke
Hi, I'm using plugin version 1.4.1. I have jardiff set for true. Thanks, Kevin On Wed, 8 Sep 2004 10:47:38 +0200, Emmanuel Venisse [EMAIL PROTECTED] wrote: Hi, What is your jnlp plugin version? Do you define maven.jnlp.jardiff property? Emmanuel - Original Message -

Getting the goal name from jelly

2004-09-08 Thread Eric Giguere
Hi all Anybody knows where to get the goal name (the one to attain.. usually supplied in the command line) that maven is currently trying to attain? thx. Eric. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Set VM arguments for maven?

2004-09-08 Thread Jiaqi Guo
My project is so big that everytime I call maven javadoc, maven xdoc, I'll get an OutOfMemoryError. Can I specify the -Xmx argument? Can I do it in $user.home/build.properties? Thanks Jiaqi - To unsubscribe, e-mail: [EMAIL

java:jar-resource copy failure

2004-09-08 Thread Andreas.Ebbert
Hi, I have a strange problem, perhaps you know, what I can do about it. I happens as well on w2k as on red hat. When there are resources defined in the project.xml and the ejb:install goal is invoked, the target path for the resources is duplicated. Any idea what the reason for that strange

Re: java:jar-resource copy failure

2004-09-08 Thread Brett Porter
target path should just be META-INF. It is relative to maven.build.dest. You can file a bug in JIRA so that Maven can figure out that you've done this though - there should be a better error message. - Brett On Thu, 9 Sep 2004 03:06:59 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi,

Maven will not switch remote respository !!!????

2004-09-08 Thread Eric Chow
Hello, I set the properties maven.repo.remote = http://www.bluesunrise.com/maven/, http://www.ibiblio.org/maven/, http://dist.codehaus.org/, http://cvs.apache.org/repository; in project.properties. When the project requres some dependency library, it is not existed in

Re: Maven will not switch remote respository !!!????

2004-09-08 Thread Brett Porter
maybe. What version of Maven? If 1.0 - file in JIRA. On Thu, 9 Sep 2004 09:45:55 +0800, Eric Chow [EMAIL PROTECTED] wrote: Hello, I set the properties maven.repo.remote = http://www.bluesunrise.com/maven/, http://www.ibiblio.org/maven/, http://dist.codehaus.org/,

Re: Maven will not switch remote respository !!!????

2004-09-08 Thread Julian C. Dunn
On Thu, 9 Sep 2004, Eric Chow wrote: maven.repo.remote = http://www.bluesunrise.com/maven/, http://www.ibiblio.org/maven/, http://dist.codehaus.org/, http://cvs.apache.org/repository; snip Is there any problem ??? I might be totally off on this, but try to not put a space between the URLs

Re: accessing pom elements from other projects

2004-09-08 Thread Nathan Coast
great, that's exactly what I want, thanks Jeff Jefferson K. French wrote: Yes, try this: maven:pom var=otherPom projectDescriptor=${pathToPom}/ Then just access the elements like ${otherPom.groupId}. You'll need this: xmlns:maven=jelly:maven in your project tag. Jeff On Wed, 08 Sep 2004, at