Re: maven and ssh via jsch library?

2005-06-15 Thread dan tran
dont know to much about this yet, but here it is http://svn.apache.org/repos/asf/maven/wagon/trunk/wagon-providers/wagon-ssh/ -D On 6/14/05, Alexandre Touret [EMAIL PROTECTED] wrote: phillip rhodes wrote: I need to do some ssh commands in maven. Has anyone ever used jsch in maven? I

RE: DJ Genapp Templates vs. DJ Maven site Docs vs. Paul Oakenfold

2005-06-15 Thread Arnaud HERITIER
We discussed about this yesterday on the dev list and we'll fix it before maven 1.1 final. Arnaud Brett Porter wrote: Hi Mykel, The standard on the website is the one we all agreed on about a year ago. Unfortunately, the genapp plugin hasn't caught up yet :)

RE: multiproject:site problem (Intern)

2005-06-15 Thread David.Laas
I think you have come across a bug with Bug ID 4403166 in java.io.File. Another longtime bugaboo for many developers, the issue with paths with more than 255 characters on the Microsoft Windows operating system has finally been resolved. Seems to be fixed in b19 of Mustang :-)

Building a project and it's SNAPSHOT dependencies

2005-06-15 Thread Wim Deblauwe
Hi, I'm writing a jelly script for building a project and also building it's dependencies in 1 go. I currently do this: goal name=build:withdeps description=Builds your module and all it's SNAPSHOT dependencies ant:echoBuilding this module (${pom.id}) with all it's

RE: Building a project and it's SNAPSHOT dependencies

2005-06-15 Thread Vincent Massol
Wim, You should use the multiproject plugin for that. Now to do what you want you need to use the maven:maven tag to spawn a maven process. -Vincent -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: mercredi 15 juin 2005 09:07 To: Maven Users List Subject:

RE: Building a project and it's SNAPSHOT dependencies

2005-06-15 Thread Vincent Massol
Wim, You should use the multiproject plugin for that. Now to do what you want you need to use the maven:maven tag to spawn a maven process. -Vincent -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: mercredi 15 juin 2005 09:07 To: Maven Users List Subject:

Re: Building a project and it's SNAPSHOT dependencies

2005-06-15 Thread Wim Deblauwe
Well, I use the multiproject plugin, but this builds *all* modules. I can ofcourse tweak this to include or exclude as many as I want but this is not convenient for what I want. I want to build a project with all it's dependent (and only it's dependent modules, not others) snapshot dependencies.

Re: multiproject:site problem (Intern)

2005-06-15 Thread Wim Deblauwe
Hmm.. How can they solve that, windows itself does not support it? 2005/6/15, [EMAIL PROTECTED] [EMAIL PROTECTED]: I think you have come across a bug with Bug ID 4403166 in java.io.File. Another longtime bugaboo for many developers, the issue with paths with more than 255 characters on the

Re: maven and ssh via jsch library?

2005-06-15 Thread Alexandre Touret
dan tran wrote: dont know to much about this yet, but here it is http://svn.apache.org/repos/asf/maven/wagon/trunk/wagon-providers/wagon-ssh/ -D On 6/14/05, Alexandre Touret [EMAIL PROTECTED] wrote: phillip rhodes wrote: I need to do some ssh commands in maven. Has anyone ever

RE: Building a project and it's SNAPSHOT dependencies

2005-06-15 Thread Vincent Massol
Ok, I understand. Well, you can still use the maven:maven tag... -Vincent -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: mercredi 15 juin 2005 10:00 To: Maven Users List Subject: Re: Building a project and it's SNAPSHOT dependencies Well, I use the

Maven source code link from site

2005-06-15 Thread Graham King
The maven.apache.org site does not provide a way to get the maven source code. The Project Info / Source Repository page only has the viewcvs link. The only way I could find of getting the real URL was to browse to project.xml in viewcvs. Could the SVN link

Re: [m2] Declaring J2EE Dependencies

2005-06-15 Thread Kenney Westerhof
On Tue, 14 Jun 2005, McGarr, Joseph M. wrote: As of yet there's really no way to do that except declare a dependency on for instance an open source implementation like JBoss. It would be neat though, to actually only declare a dependency on an API, and leave it to the users of the project (if

[m2] JUnit test using files, with multiple modules

