Re: How to release a single module in a Mercurial repository?

2011-03-18 Thread Olivier Lamy
Hey, First sorry for late response !! @Mark : yup the missing trailing / at the end is an issue (fun issue with hg cli). Added it and it works ! (see changes here [1] ) The main difference with Andreas is I use a remote repo whereas the log here says :

Inter-module dependencies on additional assemblies during a Maven release:prepare

2011-03-18 Thread Thomas Woelfle
Hi all, we have a multi module project with following modules: - Database - Persistence - Business - Application The 'Database' project is a jar project that creates an additional assembly using the 'maven-assembly-plugin'. This additional assembly contains the database schema. The

Re: Error during compiling xsd's using maven xjc

2011-03-18 Thread arvindv6
Hi Wayne The xml tags are not shown clearly in the input text area thus i am attaching a file containing the issue and my approach. Please suggest some solution Thank you Arvind V http://maven.40175.n5.nabble.com/file/n3951045/MavenJAXBIssue.rtf MavenJAXBIssue.rtf -- View this message in

Re: Inter-module dependencies on additional assemblies during a Maven release:prepare

2011-03-18 Thread Anders Hammar
You're most likely using Maven 2.x, which doesn't correctly handle dependencies within a multi-module build unless the artifacts are deployed to the repo. The default goal for release:prepare is verify and thus the issue. Either upgrade to Maven 3 (I recommend!) or reconfigure the goal to be

Re: Error during compiling xsd's using maven xjc

2011-03-18 Thread Jörg Schaible
arvindv6 wrote: Hi Wayne The xml tags are not shown clearly in the input text area thus i am attaching a file containing the issue and my approach. Please suggest some solution Maybe you can use a mailer that can send plain text instead, because attachments do not make it to the list

Re: ZIP and UNZIP the code source in another project

