Re: [m2] deploy via scp

2005-08-09 Thread Brett Porter
On 8/9/05, andrew [EMAIL PROTECTED] wrote: I'm using the current svn build with the project pom additions suggested previously. ok, that's a bug. Would you mind filing it at http://jira.codehaus.org/browse/MNG so that we can keep track of it and keep in touch with you in case it can't be

Re: [m2] deploy via scp

2005-08-09 Thread andrew
Brett Porter wrote: ok, that's a bug. Would you mind filing it at http://jira.codehaus.org/browse/MNG so that we can keep track of it and keep in touch with you in case it can't be reproduced. MNG-713 http://jira.codehaus.org/browse/MNG-713 Sounds like a missing feature - and another one

Re: Site plugin template problem

2005-08-09 Thread Arnaud HERITIER
It can also be this one : http://jira.codehaus.org/browse/MPXDOC-153 I'm not sure it's a duplicated issue. you can test the last snapshot with : maven plugin:download -DgroupId=maven -DartifactId=maven-xdoc-plugin -Dversion=SNAPSHOT -Dmaven.repo.remote=http://cvs.apache.org/repository tell us

Re: [M2] Maven PMD errors

2005-08-09 Thread Edwin Punzalan
Mine does... I guess it does require some tidying. :D Brett Porter wrote: Does the rpeort get generated correctly? I know we have some tidying up to do in the velocity portion of the site generation. - Brett On 8/9/05, Adam Hardy [EMAIL PROTECTED] wrote: Does anybody else know what I

Re: [m2] NPE when executing surefire:test

2005-08-09 Thread Ralph Pöllath
On 08.08.2005, at 19:25, Kenney Westerhof wrote: You should call 'm2 test', not each individual plugin. Thanks, 'm2 test' works as expected. However, seems you discovered a bug! We'll look into it. Glad I could help :) Cheers, -Ralph. On Mon, 8 Aug 2005, [ISO-8859-1] Ralph Pöllath

[m2] marmalade-parent pom 1.0-a3 malformed?

2005-08-09 Thread John Fallows
While trying to build the latest M2 trunk, which presumably now includes stricter pom.xml parsing (with much more readable errors - yay!), the marmalade parent pom dependency failed to parse. marmalade:marmalade-parent:1.0-alpha-3:pom It seems to need a rename from repository to scm to

[m2] version string loses a zero during dependency resolution for pom

2005-08-09 Thread John Fallows
Using the latest M2 trunk. Suppose a JAR dependency has version0.09/version. When this dependency is being resolved, the POM that is used has a filename ending in 0.9.pom rather than 0.09.pom. It loses the first zero after the decimal point, leading to a dependency resolution failure. Kind

Re: [m2] marmalade-parent pom 1.0-a3 malformed?

