Re: SV: SV: deploy with scp

2006-09-25 Thread Emmanuel Venisse
My question was where is it? is it under ${user.home}/.m2 or ${m2.home}/conf/settings.xml? Continuum doesn't read ${m2.home}/conf/settings.xml. Emmanuel Ravinder Singh a écrit : I allready had it in the previous message, but posting it again for those who failed to see it My settings.xm

SV: SV: deploy with scp

2006-09-25 Thread Naess, Ronny
I think what he ment was where is the file located. Under maven/conf/ or .m2/? -Ronny -Opprinnelig melding- Fra: Ravinder Singh [mailto:[EMAIL PROTECTED] Sendt: 26. september 2006 08:46 Til: Maven Users List Emne: SV: SV: deploy with scp I allready had it in the previous message, but p

RE: Clover + Cargo + Maven2 +Jboss

2006-09-25 Thread Vincent Massol
_ From: Patrick Charbonnier [mailto:[EMAIL PROTECTED] Sent: lundi 25 septembre 2006 18:19 To: [EMAIL PROTECTED] Subject: Clover + Cargo + Maven2 +Jboss Hi, sorry to contact you directly but i didnt find a user mailiing list for maven-clover-plugin It is the Maven list. I

Re: AW: working war for testing

2006-09-25 Thread Emmanuel Venisse
Can you try with an extracted archiva war instead of the war. Archiva create some files/directory under archiva directory, so it's maybe the pb. Emmanuel Mohni, Daniel a écrit : Ok, I started from scratch uninstalled Tomcat and reinstalled the latest Tomcat 5.5.17 with the Windows Installer,

SV: SV: deploy with scp

2006-09-25 Thread Ravinder Singh
I allready had it in the previous message, but posting it again for those who failed to see it My settings.xml: --- inhouse maven maven 664 775 inhouse_snapshot maven

RE: Clover fails during compile, but project compiles normally

2006-09-25 Thread Vincent Massol
Hi Martin, > -Original Message- > From: Martin van den Bemt [mailto:[EMAIL PROTECTED] > Sent: lundi 25 septembre 2006 20:34 > To: Maven Users List > Subject: Re: Clover fails during compile, but project compiles normally > > Don't install and clover at the same time.. I think it should w

RE: Clover fails during compile, but project compiles normally

2006-09-25 Thread Vincent Massol
Hi Michael, This is a known issue that I've fixed in v2.3 of the Clover plugin (see http://jira.codehaus.org/browse/MCLOVER-51). Thanks -Vincent > -Original Message- > From: Michael Waluk [mailto:[EMAIL PROTECTED] > Sent: lundi 25 septembre 2006 17:36 > To: users@maven.apache.org > Subje

Re: AW: working war for testing

2006-09-25 Thread Brett Porter
Quite honestly - it beats me. I've never seen Tomcat render a JSP as text. Something weird is going on there - I can't see how this could be related to Archiva. If I get an opportunity I'll try it with Tomcat again. On 26/09/2006, at 4:15 PM, Mohni, Daniel wrote: Ok, I started from scratch

RE: AW: working war for testing

2006-09-25 Thread Mohni, Daniel
Ok, I started from scratch uninstalled Tomcat and reinstalled the latest Tomcat 5.5.17 with the Windows Installer, then I installed Tomcat Admin in the same directory. The Install directory is the default proposed by the Installer (C:\Program Files\Apache Software Foundation\Tomcat5.5) after that

SV: SV: SV: SV: SV: maven site not showing sub module links in parent ht

2006-09-25 Thread Naess, Ronny
Well, that exeption is thrown because it can not create a DistributionManagement object. Is listed if you run 'mvn help:effective-pom' (mine seems to be listed at the bottom)? 'mvn site' generates your site, but the links will not work because all generated sites (parent and modules) must be depl

Re: renaming test resources

2006-09-25 Thread Wendy Smoak
On 9/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: How do I rename test resource files during the build cycle? I have src/test/resources/data/x.dat.template and want target/test-classes/data/x.dat If all else fails you can use maven-antrun-plugin to do it. -- Wendy ---

Re: renaming test resources

2006-09-25 Thread franz see
glenn.potter wrote: > > How do I rename test resource files during the build cycle? > > I have > src/test/resources/data/x.dat.template > and want > target/test-classes/data/x.dat > > Thanks for the help. > Good day to you, gleen, AFAIK, none of the released maven apache plugins does not s

Re: Is TestNG support in M2 2.0.4 already stable?

2006-09-25 Thread franz see
Davy Toch wrote: > > Hi, > > I was just wondering whether TestNG support in M2 is already > stable and can be used as a viable replacement of JUnit? I > already tried using TestNG in M2 but I had different problems > (tests not being run, ClassCastException, ...). > > So before I start postin

Re: Creating a Java application

2006-09-25 Thread franz see
Or_Daniel wrote: > > I know of two plugins for the purpose of creating a Java application > (i.e. something that packages an application along with it's > dependencies): > > > > 1.uberjar > 2.javaapp > > > > However, both of them look like history. > > > > Does anyone know o

Re: Creating a Java application

2006-09-25 Thread franz see
Xavier Toth wrote: > > do you have a url for this posting? > > On 9/25/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: >> On 9/26/06, Kaare Nilsen <[EMAIL PROTECTED]> wrote: >> > check out the appassembler plugin in the mojo project, works great >> >> Search the nabble archives for baerrach and

Re: SV: SV: maven site not showing sub module links in parent html

2006-09-25 Thread franz see
tulasi wrote: > > Hi Rony > > How will i create a site deploy in my local pc. > > I did like this file://localhost/tmp/mysite . but its raising > error. please help me dear. > > [INFO] [site:deploy] > [INFO] > > [ERROR

Re: SV: SV: SV: SV: maven site not showing sub module links in parent ht

2006-09-25 Thread tulasi
Hi Ronny, Ya, I have checked. I have configured Distribution Management in parent pom.xml according to your suggestion. mvn site is working fine(but its not creating links in parent index.html), site-deploy throwing execption ( Missing Distribution management). please suggest me how will hand

Re: Running sql in Maven 2

2006-09-25 Thread dan tran
sql-maven-plugin. -D On 9/25/06, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]> wrote: Hi. Is there a way to run a .sql script with Maven 2? For Maven 1, I found: http://www.codeczar.com/products/maven-sql-plugin/index.html. However, I have not been able to see this for Maven 2

Running sql in Maven 2

2006-09-25 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hi. Is there a way to run a .sql script with Maven 2? For Maven 1, I found: http://www.codeczar.com/products/maven-sql-plugin/index.html. However, I have not been able to see this for Maven 2. I appreciate any help given. Thanks. This message (including any attachments) contains confidentia

Re: AW: working war for testing

2006-09-25 Thread Brett Porter
Something is misconfigured as it is serving the JSP as text. What version of Tomcat? I think you might need 5.0+. - Brett On 26/09/2006, at 1:56 AM, Mohni, Daniel wrote: Hello Brett, I was tweaking with tomcat a little bit to get the embeddedDerby driver to work, as a result I have a archi

Re: Property overwriting - resource filtering for sub project

2006-09-25 Thread Max Cooper
The current source for maven-resources-plugin gives project properties a higher precedence than system properties. I think that is backwards (but it is an improvement over the old code, which effectively did not consider system properties for token replacement at all :-)): private void ini

Re: Property overwriting - resource filtering for sub project

2006-09-25 Thread Eric Redmond
That sounds like a defect. If it is not already in JIRA, please help out and log it. In the interim, have you tried creating an always-active profile with a property element? That might work, but I'm not certain. Eric On 9/5/06, fagfa <[EMAIL PROTECTED]> wrote: We have a parent project which

Re: Creating a Java application

2006-09-25 Thread Barrie Treloar
On 9/26/06, Xavier Toth <[EMAIL PROTECTED]> wrote: do you have a url for this posting? Nabble archives are here: http://www.nabble.com/Maven---Users-f178.html And type "assembly baerrach" in the search area and start reading. Enjoy

Re: Creating a Java application

2006-09-25 Thread Xavier Toth
do you have a url for this posting? On 9/25/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: On 9/26/06, Kaare Nilsen <[EMAIL PROTECTED]> wrote: > check out the appassembler plugin in the mojo project, works great Search the nabble archives for baerrach and assembly and you will find posts I wrote

Re: Creating a Java application

2006-09-25 Thread Xavier Toth
Great, do you have a url for appassembler? On 9/25/06, Kaare Nilsen <[EMAIL PROTECTED]> wrote: check out the appassembler plugin in the mojo project, works great /Kaare On 25/09/06, Xavier Toth <[EMAIL PROTECTED]> wrote: > I want to do the same thing so I'm looking at using > http://one-jar.so

Re: Request for Assembly plugin use cases

2006-09-25 Thread John Casey
that looks like a file locking issue...would you agree? -john On 9/23/06, dan tran <[EMAIL PROTECTED]> wrote: tested with my production build, my assemblies use Files, FileSet, ComponentDescriptors Found 1 error in test, but junit report does not see the error Test set: org.apache.maven.plug

Re: Creating a Java application

2006-09-25 Thread Barrie Treloar
On 9/26/06, Kaare Nilsen <[EMAIL PROTECTED]> wrote: check out the appassembler plugin in the mojo project, works great Search the nabble archives for baerrach and assembly and you will find posts I wrote on how to setup assembly to do this. -

Re: Creating a Java application

2006-09-25 Thread Kaare Nilsen
check out the appassembler plugin in the mojo project, works great /Kaare On 25/09/06, Xavier Toth <[EMAIL PROTECTED]> wrote: I want to do the same thing so I'm looking at using http://one-jar.sourceforge.net/ and building a jar as per its' docs. However, I'm looking for more extensive docs for

Re: Javadoc exclude option in Maven-2

2006-09-25 Thread tvigil
Hi, Venkat Muthusamy wrote: > > Hi, > > I like to know how to exclude packages while creating javadocs. > > I included the following plugin in the pom with "excludepackaegenames" > option. > > Looks like it is not excluding the packages. Is there something wrong in > my > configuration or do

Re: Property overwriting - resource filtering for sub project

2006-09-25 Thread fagfa
I'm still stuck with this one and can't believe no one knows the answer ... fagfa wrote: > > We have a parent project which contains several J2EE subprojects, such as > web, ejb, ear, etc.. In the parent POM, a property "db" is defined, whose > default is "hsql", for example. Build for various

Is TestNG support in M2 2.0.4 already stable?

2006-09-25 Thread Davy Toch
Hi, I was just wondering whether TestNG support in M2 is already stable and can be used as a viable replacement of JUnit? I already tried using TestNG in M2 but I had different problems (tests not being run, ClassCastException, ...). So before I start posting my TestNG-related problems in detail

Re: Creating a Java application

2006-09-25 Thread Xavier Toth
I want to do the same thing so I'm looking at using http://one-jar.sourceforge.net/ and building a jar as per its' docs. However, I'm looking for more extensive docs for the jar plugin version 2.1 inorder to do this job. On 9/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks Alexandre!

axistools-maven-plugin NStoPkg property

2006-09-25 Thread yaukbb
Hi all i am trying to generate source from2 wsdl files with wsdl2java,i want to set package name for one of those WSDL file. i tried this one http://blah.com/blah.wsdl = com.mycom.ws it didnt work and i tried this way fileNStoPkg>src/main/wsdl/custom.properties can any

Re: Clover fails during compile, but project compiles normally

2006-09-25 Thread Martin van den Bemt
Don't install and clover at the same time.. Mvgr, Martin Michael Waluk wrote: In case anyone searches for something similar and finds this... I don't understand it, but here is how I fixed this: In my local repository I found that next to oba-standalone-1.0-SNAPSHOT.jarwas an older file oba-s

Re: [Multiple modules]

2006-09-25 Thread David Roussel
That does seem to be the convention in Maven (it's not a continuum thing), that the modules are most often in subfolders of the parent project, and have folder names the same as the project name. On Mon, 25 Sep 2006 14:07:01 +0200, "Francois Le Fevre" <[EMAIL PROTECTED]> said: > Dear all, > > I h

renaming test resources

2006-09-25 Thread glenn . potter
How do I rename test resource files during the build cycle? I have src/test/resources/data/x.dat.template and want target/test-classes/data/x.dat Thanks for the help.

AW: working war for testing

2006-09-25 Thread Mohni, Daniel
Hello Brett, I was tweaking with tomcat a little bit to get the embeddedDerby driver to work, as a result I have a archiva.xml that I copy to $tomcat_home$/conf/Catalina/localhost I put the generated war somewhere on the drive and reference the war using the docbase attribute no

Re: Clover fails during compile, but project compiles normally

2006-09-25 Thread Michael Waluk
In case anyone searches for something similar and finds this... I don't understand it, but here is how I fixed this: In my local repository I found that next to oba-standalone-1.0-SNAPSHOT.jarwas an older file oba-standalone-1.0-SNAPSHOT-clover.jar. Once I deleted that it ran fine. I guess clo

Re: SV: deploy with scp

2006-09-25 Thread Emmanuel Venisse
Where is your settings.xml? Emmanuel Ravinder Singh a écrit : I have done exactly the same! But I am testing under windows and deploying to linux through ssh. It keeps asking me for the passwordI am not using external ssh. My POM: ... inhouse inhouse scp://xxx

SV: deploy with scp

2006-09-25 Thread Ravinder Singh
I have done exactly the same! But I am testing under windows and deploying to linux through ssh. It keeps asking me for the passwordI am not using external ssh. My POM: ... inhouse inhouse scp://xxx.xxx.xxx.xxx/home/maven/repos/inhouse inhouse_snaps

Re: Checksum validation

2006-09-25 Thread Wayne Fay
If you don't trust the files being served by Central (ibiblio) and other Maven repos, you will need to set up a local "Corporate" Repo and fill it manually with jars you trust, and then instruct your people to override Central with your own local repo and not allow them to ever connect their Maven

SV: deploy with scp

2006-09-25 Thread Naess, Ronny
Hi, Ravinder my friend. This is how I do it. Note I use user/password. Settings.xml --- website apache apache 644 755 --- Pom.xml --- website

deploy with scp

2006-09-25 Thread Ravinder Singh
I am trying to do do a deploy without user interaction (through continuum). Currently I am testing deploy for the project. But I am failing to have it deploy without prompting for password. I hace specified the privateKey, username, and even the password in the settings.xml. But it won't stop ask

SV: SV: SV: SV: maven site not showing sub module links in parent html

2006-09-25 Thread Naess, Ronny
To quick in my replay there. Did you include something like website file://localhost/c:/temp/mysite in your pom? Is windows or unix/linux your enviroment? -Ronny -Opprinnelig melding- Fra: tulasi [

SV: SV: SV: SV: maven site not showing sub module links in parent html

2006-09-25 Thread Naess, Ronny
It says that its missing distribution management information in the project You know, the -Opprinnelig melding- Fra: tulasi [mailto:[EMAIL PROTECTED] Sendt: 25. september 2006 15:02 Til: users@maven.apache.org Emne: Re: SV: SV: SV: maven site not showing sub module links in parent htm

Re: [Maven 2] Differences between running a plugin project and running the resulting plugin

2006-09-25 Thread Shinobu Kawai
Hi Jan, org.apache.velocity.app.Velocity.getTemplate(Velocity.java:469) You are using the singleton instance to obtain your templates. That means, that if Velocty was init-ed before your plugin, those settings will be used, even in your plugin. The recommended way to use Velocity in such con

Re: SV: SV: SV: maven site not showing sub module links in parent html

2006-09-25 Thread tulasi
Hi Rony.. Please check this error [INFO] [site:deploy] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Missing distribution management information in the pro

SV: SV: SV: maven site not showing sub module links in parent html

2006-09-25 Thread Naess, Ronny
Well, the sample assumed unix. Try file://localhost/c:/temp/mysite instead. Also you can use the -e switch like mvn says, maybe the problem becomes visable (mvn site site-deploy -e) -Ronny -Opprinnelig melding- Fra: tulasi [mailto:[EMAIL PROTECTED] Sendt: 25. september 2006 14:04 Til

Re: [Multiple modules]

2006-09-25 Thread Francois Le Fevre
Dear all, I have identified my error: it seems that module and parent artifact id have to match to the folder name when using subversion and continuum! Could you please confirm the convention? Francois My folder * nemo-andromda-profiles/ o pom.xml o uml-1.4

Re: SV: SV: maven site not showing sub module links in parent html

2006-09-25 Thread tulasi
Hi Rony How will i create a site deploy in my local pc. I did like this file://localhost/tmp/mysite . but its raising error. please help me dear. [INFO] [site:deploy] [INFO] [ERROR] BUILD ERROR [INFO]

Include HTML in APT page

2006-09-25 Thread Gero Vermaas
Hi, I'm using the APT format to generate from pages for my Maven site. On one of those pages I'd like to include a chatbox widget provided by Meebo (see http://www.meebome.com/), but I'm afraid that is not possible with APT. Meebo provides this: http://widget.meebo.com/mm.swf?xxx"; typ

Feature Request: Improved support for third party JARs

2006-09-25 Thread Markus KARG
Dear Maven Community, currently Maven's support for third party JARs (i. e., JARs not built with Maven that do not have the version found in their file name) is problematic. If you have followed the FOP discussion lately happened in this list, you will understand that there is a need to improv

Re: Progress indicators for project management

2006-09-25 Thread Benoitx
Christophe Thanks for trying QALab, as you know from this thread, it is work-in-progress. You can create your exporter that would log things in JDBC if you want, see: http://qalab.sourceforge.net/faq.html#my-export If you write one such item, we would like to include it if it is generic. I kno

Re: SV: SV: maven site not showing sub module links in parent html

2006-09-25 Thread franz see
Running only 'mvn site' will give you site files in artifact target directory, but they will not be correctly linked before you deploy them, or I suppose stage them. I do not have experience with stage but I suppose that should work the same way as site-deploy. You do not need a site.xml for ea

Checksum validation

2006-09-25 Thread Toby Hobson
Just a quick question: how can I verify that the code maven downloads from the repo is what I expect. As an example, I have the following in my pom: org.springframework spring 1.2.8 How can I be sure that the jar maven downloads is the same as th

[Maven 2] Differences between running a plugin project and running the resulting plugin

2006-09-25 Thread Jan Larsen (Informatik)
I have made a plugin that generates some source code using Velocity. This plugin (generator-plugin) compiles, tests and deploys without problems. In this process Velocity loads some templates and generates the correct files. So far so good. When I attempt to use the generator-plugin in another pr

[Multiple modules]

2006-09-25 Thread Francois Le Fevre
Dear all, I am trying to add a maven2 project using multiple module to continuum. When I add my project, continum find all submodule but when I build the project, I get an error for the modules. The parent module is well compile but the Do I need to declare in each sub module, the svn url ? O

SV: Build errors

2006-09-25 Thread Naess, Ronny
I have tried different things but no pattern is discovered. I am logged on the unix server that Continuum is running on. I then change directory to the artifact that fails. Things I have tried: mvn install -> failure mvn clean -> success mvn test-> success mvn install -> f

SV: SV: maven site not showing sub module links in parent html

2006-09-25 Thread Naess, Ronny
Running only 'mvn site' will give you site files in artifact target directory, but they will not be correctly linked before you deploy them, or I suppose stage them. I do not have experience with stage but I suppose that should work the same way as site-deploy. You do not need a site.xml for each

Re: SV: maven site not showing sub module links in parent html

2006-09-25 Thread tulasi
Hi all, I have tried with mvn site and mvn site:stage -DstagingDirectory=C:\mysite4 commands. and also i have tried with configuration and ${modules}. But its not creating links in parent html. is thr any solution. please help me and a small doubt -- is it need to contain site.xml in eac

Re: Progress indicators for project management

2006-09-25 Thread Busch, Hendrik (LNG-MUE)
Hi! I tried it quicly and came across a few issues (most of which are easily dealt with). Did you try to setup QALab in a continous integration environment? I set up my project to run checkstyle:check as well as qalab-merge after the verify phase using code similiar to the following in the b

Re: [M1] Running tests with jvmargs (security policy)

2006-09-25 Thread diyfiesta
Hi, Thanks for that. You know, last night I randomly just tried dropping the first slash and it worked a treat! grrr, spent hours over a redundant forward slash! ;) One of those days... Thanks Arnaud HERITIER wrote: > > Are sure that /target/test-classes/testing.policy isn't computed as an

SV: SCM conflict problem

2006-09-25 Thread Naess, Ronny
Thanks, Emmanuel. I did almost what you suggested. We have a common artifact with test resources, a directory containing HSQLDB and more. I added a antrun proc to the process-test-resources with a mission to copy the database.script to database_whatever.script. The tests setup then access datab

native-maven-plugin user testing request

2006-09-25 Thread dan tran
Hello, I am about to release native-maven-plugin-alpha-2 sometime next week and would like to request that users of this plugin to test the latest snapshot against your builds. The to be released alpha-2 is backward compatible with alpha1. It has a few internal enhancements, bug fixes, code cle

Build errors

2006-09-25 Thread Naess, Ronny
Hi. I am building my modules with Maven 2. The build is executed from top level (parent). The build process seems to be unstable. Sometime it goes well other times not. When it breaks there is always an exception telling me that Springs propertyPlaceHolderConfigurer not has replaced my propert

Re: Progress indicators for project management

2006-09-25 Thread Christophe Deneux
Hi all, I have quickly try maven-qalab-plugin this weekend and I have notice the following remarks/issues: - Unable to run maven-qalab-plugin with Findbugs (No XML report is generated by Findbugs) - I had the PMD, Checkstyle, ... configured in the section to have these report