2011-03-18 Thread Nguyen Tien Luong
Great thanks, I do use assembly-plugin and dependency-plugin in my situation :x For someone want to know more: - [ Create ZIP file (don't really necessary): http://stackoverflow.com/questions/2514429/creating-a-zip-archive-of-the-maven-target-directory ] - Unpack :

JMeter in Maven

2011-03-18 Thread Asmann, Roland
Hi all, I've been looking through Google to find a plugin to run JMeter from Maven. It seems there are two main plugins, one of which seems to have several branches. Has anybody worked with any of them? If so, could you tell me which one is the best to use? And is any of them available in a

Re: JMeter in Maven

2011-03-18 Thread Jeff MAURY
On Fri, Mar 18, 2011 at 12:03 PM, Asmann, Roland roland.asm...@adesso.atwrote: Hi all, I've been looking through Google to find a plugin to run JMeter from Maven. It seems there are two main plugins, one of which seems to have several branches. Has anybody worked with any of them? If so,

Re: JMeter in Maven

2011-03-18 Thread Asmann, Roland
On 18.03.2011 13:23, Jeff MAURY wrote: On Fri, Mar 18, 2011 at 12:03 PM, Asmann, Roland roland.asm...@adesso.at mailto:roland.asm...@adesso.at wrote: Hi all, I've been looking through Google to find a plugin to run JMeter from Maven. It seems there are two main plugins, one of

Re: JMeter in Maven

2011-03-18 Thread Siegfried Goeschl
Hi Roland, you can always fall back to use the JMeter Ant integration Cheers, Siegfried Goeschl On 18.03.11 13:38, Asmann, Roland wrote: On 18.03.2011 13:23, Jeff MAURY wrote: On Fri, Mar 18, 2011 at 12:03 PM, Asmann, Roland roland.asm...@adesso.atmailto:roland.asm...@adesso.at wrote:

Re: JMeter in Maven

2011-03-18 Thread Asmann, Roland
Hi Siegfried, True, but if you're already on Maven, why would you want to go back to Ant? Roland On 18.03.2011 13:56, Siegfried Goeschl wrote: Hi Roland, you can always fall back to use the JMeter Ant integration Cheers, Siegfried Goeschl On 18.03.11 13:38, Asmann, Roland wrote: On

Re: JMeter in Maven

2011-03-18 Thread Marc Rohlfs
Not too nice but at least something You could start with: http://wiki.apache.org/jakarta-jmeter/JMeterMavenPlugin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail:

Re: ZIP and UNZIP the code source in another project

2011-03-18 Thread Wendy Smoak
On Thu, Mar 17, 2011 at 10:08 AM, Nguyen Tien Luong tienluon...@yahoo.com wrote:    Hi maven's users, Maybe the title is not understandable enough, here is my example: I have PROJECT-A which contains only JSP files. For each PROJECT-B which depends on PROJECT-A, I want that maven go and get

RE: Error during compiling xsd's using maven xjc

2011-03-18 Thread Martin Gainty
$MAVEN_PLUGIN\xjc-maven-plugin\xjc-maven-pluginmvn -e -X generate-sources Apache Maven 3.0.2 (r1056850; 2011-01-08 19:58:10-0500) Java version: 1.6.0_23, vendor: Sun Microsystems Inc. Java home: C:\Java\jdk1.6.0_23\jre Default locale: en_US, platform encoding: Cp1252 OS name: windows xp,

Test phase for a command line tool

2011-03-18 Thread Rick Genter
Caveat: I am new to Maven. I've read the online documentation but haven't found a good source of sample POMs other than for very basic configurations. I have a POM that builds a command-line tool. I figured out how to use the assembly plugin to build a self-contained jar, but now I need to be

Script/plugin to play sound when maven build finishes?

2011-03-18 Thread John Lussmyer
I'm using Maven on a Fedora system, and it would be REALLY helpful if Maven would play a sound when a build finished. Anyone have any easy way to do that? (and I am NOT a shell script expert, so please don't say just write a script. If you must say that, please provide the script.) This

Re: Script/plugin to play sound when maven build finishes?

2011-03-18 Thread Wayne Fay
Sounds like something I would do using my continuous integration server. Look into Hudson/Jenkins and there's probably a plugin to do this kind of thing for you. Wayne On Fri, Mar 18, 2011 at 10:22 AM, John Lussmyer john.lussm...@amdocs.com wrote: I'm using Maven on a Fedora system, and it

RE: Script/plugin to play sound when maven build finishes?

2011-03-18 Thread John Lussmyer
??? How would a build running on a Server play a sound on my machine when I do a build on my machine? I need this for builds I run on my machine BEFORE I check them in. -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Friday, March 18, 2011 9:38 AM To: Maven Users

RE: Script/plugin to play sound when maven build finishes?

2011-03-18 Thread Nord, James
You can run the CI server on your local sources on your local desktop - no need to install it on any server. Alternativley mvn foo:bar playSound you just need to find a command line tool that can play a sound. /James -Original Message- From: John Lussmyer

Re: Script/plugin to play sound when maven build finishes?

2011-03-18 Thread Henrique Prange
Hi John, The following tutorial shows how to integrate Maven + Growl (Mac OS X program). I think you can adapt it to your needs. http://blank.jasonwhaley.com/2009/02/growl-maven-integration.html Cheers, Henrique On 18/03/2011, at 13:47, John Lussmyer wrote: ??? How would a build running on

Re: Script/plugin to play sound when maven build finishes?

2011-03-18 Thread Wayne Fay
Others have already replied to your response so I won't waste bytes on it. I think its also reasonable to say if your builds are taking this long that you need to be notified with a sound, you're probably doing something wrong. Break the build up into smaller modules, and only work on small

RE: Script/plugin to play sound when maven build finishes?

2011-03-18 Thread John Lussmyer
Actually, it has nothing much to do with them taking a long time. (though some do) I have to work on several different machines - using a KVM. So the one running the build is often NOT visible. It would be nice to have a sound played when it finishes so I can switch back to that machine to do

maven-plugin-api 3.0, where to find complete example?

2011-03-18 Thread Yegor Bugayenko
I'm trying to create a maven plugin using maven-plugin-api 3.0. The problem is that I can't find any open-source project which would use this API, and would include unit/integration tests. I already asked this question at SO ( http://stackoverflow.com/questions/5350247) with no luck so far.

RE: JMeter in Maven

2011-03-18 Thread Duncan McNaught
Dear Asmann, I have been using https://github.com/ascheman/jmeter-maven-plugin which has January 7th updates for jmeter 2.4 I used it before successfully for 2.3 also. I had to add some dependencies to the main pom, correct a path from 2.3 to 2.4 in a source file, create a jmeter-2.4.jar, and

Re: Script/plugin to play sound when maven build finishes?

2011-03-18 Thread Wayne Fay
Many of us work for LARGE companies. Refactoring your build is an important process. Feel free to continue being antagonistic but realize it will eventually hurt you as people tire of being attacked and thus just don't reply to your emails. Wayne On Fri, Mar 18, 2011 at 12:47 PM, John Lussmyer

Nexus managing a Maven Repository on a NFS filesystem

2011-03-18 Thread crossdelena12
Hello, I am using Nexus 1.4.0 (its an old version) hosted on a RHAS4 system. Does this version of Nexus support NFS based file system for hosting the repositories? I am not sure whether Nexus should care for the underlying file system the repositories are hosted on but may not be the case. Any

Re: Nexus managing a Maven Repository on a NFS filesystem

2011-03-18 Thread Tamás Cservenák
Take a peek here: https://docs.sonatype.com/display/SPRTNXOSS/Nexus+Workspace+Directories+Analysis In general, while Nexus itself does not care for underlying FS, Lucene does -- and it's used in several places within nexus. Thanks, ~t~ On Fri, Mar 18, 2011 at 7:26 PM, crossdelena12

Re: Nexus managing a Maven Repository on a NFS filesystem

2011-03-18 Thread Tamás Cservenák
Oh, and I just realized this is the wrong list. Please use Nexus Users Lists for Nexus questions: http://nexus.sonatype.org/project-information.html Thanks, ~t~ 2011/3/18 Tamás Cservenák ta...@cservenak.net: Take a peek here:

Re: maven-plugin-api 3.0, where to find complete example?

2011-03-18 Thread Anders Hammar
Any specific issues you're running into? There are at least two plugins aimed at Maven 3.0 which should be using this api that I know of, maven-site-plugin:3.0-beta-3 and at least one of the sonar maven plugins (there is one at org.codehaus.mojo and one at org.codehaus.sonar). /Anders On Fri,

Re: Script/plugin to play sound when maven build finishes?

2011-03-18 Thread Anders Hammar
Maven Shell has integrated Growl support (only for MacOS I think). I have limited knowledge of Growl, but I *think* you can get it to play a sound. /Anders On Fri, Mar 18, 2011 at 17:55, Henrique Prange hpra...@gmail.com wrote: Hi John, The following tutorial shows how to integrate Maven +

Re: maven-plugin-api 3.0, where to find complete example?

2011-03-18 Thread Yegor Bugayenko
The problem is that I can't get parameters injected during testing. Here is my pom.xml [1], this is the test [2]. The test fails at this assertion [3]. Any ideas? I think that plexus is not working as it should. I can't understand why, that's why I'm interested to see an example. 1.

Re: Nexus managing a Maven Repository on a NFS filesystem

2011-03-18 Thread crossdelena12
Thanks for the information. I am sorry didnt realize that it was Maven users list and not Nexus. -- View this message in context: http://maven.40175.n5.nabble.com/Nexus-managing-a-Maven-Repository-on-a-NFS-filesystem-tp3976391p3982850.html Sent from the Maven - Users mailing list archive at

Re: How to release a single module in a Mercurial repository?

2011-03-18 Thread Olivier Lamy
So I have reproduce with a local repo. This should be fixed now @Andreas : could you please test (scm snapshots has been deployed) ? Thanks /Olivier 2011/3/18 Olivier Lamy ol...@apache.org: Hey, First sorry for late response !! @Mark : yup the missing trailing / at the end is an issue (fun