2005-08-09 Thread Brett Porter
really? it looks ok in the repository. Can you try removing it locally and letting it get downloaded again? Thanks, Brett On 8/9/05, John Fallows [EMAIL PROTECTED] wrote: While trying to build the latest M2 trunk, which presumably now includes stricter pom.xml parsing (with much more readable

Re: [M2] Maven PMD errors

2005-08-09 Thread Adam Hardy
OK, yes it does get generated for me too. I guess I shouldn't believe every error I read :) I read the config docs for the maven-1 plugin, which gives extensive config options, which is why I was asking for an example for M2 showing how to configure it in the POM. I presume there must be an

Re: [m2] version string loses a zero during dependency resolution for pom

2005-08-09 Thread Brett Porter
Fixed in SVN (if a version part has a leading 0, version comparison falls back to a basic string comparison). - Brett On 8/9/05, John Fallows [EMAIL PROTECTED] wrote: Using the latest M2 trunk. Suppose a JAR dependency has version0.09/version. When this dependency is being resolved, the

Re: Site plugin template problem

2005-08-09 Thread Vinod Panicker
On 8/9/05, Arnaud HERITIER [EMAIL PROTECTED] wrote: It can also be this one : http://jira.codehaus.org/browse/MPXDOC-153 I'm not sure it's a duplicated issue. you can test the last snapshot with : maven plugin:download -DgroupId=maven -DartifactId=maven-xdoc-plugin -Dversion=SNAPSHOT

Re: [M2] Maven PMD errors

2005-08-09 Thread Brett Porter
I developed it, and many of the configuration options are not yet implemented. You're welcome to submit a patch! :) If you'd like to check the Maven Plugin Matrix (just google that string with I'm felling lucky) you can see the progress of a) creation, b) getting up to par with m1 and c)

Re: [m2] alpha3 - xdoclet, compile, ear and install

2005-08-09 Thread Adam Hardy
Kenney Westerhof on 09/08/05 06:51, wrote: On Thu, 28 Jul 2005, Adam Hardy wrote: (1) I can't get the maven-xdoclet-plugin to install using the docs on http://www.neonics.com/projects/maven-xdoclet-plugin/ When I try to install it, I use this cmd: [EMAIL PROTECTED]:~/java/projects/garg-ejb$

Maven properties inside java code

2005-08-09 Thread Marco Mistroni
Hello all, i am using Maven to build my project, but i am stuck with a problem. In running my tests, i would like to reuse inside my tests some properties defined in my project.properties. for example, i have to load a connection to a database (in my dbunit test), and i would like to pick

Re: [m2] alpha3 - xdoclet, compile, ear and install

2005-08-09 Thread Adam Hardy
Brett Porter on 09/08/05 02:11, wrote: (3) m2 can't find the maven-ear-plugin. According to the msg here http://marc.theaimsgroup.com/?l=turbine-maven-userm=111962447408741w=2 it looks like I have to copy it from maven2/org/apache/maven/plugins to my local repository and change its directory

scm taggins!!!

2005-08-09 Thread NIRMALA Manivasagam
Hello All, can anyone tell me when iam trying to execute the CVS chjeckout from remote reposiroty...foll error is coming... In build.properties: maven.scm.url= scm:cvs:sspi:snatarajan2:[EMAIL PROTECTED]:2401/cvsnt/source:dir1 D:\Maven 1.0.2\binmaven scm:checkout __ __ | \/ |__

Re: Maven properties inside java code / solved

2005-08-09 Thread Marco Mistroni
hello, sorry i solve dit by defining # Maven JUnit SysProperties... maven.junit.sysproperties=db.url db.user db.password db.driver db.seedfile db.url=jdbc:mysql://localhost:3306/test db.user=root db.password=mypass db.driver=com.mysql.jdbc.Driver db.seedfile=/budget-seed.xml thanx anyway and

Re: [M2] Maven PMD errors

2005-08-09 Thread Adam Hardy
If I can, I will, but I have to say I always admire you committers for finding the time to do this stuff, shaming my good intentions! I found and bookmarked the Plugin Matrix. Thanks Adam Brett Porter on 09/08/05 10:20, wrote: I developed it, and many of the configuration options are not yet

RE: [m2] Advice on creating a plugin to compile and deploy dotnet pro jects

2005-08-09 Thread Stevenson, Chris
Trygve, Many thanks for the detailed response. It's been very helpful. I've been going through the m2 plugins in svn but armed with your advice I think I can progress now. Brett, if you could point me to the partially done/defunct dotnet plugin when you've checked it in I'll try and steal as

[m2] goals for plugins

2005-08-09 Thread Mueffke, Friedger
Hi, Is there a way to find out about valid goals of a plugin/all plugins available? I am looking for the one that creates reports of dependent projects. And I am curious what else I could do with the available plugins for m2. Thanks, Friedger

RE: [m2] goals for plugins

2005-08-09 Thread NATARAJAN Sasi Kumar
It may 'M2 -g' Sasi -Original Message- From: Mueffke, Friedger [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 3:46 PM To: users@maven.apache.org Subject: [m2] goals for plugins Hi, Is there a way to find out about valid goals of a plugin/all plugins available? I am

Re: scm taggins!!!

2005-08-09 Thread Emmanuel Venisse
sspi protocol isn't supported by maven. Emmanuel NIRMALA Manivasagam wrote: Hello All, can anyone tell me when iam trying to execute the CVS chjeckout from remote reposiroty...foll error is coming... In build.properties: maven.scm.url= scm:cvs:sspi:snatarajan2:[EMAIL

RE: [m2] goals for plugins

2005-08-09 Thread Mueffke, Friedger
m2 -g site throws an ReactorException caused by LifecycleExecutionException: Invalid task 'site' Friedger -Original Message- From: NATARAJAN Sasi Kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 12:21 PM To: Maven Users List Subject: RE: [m2] goals for plugins It

Re: [m2] Advice on creating a plugin to compile and deploy dotnet pro jects

2005-08-09 Thread Trygve Laugstøl
On Tue, Aug 09, 2005 at 11:12:31AM +0100, Stevenson, Chris wrote: Trygve, Many thanks for the detailed response. It's been very helpful. I've been going through the m2 plugins in svn but armed with your advice I think I can progress now. Brett, if you could point me to the partially

substitution of properties in normal files during build

2005-08-09 Thread Marco Mistroni
hello all, i am building an application using Maven. I have defined some custom properties in project.properties, and i can successfully retrieve them inside my java code using System.getPRoperteis. I was wondering however if maven can substitute properties defined inside project.properties

Re: substitution of properties in normal files during build

2005-08-09 Thread Eric Giguère
Hello Marco For such a need, use the jelly variable. What you would do typically is initiate your variable using the property value, then you can modify its value. That would do the trick in runtime but if you need to actually write this value in a property, check the Ant property tag, that

Re: Beautified source-code?

2005-08-09 Thread Marcus A Christie
Joao Victor wrote: Is there any way to make Maven show source between source tags already beautified (ie., with syntax colors)? Cheers, J.V. It's not what you are asking for, but FWIW, the JXR plugin produced syntax colored code. here's example output, a class within the JXR project:

Re: substitution of properties in normal files during build

2005-08-09 Thread Eric Giguère
Hello again I don,t think that you will be able to use the variable directly in the property file thought. Only jelly scripts can have variables replaced by their runtime value. Like the Ant properties, they get assigned only in Ant scripts executed by Ant. Jelly variable are a little like the

Re: Maven properties inside java code

2005-08-09 Thread Thomas Van de Velde
Marco, You have to pass the location of poroject.properties to the JVM by adding - Dproperties.path=/yourpath/to/project.properties. Then you use the Java properties api to load this properties file and read your key. Rgds, Thomas On 8/9/05, Marco Mistroni [EMAIL PROTECTED] wrote: Hello

Maven War deploy

2005-08-09 Thread Faucher Aurélie
Hello, I wanted to deploy a war with the goal war:deploy and I've this error : Fichier... d:\Outil\Maven_1.1-beta-1\cache\maven-artifact-plugin-1.5.2\plugin.jelly Element... artifact:artifact-deploy Ligne. 90 Colonne... 9 org.apache.maven.project.Dependency.setProperties(Ljava/util/List;)V

Re: Maven War deploy

2005-08-09 Thread Arnaud HERITIER
Hi Aurélie, It's a known bug. You can solve it with the last release of the artifact plugin : maven plugin:download -DgroupId=maven -DartifactId=maven-artifact-plugin -Dversion=1.6 Arnaud On 8/9/05, Faucher Aurélie [EMAIL PROTECTED] wrote: Hello, I wanted to deploy a war with the goal

RE: Maven War deploy

2005-08-09 Thread Faucher Aurélie
Thank you, I'll try Aurélie -Message d'origine- De : Arnaud HERITIER [mailto:[EMAIL PROTECTED] Envoyé : mardi 9 août 2005 16:51 À : Maven Users List Objet : Re: Maven War deploy Hi Aurélie, It's a known bug. You can solve it with the last release of the artifact plugin : maven

RE: Maven properties inside java code

2005-08-09 Thread David Jackman
You need to set the maven.junit.sysproperties to a space-delimited list of the properties you need your tests to know about. See http://maven.apache.org/reference/plugins/test/properties.html for a description of this property with an example. -Original Message- From: Marco Mistroni

Mavenide Eclipse Project Template. Where are them??

2005-08-09 Thread Marcelo Alcantara
Good morning, Somebody can tell me where can I found templates for the mavenide create maven projects? Actually the combo is empty in eclipse. Any ideas? Thanks in advance. -- Marcelo Alcantara Senior Developer/Architect [EMAIL

Lustbuild fails to run site goal

2005-08-09 Thread Yaron Jacobson
Hi, I am trying to use Luntbuild over maven. When I trigger a build manually the site goal fails when executing the maven-xdoc-plugin-1.9.1. If I run the site goal from the command line (not using Luntbuild) the build is succefull. Any Ideas? Here is the build_log.txt tail:

RE: Multiproject site navigation question

2005-08-09 Thread Jay H. Hartley
Our approach is to have a dedicated documentation sub-project, with just xdocs. The multiproject parent project has little if anything in it, so the default navigation is fine. One of the links then leads to Documentation. That project then has a customized navigation.xml linking together all the

Re: [m2] maven surefire plugin

2005-08-09 Thread Ralph Pöllath
On 04.07.2005, at 04:29, Nadeem Bitar wrote: Where can I find documentation for the maven-surefire-plugin. I am looking on using testng instead of junit to run my tests. TestNG 2.5 has been released and comes with a maven plugin: http://testng.org/doc/maven.html Cheers, -Ralph.

Parent Projects

2005-08-09 Thread Grant Ingersoll
Is there a best practices for using the extend tag in the POM? My structure is something like: holder-dir Project1 project.xml Project2 project.xml Project3 project.xml Some things are common between the projects (by convention, not by using the extend). I

Re: Parent Projects

2005-08-09 Thread Thomas Van de Velde
I like adding a pom to my Maven installation directory, share it in SCM and then all projects can extend from the pom added to Maven by referering to it as extend${maven.home}/project.xml/extend I like to refer to this pom added to Maven as the program-level pom. Each project extends the

Re: Parent Projects

2005-08-09 Thread Jamie Bisotti
On 8/9/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: I like adding a pom to my Maven installation directory, share it in SCM and then all projects can extend from the pom added to Maven by referering to it as extend${maven.home}/project.xml/extend I like to refer to this pom added to

No such provider: 'svn+ssh'

2005-08-09 Thread berndq
Hi, i am trying to get started with maven 1.0.2 and svn over ssh but I am always stuck with: maven scm:bootstrap -Dmaven.scm.url=scm:svn+ssh://[EMAIL PROTECTED]/var/spool/svn-repos/szue2/trunk ... BUILD FAILED File.. /home/bernd/.maven/cache/maven-scm-plugin-1.5-rc1/plugin.jelly

Fwd: maven.jar.final.name usage - plugin 1.7

2005-08-09 Thread Sanjay Choudhary
Posting again!! Sanjay -- Forwarded message -- From: Sanjay Choudhary [EMAIL PROTECTED] Date: Aug 8, 2005 3:15 PM Subject: maven.jar.final.name http://maven.jar.final.name usage - plugin 1.7 To: Maven Users List users@maven.apache.org I wish to use maven.jar.final.name

maven2 duplicate class error

2005-08-09 Thread Rizwan Merchant
Hi, I found this issue mentioned earlier on the archive. I am having problems compiling my project. Maven2 gives me a duplicate class error as follows no more tokens - could not parse error message: C:\Documents and Settings\rizwan

Maven Test Plug-in 1.7 release

2005-08-09 Thread Carlos Sanchez
The maven team is pleased to announce the Maven Test Plug-in 1.7 release! http://maven.apache.org/reference/plugins/test/ Run JUnit tests. Changes in this version include: New Features: o Added maven.junit.forkmode property o Added testnotmatchpattern that can be used in test:match

RE: Maven Test Plug-in 1.7 release

2005-08-09 Thread Mike Perham
Carlos, is there any plan to allow different test frameworks? I have several projects which use Junit and several which use TestNG. I want 'maven jar' to run the unit tests no matter which framework is in use, but this only works with junit obviously. I have to explicitly call maven testng to

Re: Maven Test Plug-in 1.7 release

2005-08-09 Thread Carlos Sanchez
There's no support now. You should check surefire, IIRC it'll be backported from maven2 to maven 1.x. http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/maven-surefire-plugin/ On 8/9/05, Mike Perham [EMAIL PROTECTED] wrote: Carlos, is there any plan to allow different test

RE: Maven Test Plug-in 1.7 release

2005-08-09 Thread David Jackman
One option would be to override the test goal in maven.xml and have it run testng instead. -Original Message- From: Carlos Sanchez [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 3:14 PM To: Maven Users List Subject: Re: Maven Test Plug-in 1.7 release There's no support now.

Re: No such provider: 'svn+ssh'

2005-08-09 Thread dan tran
Bernd, i dont thing maven-scm-plugin-1.5.1-rc1 is released yet, but if you get from the trunk it should be very close. Second, according to 1.5.1 doc ( still in svn) try this scm:svn:ssh://[EMAIL PROTECTED]/var/spool/svnrepos/szue2/trunk hope this helps -D On 8/9/05, berndq [EMAIL

Re: No such provider: 'svn+ssh'

2005-08-09 Thread berndq
hi dan, thanks for you help! Bernd, i dont thing maven-scm-plugin-1.5.1-rc1 is released yet, but if you get from the trunk it should be very close. for now I stayed with rc1 Second, according to 1.5.1 doc ( still in svn) try this scm:svn:ssh://[EMAIL

maven-jdeveloper-plugin

2005-08-09 Thread Manuel G. Chacon
Hello, Can someone please help me find the maven-jdeveloper-plugin project. I set up a CVS repository location in Eclipse and the path listed on the web page doesn't exist. http://cvs.apache.org/viewcvs/maven-plugins/jdeveloper/ Thanks, Manuel

Re: maven-jdeveloper-plugin

2005-08-09 Thread Carlos Sanchez
It's in subversion http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins-sandbox/trunk/jdeveloper/ Was moved to the sandbox because it was no longer actively mantained. Regards Carlos Sanchez On 8/9/05, Manuel G. Chacon [EMAIL PROTECTED] wrote: Hello, Can someone please help me find the

Re: maven2 duplicate class error

2005-08-09 Thread Brett Porter
It happens because you have a public class PatientReferralPanel in 2 different .java files. The bug before was because copies in .svn and CVS directories were picked up, but that has been fixed. This is likely an error in your application (unless you are using an old version, or there has been a

Re: Lustbuild fails to run site goal

2005-08-09 Thread Brett Porter
It seems luntbuild is forcing an old Jelly dependency on you. You will have to report this to them since it works from the command line but not under LB. - Brett On 8/10/05, Yaron Jacobson [EMAIL PROTECTED] wrote: Hi, I am trying to use Luntbuild over maven. When I trigger a build

Re: [m2] goals for plugins

2005-08-09 Thread Brett Porter
It's not yet implemented. http://jira.codehaus.org/browse/MNG-698 - Brett On 8/9/05, Mueffke, Friedger [EMAIL PROTECTED] wrote: m2 -g site throws an ReactorException caused by LifecycleExecutionException: Invalid task 'site' Friedger -Original Message- From: NATARAJAN

Plugin passing values to a Jelly Swing display?

2005-08-09 Thread Curtis, Harrison
It appears that the best way to execute a jelly:swing is with the following script: java classname=org.apache.commons.jelly.Jelly fork=true classpath refid=jelly.swing.classpath/ arg value=${plugin.resources}/showProperties.jelly/ /java Since in this case the jelly:swing is

Re: maven.jar.final.name usage - plugin 1.7

2005-08-09 Thread Brett Porter
http://maven.apache.org/faq.html#unversioned-jars you can do what you want in your project, but you must obey the rules in the local repository as that's Maven's private area. - Brett On 8/9/05, Sanjay Choudhary [EMAIL PROTECTED] wrote: I wish to use maven.jar.final.name

Re: Maven Test Plug-in 1.7 release

2005-08-09 Thread Jamie Bisotti
On 8/9/05, David Jackman [EMAIL PROTECTED] wrote: One option would be to override the test goal in maven.xml and have it run testng instead. -Original Message- From: Carlos Sanchez [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 09, 2005 3:14 PM To: Maven Users List Subject: Re:

Re: Maven Test Plug-in 1.7 release

2005-08-09 Thread Brett Porter
Correct (we've just discussed this on the dev list, and Carlos is going to document it). - Brett On 8/10/05, Jamie Bisotti [EMAIL PROTECTED] wrote: On 8/9/05, David Jackman [EMAIL PROTECTED] wrote: One option would be to override the test goal in maven.xml and have it run testng instead.

Re: Mavenide Eclipse Project Template. Where are them??

2005-08-09 Thread Andy Glick
Marcelo Alcantara wrote: Good morning, Somebody can tell me where can I found templates for the mavenide create maven projects? Actually the combo is empty in eclipse. Any ideas? Thanks in advance. You have written to the wrong list. You are more likely to get a response if you wrote

RE: No such provider: 'svn+ssh'

2005-08-09 Thread Jörg Schaible
dan tran wrote on Wednesday, August 10, 2005 12:01 AM: Bernd, i dont thing maven-scm-plugin-1.5.1-rc1 is released yet, but if you get from the trunk it should be very close. Second, according to 1.5.1 doc ( still in svn) try this scm:svn:ssh://[EMAIL