CVS export produces duplicate folder structures

2009-02-16 Thread Busch Paul
Hi there, I'm trying to use scm to export an XML Schema from cvs to generate source code from it. As of now I can export the file but there are some weirdnesses that keep me from using it in a real world application. I use the following plugin configuration to export via scm: plugin

Re: selenium-maven-plugin howto specifie multiple browsers

2009-02-16 Thread Martin Höller
Obviously I was wrong: according to [0], execution of a single plugin multiple times is possible. [0] http://article.gmane.org/gmane.comp.java.maven-plugins.mojo.user/1307 hth, - martin On 05 Feb 2009, Martin Höller wrote: Hi! Executing one plugin with different configurations in one phase

NPE with mvn release:perform

2009-02-16 Thread Valerio Schiavoni
After a succesfull mvn release:prepare, i tried the next step (mvn release:perform), and I got this stacktrace: INFO] [ERROR] FATAL ERROR [INFO] [INFO] [INFO] [INFO] null [INFO] [INFO]

[ANNOUNCE] Sonar 1.6 released, enabling to manage thresholds on quality metrics

2009-02-16 Thread Olivier Gaudin
The Sonar team is pleased to announce the release of Sonar 1.6. Sonar is an open source platform that manages java source code quality. The new version focuses on the management of quality profiles. It is now possible in Sonar to define thresholds, for example if the code coverage is less than

how to set maven test:test JVM system properties?

2009-02-16 Thread Alexandr Khlystov
how to set maven test:test JVM system properties? I've tried: maven -Duser.language=ru -Duser.country=RU test:test and plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.4.2/version configuration

code snippets in documentation

2009-02-16 Thread Giovanni Azua
Hi, I wonder if there is a better code snippet solution than the Maven snippet macro. I was thinking along the lines of java2html with coloring etc and maybe linking to the source xrefs. TIA, Regards, Giovanni - To

recurrent exception

2009-02-16 Thread Giovanni Azua
Hi, I have lately seen this exception below recurrently popping out in my build. Any clues? TIA, Regards, Giovanni [ERROR] DashboardUtils getDocument() SAXException: org.xml.sax.SAXParseException: Premature end of file. at

jxr does not create cross links in multi-module project

2009-02-16 Thread Giovanni Azua
Hi, My build pulls jxr 2.1. Although I set the aggregate parameter to true, I still don't get linked cross module references say e.g. Module A Interface X Module B (depends on A) Class Y implements X In the aggregate reports Class Y will not link to X. Is this a known issue? TIA,

Re: NPE with mvn release:perform

2009-02-16 Thread Valerio Schiavoni
btw, i also opend a jira issue for this: http://jira.codehaus.org/browse/DOXIASITETOOLS-16 On Mon, Feb 16, 2009 at 10:44 AM, Valerio Schiavoni valerio.schiav...@gmail.com wrote: After a succesfull mvn release:prepare, i tried the next step (mvn release:perform), and I got this stacktrace:

Deploy on shared internal repository

2009-02-16 Thread Jan Chodura
Hi, can you help me what's wrong with my configuration for deploying app to JFrog artifactory? On jfrog artifactory I have repository myAppsRepository. I use eclipse 3.4 (but on the command line it's the same problem), maven 2.0.9 settings.xml settings servers server

maven-eclipse-plugin

2009-02-16 Thread Dmitri Ilyin
Hallo, i wanted to use maven-eclipse-plugin with Eclipse 3.4. After short tries i have found out that it only support WTP 1.5. The actual version of Eclipse WTP is 3.x After that i find that the last version of plugin is 10 month old. What ist he status oft he plugin? Is it still in

RE: Multi module site deploy using file

2009-02-16 Thread Randall Fidler
Hi Dennis, For both parent and child or just the child? I can't understand how having that extra '/' would have the child end up in the proper location under the parent but I'll give it a whirl. Currently I do not have three slashes, just two. Regards, Randall -Original

Re: Deploy on shared internal repository