2005-06-15 Thread Tournié Jean-Michel
Hello all, I have a problem using m2, when I execute a JUnit test who loads a configuration file, in a multiple modules project. My project structure is : my-app +- pom.xml +- my-module1 +- pom.xml +- src +- config-test +- my-file.txt - This file

RE: maven and ssh via jsch library?

2005-06-15 Thread Lakshmanaswamy, Karthikeyan \(Cognizant\)
Hi I am new to this maven framework, Can any one send me a sample small web application in Java build using maven framework or please send me the reference link from where I, can get this web project. Thanks Karthikeyan. -Original Message- From: Alexandre Touret [mailto:[EMAIL

Re: [m2] JUnit test using files, with multiple modules

2005-06-15 Thread Nicolas Chalumeau
2 solutions I think : 1/ use the resources in the pom to locate your file in the test classpath 2/ use the basedir system properties to find the test file. I did not use this solution but using maven 1 with multiproject I needed to add ${basedir}/myResources to don't have the same problem that's

[m2] [ANN] Maven2 XDoclet / AntRun plugin

2005-06-15 Thread Kenney Westerhof
Hi there, I've taken a first stab at implementing an XDoclet (version 1) plugin for Maven 2. As a sideeffect an AntRun plugin was also created - you can add Ant script to the POM or call build.xml files. It only works on non-released versions of m2 - details on the site. So if you're using

Re: [m2] [ANN] Maven2 XDoclet / AntRun plugin

2005-06-15 Thread Kenney Westerhof
On Tue, 14 Jun 2005, Kenney Westerhof wrote: I posted this yesterday evening and this morning didn't see it on the list, so I reposted. I guess the post made it after all (more than 12 hours later!). Sorry for the double post! -- Kenney

Re: Building a project and it's SNAPSHOT dependencies

2005-06-15 Thread Wim Deblauwe
ok, thanks got it working now. 2005/6/15, Vincent Massol [EMAIL PROTECTED]: Ok, I understand. Well, you can still use the maven:maven tag... -Vincent -Original Message- From: Wim Deblauwe [mailto:[EMAIL PROTECTED] Sent: mercredi 15 juin 2005 10:00 To: Maven Users List

RE: multiproject:site problem (Intern)

2005-06-15 Thread David.Laas
Seems to be a windows problem. You could move your workspace folder and all subfolders to c:\workspace, and run maven multiproject:site from that location. Hope this helps. -- David Låås Hmm.. How can they solve that, windows itself does not support it? I think you have come across a bug

RE: maven and ssh via jsch library?

2005-06-15 Thread Yann LE DU
Hi Karthikeyan, Not sure we can attach files to posts, but with Maven 2, you can build a little sample web app on your own (found on http://maven.apache.org/maven2/getting-started.html) : m2 archetype:create \ -DgroupId=com.mycompany.app -DartifactId=my-webapp \

[ANN] Maven Changelog Plugin 1.8.2 released

2005-06-15 Thread brett
The maven team is pleased to announce the Maven Changelog Plugin 1.8.2 release! http://maven.apache.org/reference/plugins/changelog/ Changes in this version include: Fixed bugs: o Avoid NullPointerException when no type is given Issue: MPCHANGELOG-66. o Corrected parsing of VSS results

[ANN] Maven Changelog Plugin 1.8.2 released

2005-06-15 Thread brett
The maven team is pleased to announce the Maven Changelog Plugin 1.8.2 release! http://maven.apache.org/reference/plugins/changelog/ Changes in this version include: Fixed bugs: o Avoid NullPointerException when no type is given Issue: MPCHANGELOG-66. o Corrected parsing of VSS results

[ANN] Maven IDEA Plug-in 1.6 released

2005-06-15 Thread brett
The maven team is pleased to announce the Maven IDEA Plug-in 1.6 release! http://maven.apache.org/reference/plugins/idea/ IDEA Plugin for Maven. Changes in this version include: New Features: o Add a property for specifying generated source directories to include in the module Issue:

[ANN] Maven IDEA Plug-in 1.6 released

2005-06-15 Thread brett
The maven team is pleased to announce the Maven IDEA Plug-in 1.6 release! http://maven.apache.org/reference/plugins/idea/ IDEA Plugin for Maven. Changes in this version include: New Features: o Add a property for specifying generated source directories to include in the module Issue:

Re: Building a project and it's SNAPSHOT dependencies

2005-06-15 Thread Jim Mochel
Wim, Could you post your resulting goal(s) here so that others seeking to do the same can benefit from your work ? Thanks, Jim Wim Deblauwe [EMAIL PROTECTED] 06/15/2005 06:34 AM Please respond to Maven Users List To Maven Users List users@maven.apache.org cc Subject Re: Building a

Re: Building a project and it's SNAPSHOT dependencies

2005-06-15 Thread Wim Deblauwe
Oops, forgot one last thing: 'artifact:install' is a custom goal that checks the multiproject type and then executes 'jar:install' or 'war:install' or whatever. 2005/6/15, Wim Deblauwe [EMAIL PROTECTED]: Sure, this is what I have put in my maven.xml: goal name=build:withdeps

changelog plugin date quote problem

2005-06-15 Thread Graham King
I have been trying to use the maven-changelog-plugin 1.8.1 and 1.8.2 on Windows connecting to a Linux pserver. It always reports no changes. Adding a log statement to CvsLogListener to print out the stderr shows: cvs [server aborted]: Can't parse date/time: 2005-05-16 Changing

Re: Building a project and it's SNAPSHOT dependencies

2005-06-15 Thread Wim Deblauwe
Sure, this is what I have put in my maven.xml: goal name=build:withdeps description=Builds your module and all it's SNAPSHOT dependencies ant:echo/ant:echo ant:echoBuilding this module

RE: [m2] JUnit test using files, with multiple modules

2005-06-15 Thread Tournié Jean-Michel
The solution 2 using basedir system property works fine whith m2. Thank you Nicolas. J-Michel -Message d'origine- De : Nicolas Chalumeau [mailto:[EMAIL PROTECTED] Envoyé : mercredi 15 juin 2005 11:47 À : Maven Users List Objet : Re: [m2] JUnit test using files, with multiple modules 2

[ANN] Maven Artifact Plugin 1.5.2 released

2005-06-15 Thread brett
We are pleased to announce the Maven Artifact Plugin 1.5.2 release! http://maven.apache.org/reference/plugins/artifact/ Tools to manage artifacts and deployment. Changes in this version include: Fixed bugs: o Correct the translation of dependency properties on deployment of the POM

Re: multiproject:site problem (Intern)

2005-06-15 Thread Jake
I guess not... Just use subst to create a drive pointing to it and it should be fine... A workaround, yes, but it's not too much of a hack. --- Wim Deblauwe [EMAIL PROTECTED] wrote: Hmm.. How can they solve that, windows itself does not support it? 2005/6/15, [EMAIL PROTECTED] [EMAIL

Re: changelog plugin date quote problem

2005-06-15 Thread Brett Porter
Graham, what CVS version and Windows version are you using? This was introduced to fix this: http://jira.codehaus.org/browse/MPCHANGELOG-47 The change worked with the cygwin executable I tested with (shouldn't matter that it is cygwin, as the quotes are handled by the cmd.exe, I thought) -

RE: Why I hate Maven :-)

2005-06-15 Thread Ryan Sonnek
take a look at geronimo for a LARGE project using maven. -Original Message- From: Anil Arora [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 7:03 PM To: Maven Users List; Brett Porter Subject: RE: Why I hate Maven :-) Your counter point of having multiple artifacts per project is

OutOfMemoryException during xdoc generation

2005-06-15 Thread stéphane bouchet
Hi Maven Users, I am experiencing a little problem with the xdoc plugin. After upgrading to 1.9 version ,i got an exception when runnig the site goal. java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at

Re: OutOfMemoryException during xdoc generation

2005-06-15 Thread Vincent Siveton
Hi, Did you try setting the MAVEN_OPTS variable to provide more memory, ie MAVEN_OPTS=-Xms512m -Xmx1024m Cheers, Vincent 2005/6/15, stéphane bouchet [EMAIL PROTECTED]: Hi Maven Users, I am experiencing a little problem with the xdoc plugin. After upgrading to 1.9 version ,i got an

Re: OutOfMemoryException during xdoc generation

2005-06-15 Thread Brett Porter
It is simply a matter of generating more files which has pushed it over the edge. Maven 1.1 Beta 1 will be released shortly, and it does not leak memory in that way, so it is not an issue. - Brett On 6/16/05, stéphane bouchet [EMAIL PROTECTED] wrote: Hi Maven Users, I am experiencing a

Re: OutOfMemoryException during xdoc generation

2005-06-15 Thread stéphane bouchet
Thanks Brett, you're doing a great job ! Stéphane PS : after setting MAVEN_OPTS=-Xms512m -Xmx1024m, i have no more problems. Brett Porter a écrit : It is simply a matter of generating more files which has pushed it over the edge. Maven 1.1 Beta 1 will be released shortly, and it does not

RE: merging maven errors' in CruiseControl

2005-06-15 Thread David Jackman
I've actually noticed several times when a build went bad for some reason, but Maven indicated that the build was successful. This caused problems with CruiseControl especially. Clearly, these are bugs that need to be resolved, so I will try to take some notes in the future so I can report

How do I add 2 numbers in jelly?

2005-06-15 Thread Wim Deblauwe
Hi, I can't find a good jelly resource anywhere on the net, so I hope this list might help me out. Consider this jelly fragment: x:forEach var=passRate select=//[EMAIL PROTECTED]'junitpassrate'][not(text()='-')][text()] x:set var=passrateValue select=substring-before(text(), ' %')/

Re: Why I hate Maven :-)

2005-06-15 Thread jerome lacoste
On 6/15/05, Ryan Sonnek [EMAIL PROTECTED] wrote: take a look at geronimo for a LARGE project using maven. I haven't looked at geronimo's code, but sometimes large may not mean representative. For example I have a client who has a typical J2EE webapp + some webstart thick clients. One of these

Re: How do I add 2 numbers in jelly?

2005-06-15 Thread Kenney Westerhof
On Wed, 15 Jun 2005, Wim Deblauwe wrote: See http://jakarta.apache.org/commons/jexl/reference/syntax.html, jexl is Java Expression Language, the default scripting language used in jelly. You can use j:set var=sum value=${ sum + passRateValue }/ or something. Hi, I can't find a good jelly

RE: Why I hate Maven :-)

2005-06-15 Thread Ryan Sonnek
not sure why geronimo isn't representitive of what maven can do. they have an extremely modular codebase, and are building a J2EE server, so it seems perfectly logical that J2EE applications could follow the same model. project.properties are inherited. I'm doing a very similar thing with my

Re: changelog plugin date quote problem

2005-06-15 Thread Graham King
I'm on Windows XP (SP2) with Cygwin's cvs 1.11.17. The quotes work fine on the command line, but it seems cvslib doesn't like them. Does Netbeans's cvslib support SSH connections ? On the version I got from cvs the SSH2Connection part was commented out and marked as TBD. Brett Porter

Re: How do I add 2 numbers in jelly?

2005-06-15 Thread Wim Deblauwe
I'll check out the resource tomorrow for more info. I already tried the statement you say, but it did not seem to work. 2005/6/15, Kenney Westerhof [EMAIL PROTECTED]: On Wed, 15 Jun 2005, Wim Deblauwe wrote: See http://jakarta.apache.org/commons/jexl/reference/syntax.html, jexl is Java

AW: [ANN] Maven Artifact Plugin 1.5.2 released

2005-06-15 Thread Daniel Frey
Hello I am using plink.exe, pscp.exe and the following properties: maven.repo.list = a maven.repo.a = scp://maven.a.ch maven.repo.a.directory = /data/maven maven.repo.a.username = my_name maven.repo.a.scp.executable = C:/Path/To/pscp.exe maven.username = my_name However, I still get the

AW: [ANN] Maven Artifact Plugin 1.5.2 released

2005-06-15 Thread Daniel Frey
Hello I am using plink.exe, pscp.exe and the following properties: maven.repo.list = a maven.repo.a = scp://maven.a.ch maven.repo.a.directory = /data/maven maven.repo.a.username = my_name maven.repo.a.scp.executable = C:/Path/To/pscp.exe maven.username = my_name However, I still get the

RE: Why I hate Maven :-)