2009-02-16 Thread Yoav Landman
Hi, Looks like you are failing on the different repo id/same repo url issue (see: http://wiki.jfrog.org/confluence/display/RTF/Configuring+Artifacts+Resolution, bottom of the page). The corresponding server output would provide more info. Anyway, it's better to ask artifactory-specific questions

Re: maven-eclipse-plugin

2009-02-16 Thread Martin Höller
Hi! On 16 Feb 2009, Dmitri Ilyin wrote: i wanted to use maven-eclipse-plugin with Eclipse 3.4. After short tries i have found out that it only support WTP 1.5. The actual version of Eclipse WTP is 3.x After that i find that the last version of plugin is 10 month old. Accoring to a mail

[ANN] Appassembler Maven Plugin 1.0 Released

2009-02-16 Thread Erik Drolshammer
Hi, The Mojo team is pleased to announce the release of the Appassembler Maven Plugin, version 1.0. The Appassembler Maven Plugin provides goals to generate bin and Java Service Wrapper scripts and can extract dependencies needed for a distribution. Site:

Maven jaxb2-maven-plugin toString() generation

2009-02-16 Thread balderman
Hi I am using jaxb2-maven-plugin in my pom file. (see below) I would like to have toString() method on my generated pojo's. I know that the java.net jaxb maven plugin support this kind of extension, and I wonder if I can use it with the jaxb plugin that I am using. Thanks Avishay Balderman

Re: maven-eclipse-plugin

2009-02-16 Thread Dmitri Ilyin
hi, thanks Martin. Can you provide an email here? or where can i find it? Do you know which WTP version will be supported? regards Dmitri 2009/2/16 Martin Höller mar...@xss.co.at Hi! On 16 Feb 2009, Dmitri Ilyin wrote: i wanted to use maven-eclipse-plugin with Eclipse 3.4. After short

Re: maven-eclipse-plugin

2009-02-16 Thread Martin Höller
http://lmgtfy.com/?q=maven+eclipse+plugin+next+release On 16 Feb 2009, Dmitri Ilyin wrote: hi, thanks Martin. Can you provide an email here? or where can i find it? Do you know which WTP version will be supported? regards Dmitri 2009/2/16 Martin Höller mar...@xss.co.at Hi!

Re: maven-eclipse-plugin

2009-02-16 Thread Jason van Zyl
http://m2eclipse.sonatype.org/ On 16-Feb-09, at 8:49 AM, Dmitri Ilyin wrote: Hallo, i wanted to use maven-eclipse-plugin with Eclipse 3.4. After short tries i have found out that it only support WTP 1.5. The actual version of Eclipse WTP is 3.x After that i find that the last version

Re: maven-eclipse-plugin

2009-02-16 Thread Dmitri Ilyin
well, this is an eclipse plugin, i need maven plugin. 2009/2/16 Jason van Zyl jvan...@sonatype.com http://m2eclipse.sonatype.org/

RE: maven-eclipse-plugin

2009-02-16 Thread Winterflood, Jonathan
Hi, Depending on what you're trying to do, it should do the job: I imagine you want Maven to tell Eclipse where to find the dependencies etc. Maven-eclipse-plugin did that by generating a .classpath file. m2eclipse installs in Eclipse and tells it what to do without having to refresh the

Anyone? Snapshots repositories, how should they work?

2009-02-16 Thread Kent Närling
Anyone give me a pointer regarding this? please? Is it a very stupid question... ? :-( -- Forwarded message -- From: Kent Närling kent.narl...@seamless.se Date: 2009/2/11 Subject: Snapshots repositories, how should they work? To: Maven Users List users@maven.apache.org This

Re: Anyone? Snapshots repositories, how should they work?

2009-02-16 Thread Nick Stolwijk
http://nexus:8081/nexus/content/groups/public-snapshots/com.my.common/poms/my-artifact-0.11-20090211.000348-293.pom Seeing you have a special directory for poms it looks like you have a legacy repository defined. Maybe that goes wrong? Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus

Re: Anyone? Snapshots repositories, how should they work?

2009-02-16 Thread Kent Närling
I thought legacy layout was standard for snapshot repositories? Is it even possible to use non-legacy layout for snapshots? And it does try to use the correct path, it is just the timestamp/buildnumber that mismatch...? 2009/2/16 Nick Stolwijk nick.stolw...@gmail.com

Re: Anyone? Snapshots repositories, how should they work?

2009-02-16 Thread Nick Stolwijk
Legacy layout is the maven 1 layout. If you only use maven 2, don't use the legacy layout. I guess something goes wrong with your metadata. If you use a maven 2 layout like maven[1] there will be a metadata file, to construct the final url. What does your metadata file say about your snapshots?

Re: maven-eclipse-plugin

2009-02-16 Thread Dmitri Ilyin
hi, yes i want to tell maven to generate eclipse project for me. Maven-eclipse-plugin does it well if it is a simple java project. What i need is eclipse WTP project. It supports it too but in the older version. I have tried it. The generated eclipse WTP project was not 100% correct (i got

Re: Anyone? Snapshots repositories, how should they work?

2009-02-16 Thread Kent Närling
Ok, funny enough, I have set the format in nexus to maven2, but it still insists on storing it in legacy format... strange... Could this be a bug in nexus? we are using an older beta version ... The meta data file very correctly says the incorrect build number and timestamp: versioning -

Re: help with jdbc and dbunit server mapping

2009-02-16 Thread Baptiste MATHUS
Maybe use a special profile in which you will define your properties? Cheers 2009/2/15 Mick Knutson mickknut...@gmail.com I am looking at this as a solution to externalize my db username and password: http://mojo.codehaus.org/dbunit-maven-plugin/examples/settings.html But my issue is that,

Re: mvn tomcat:deploy: Out of Memory Error

2009-02-16 Thread Ole Ersoy
Super - Thanks - The following did the trick: export MAVEN_OPTS=-Xms64m -Xmx900m Ole - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: How to configure resources plugin to copy extra files

2009-02-16 Thread Blueshirts
You may not need to for his example though the example on the page sited does not work. Anyone know what the correct execution value should be? Configuring the plug-in is useful because in the example it states you can attach it to a phase. brettporter wrote: You shouldn't need to

Re: recurrent exception

2009-02-16 Thread Wayne Fay
[ERROR] DashboardUtils getDocument() SAXException: org.xml.sax.SAXParseException: Premature end of file. ... org.codehaus.mojo.dashboard.report.plugin.DashBoardUtils.getDocument(DashBoa rdUtils.java:886) Looks to be a bug/issue in the Dashboard Mojo. I'd see if perhaps this has been filed in

Set system properties in pom.xml?

2009-02-16 Thread David C. Hicks
I think I already know the answer to this: No. But, I feel like I should ask, just in case I've missed some vital piece of information. (Google is great, but sometimes it's hard to work your way through the chaff.) I'd like to control some unit test features using a profile. My current

Re: Set system properties in pom.xml?

2009-02-16 Thread David C. Hicks
Incidentally, I did try using the systemProperties configuration element of the SureFire plugin. It did not appear to do anything. David C. Hicks wrote: I think I already know the answer to this: No. But, I feel like I should ask, just in case I've missed some vital piece of information.

Re: recurrent exception

2009-02-16 Thread Brett Randall
Top hit on Google for: DashboardUtils getDocument() SAXException Premature end of file is: https://jira.codehaus.org/browse/MOJO-1292 May be relevant to your issue. Brett On Mon, Feb 16, 2009 at 10:02 PM, Giovanni Azua brave...@swissonline.chwrote: Hi, I have lately seen this exception

Re: maven-eclipse-plugin

2009-02-16 Thread Arnaud HERITIER
why a plugin in eclipse to support maven doesn't fit your needs ? Arnaud 2009/2/16 Dmitri Ilyin ilyin.dmi...@googlemail.com well, this is an eclipse plugin, i need maven plugin. 2009/2/16 Jason van Zyl jvan...@sonatype.com http://m2eclipse.sonatype.org/ -- Arnaud

RE: Anyone? Snapshots repositories, how should they work?

2009-02-16 Thread Brian E. Fox
Nexus only stores what Maven sends it. So if you have defined things as legacy (m1) in maven and told Nexus it's m2, you're going to have some trouble. Make everything M2, non-legacy (the default) and it should just work. -Original Message- From: Kent Närling

RE: recurrent exception

2009-02-16 Thread Brian E. Fox
Haha, I think that's Brett's form of: http://lmgtfy.com/?q=DashboardUtils+getDocument()+SAXException -Original Message- From: Brett Randall [mailto:javabr...@gmail.com] Sent: Monday, February 16, 2009 4:37 PM To: Maven Users List Subject: Re: recurrent exception Top hit on Google for:

Re: maven-eclipse-plugin

2009-02-16 Thread Siarhei Dudzin
I don't know for Dmitri but for me it doesn't support war overlays :) Best regards, Siarhei Dudzin On Mon, Feb 16, 2009 at 10:58 PM, Arnaud HERITIER aherit...@gmail.comwrote: why a plugin in eclipse to support maven doesn't fit your needs ? Arnaud 2009/2/16 Dmitri Ilyin

Re: recurrent exception

2009-02-16 Thread Wayne Fay
Top hit on Google for: DashboardUtils getDocument() SAXException Premature end of file is: https://jira.codehaus.org/browse/MOJO-1292 But emailing problems to this group is so much easier than simply Googling for your answers! Wayne

Re: maven-eclipse-plugin

2009-02-16 Thread Arnaud HERITIER
yes, thus your problem is the lack of support on some maven/eclipse features. And not because you don't want to use it. I suppose you'll take it as soon as it'll have those missing features. Arnaud On Mon, Feb 16, 2009 at 11:32 PM, Siarhei Dudzin siarhei.dud...@gmail.comwrote: I don't know for

Re: mvn jetty home?

2009-02-16 Thread Lee Meador
Try http://jetty.mortbay.com/jetty/maven-plugin/ -- Lee On Fri, Feb 13, 2009 at 7:51 AM, Lee Goddard lee.godd...@bbc.co.uk wrote: Could someone please point me to the Maven Jetty home and/or help me istall it? http://mojo.codehaus.org/jetty-maven-plugin/index.html says little, but when I

Re: maven-eclipse-plugin

2009-02-16 Thread Siarhei Dudzin
Sure, I *am* using it :) just not everywhere... Speaking of which, I can't install it: Update operation has failed Error retrieving plugins/org.eclipse.draw2d_3.4.1.v20080910-1351.jar. [Server returned HTTP response code: 404 Not Found for URL:

Re: Set system properties in pom.xml?

2009-02-16 Thread Dan Tran
You may want to take a look at surefire's integration test cases, I has a bunch of examples on how push system properties into surefire. -D On Mon, Feb 16, 2009 at 1:25 PM, David C. Hicks dhi...@i-hicks.org wrote: Incidentally, I did try using the systemProperties configuration element of the

Re: Set system properties in pom.xml?

2009-02-16 Thread David C. Hicks
Where would I find those test cases? I see nothing about integration tests on the SureFire page. Dan Tran wrote: You may want to take a look at surefire's integration test cases, I has a bunch of examples on how push system properties into surefire. -D On Mon, Feb 16, 2009 at 1:25 PM, David

Re: mvn jetty home?

2009-02-16 Thread Deron Eriksson
There is a configuration guide here that can probably answer your questions: http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin You should be able to use the plugin by adding it to the build-plugins-plugin section of your project's pom.xml, like: plugin

Re: Set system properties in pom.xml?

2009-02-16 Thread Dan Tran
Actually, it is in the surefire source tree with its own module. -Dan On Mon, Feb 16, 2009 at 3:45 PM, David C. Hicks dhi...@i-hicks.org wrote: Where would I find those test cases? I see nothing about integration tests on the SureFire page. Dan Tran wrote: You may want to take a look at