2005-06-15 Thread Poppe, Troy
Heck, I'm interested even if Jerome isnt! Let's have it... -Original Message- From: Ryan Sonnek [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 11:20 AM To: Maven Users List; jerome lacoste Subject: RE: Why I hate Maven :-) not sure why geronimo isn't representitive of what

Re: changelog plugin date quote problem

2005-06-15 Thread Brett Porter
On 6/16/05, Graham King [EMAIL PROTECTED] wrote: I'm on Windows XP (SP2) with Cygwin's cvs 1.11.17. Me too... I don't get an error with pserver access. The quotes work fine on the command line, but it seems cvslib doesn't like them. Does Netbeans's cvslib support SSH connections ?

Re: [ANN] Maven Artifact Plugin 1.5.2 released

2005-06-15 Thread Brett Porter
I think you want scpexe://. scp:// uses the built in Jsch provider. - Brett On 6/16/05, Daniel Frey [EMAIL PROTECTED] wrote: Hello I am using plink.exe, pscp.exe and the following properties: maven.repo.list = a maven.repo.a = scp://maven.a.ch maven.repo.a.directory = /data/maven

Re: Why I hate Maven :-)

2005-06-15 Thread jerome lacoste
On 6/15/05, Poppe, Troy [EMAIL PROTECTED] wrote: Heck, I'm interested even if Jerome isnt! Let's have it... -Original Message- From: Ryan Sonnek [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 11:20 AM To: Maven Users List; jerome lacoste Subject: RE: Why I hate Maven

RE: [ANN] Maven Artifact Plugin 1.5.2 released

2005-06-15 Thread Jörg Schaible
Brett Porter wrote on Wednesday, June 15, 2005 5:54 PM: I think you want scpexe://. scp:// uses the built in Jsch provider. - Brett and plink has different options than standard ssh: maven.ssh.executable=plink maven.ssh.options=-A -2 -ssh maven.scp.executable=pscp maven.scp.options=-2 -

example hibernate3 configuration for maven?

2005-06-15 Thread Mick Knutson
I am hoping someone can show me the dependancies for hibernate3 in maven. Please... Thank You Mick Knutson Sr. Java/J2EE Consultant BASE logic, inc. (415) 648-1804 (S.F., CA) http://www.BASELogic.com HP Consulting Services (Walnut Creek, CA)

Re: A couple of application deployment questions

2005-06-15 Thread Eric Giguere
Hello Chriss Chris Rose wrote: First, we're making a home-user sort of application. Ideally, we want os-native executables to be launching this app. We can generate the executables using ant tasks, for the most part, but I'm not sure how to integrate this into our build. Using a custom

Re: A couple of application deployment questions

2005-06-15 Thread Eric Black
Hi, I'm not sure if this will be helpful, but for crossplatform applications we have some goals that can create scripts for the different os's. These are java specific, but you could have your own scripts do whatever you wanted: goal name=ccdist:make-run-script description=Create

resource within jar is not being found

2005-06-15 Thread Erick Dovale
Hello out there, I am having a problem I am not sure is directly related to maven, so forgive me if it is not. I have 2 projects A and B. A depends on B. When I am running tests in B it is not finding stuff into A-1.0.jar. More specifically an xml file needed. This is happening although the jar

Re: merging maven errors' in CruiseControl

2005-06-15 Thread Eric Pugh
Yes, actually, I'll admit that I've seen some errors as well. I've seen Maven tank due to a hotspot error and also due to an out of memory, but the build be considered positive. I haven't had a chance to actually work through it. However, for most standard maven build failures, CC has

RE: Native dependencies

2005-06-15 Thread Donszelmann, Mark
Hi is there a good example on how to migrate a plugin in jelly from maven 1 to a mojo+marmelade (M2) and jelly wrapper (M1). Regards Mark -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 1:26 AM To: Maven Users List; dan tran Subject: Re:

[m2] error downloading resources:resources

2005-06-15 Thread Anil Arora
I'm getting the following error when I try to run any goal using maven. [INFO] [INFO] Building interlace.util [INFO] [INFO]

Re: Native dependencies

2005-06-15 Thread Brett Porter
These are the sort of things we will aim to write closer to the final release, but if you do take a stab at it, we'd be happy to use your experiences and help you along the way. Thanks, Brett On 6/16/05, Donszelmann, Mark [EMAIL PROTECTED] wrote: Hi is there a good example on how to migrate

Re: [m2] error downloading resources:resources

2005-06-15 Thread Brett Porter
Thankyou. We will fix the commons-configuration data. You can also edit it in your local repository (eg ~/.m2/repository/commons-configuration/commons-configuration/1.1/commons-configuration-1.1.pom) to comment out the reosurces dependency. In the next release, you could also add an exclusion to