Re: Set system properties in pom.xml?

2009-02-16 Thread Dan Tran
any how, what kind of problem you are facing? Is surefire document not clear enough? -D On Mon, Feb 16, 2009 at 4:33 PM, Dan Tran dant...@gmail.com wrote: Actually, it is in the surefire source tree with its own module. -Dan On Mon, Feb 16, 2009 at 3:45 PM, David C. Hicks

Re: Set system properties in pom.xml?

2009-02-16 Thread David C. Hicks
The surefire documentation is plenty clear, but the feature apparently doesn't work. At least, I have been unsuccessful with it, thus far. I'm just trying to pass in a simple string for my tests to pick up. The string is set by activating a profile. I guess I'll dig into the surefire source

Problem concerning Maven with Hibernate JPA

2009-02-16 Thread Martin Chmielewski
Hi, I have only little experience with Maven. Currently, I'm working on a project with JPA. It's a desktop application without Application Server. I added the hibernate-entitymanager-3.4.0.GA.jar to the dependencies (all corresponding dependencies are resolved by Maven). My JUnit tests

Re: Problem concerning Maven with Hibernate JPA

2009-02-16 Thread David C. Hicks
Martin, While the app I'm currently working on is a web-based app, I have an explicit dependency declare for the persistence API. Whether it is necessary, I'm not sure, but it's in the POM. So, I thought I'd reply with it for you. dependency

Re: Set system properties in pom.xml?

2009-02-16 Thread Wendy Smoak
On Mon, Feb 16, 2009 at 6:01 PM, David C. Hicks dhi...@i-hicks.org wrote: The surefire documentation is plenty clear, but the feature apparently doesn't work. At least, I have been unsuccessful with it, thus far. I'm just trying to pass in a simple string for my tests to pick up. The string

Re: Set system properties in pom.xml?

2009-02-16 Thread David C. Hicks
Wendy, that was a great suggestion. I should have done so sooner. Having tossed out my changes in favor of doing something more productive, I went back to recreate my setup. I must have mis-configured the plugin. Now, it's working beautifully. Sorry about all the fuss. Dave Wendy

[ANN] TrueZip Maven Plugin 1.0 beta 2 released

2009-02-16 Thread Dan Tran
The MOJO team is pleased to announce the second beta release of truezip-maven-plugin which is mainly used to manipulate archive files on the fly. This release has a critical bug fix for http://jira.codehaus.org/browse/MOJO-1298 The site is at http://mojo.codehaus.org/truezip-maven-plugin Enjoy

Re: eclipse ide not picking up settings.xml

2009-02-16 Thread Mick Knutson
I am still looking into this, and it appears that the embedded eclipse maven, is not picking up my /Users/mick/.m2/settings.xml When I add the properties into the run configuration, the build finds that missing property. But I have many Can anyone help? --- Thank You… Mick Knutson,

Best practices to integrate projects with a Grails project

2009-02-16 Thread Felipe Cypriano
Hello everyone, I would like to know the community ideas about what I'm going to do. Any ideas are welcome, let's chat about it. I'm starting a new project to update a old one, so I've a few classes already working and I will reuse them. In general I'll use Grails (and implicit Spring and