Re: Automate build and test process in maven

2010-05-10 Thread Ben Caradoc-Davies
Have you considered running your application test as a unit test? Then you can use the existing maven test infrastructure, conventions, and tools. If your application is managed using a dependency-injection-based framework such as spring, and your test tool can be used programmatically, you ca

Advice: How do you setup your Maven project for Continuous Integration?

2010-05-10 Thread Barrie Treloar
I'm struggling to work out the best way to get my maven projects and continuous integration to play nicely together. Here's some background: Our build takes approximately 8 minutes to complete. To help keep the build time down the developers build doesn't do things like: * create source jars * cr

Automate build and test process in maven

2010-05-10 Thread AnshuGupta
We are using Maven as the build automation tool. The build process generates a jar file. The requirement here is to start execution of the java application which will be generated by the build - Wait for a few seconds to let the application start completely and then move onto the test phase, whic

Re: Sign existing artifacts in repository

2010-05-10 Thread Brett Porter
You can loop over them using shell and gpg. You can use an agent to store the password so it doesn't need to be typed in every time, or have it read from an argument. On 11/05/2010, at 10:51 AM, Mark Diggory wrote: > Hi, > > we have an existing repository which I want to batch sign all the > a

Sign existing artifacts in repository

2010-05-10 Thread Mark Diggory
Hi, we have an existing repository which I want to batch sign all the artifacts within. I do have file system access. Is there any tool available that will go though our existing repository and allow me to sign the artifacts (all of which have been created by me in the past)? thanks, Mark -

Preserving attributes on resources

2010-05-10 Thread Tim
I have a sh file in src/main/resources that is 755 but its copied to target/classes with different permissions. I know that assembly plugin can set new fileModes but is there a way to do this using the resource plugin? Thanks :)

RE: Missing archetype.xml in new archetype created from project

2010-05-10 Thread Shelli Orton
Well, to partially answer one of my questions, it appears I need to fix all my xml config files where the create archetype process changed all references to "" to "" :( -Original Message- From: Shelli Orton Sent: Monday, May 10, 2010 3:06 PM To: Maven Users List Subject: RE: Missing ar

Re: Freaking out: javac works, maven-compiler-plugin does not

2010-05-10 Thread Matthew Adams
...and it's filed: https://issues.apache.org/jira/browse/OPENJPA-1659 -matthew -- View this message in context: http://maven-users.828.n2.nabble.com/Freaking-out-javac-works-maven-compiler-plugin-does-not-tp5016302p5033026.html Sent from the maven users mailing list archive at Nabble.com.

RE: Missing archetype.xml in new archetype created from project

2010-05-10 Thread Shelli Orton
Thanks for the link. Unfortunately it didn't help with my understanding of how to create an archetype or the structure of one. I'm using Maven 2.2.1. I set up a skeleton project (MyProject) that I want to use to create the archetype (minimal classes, mainly config files and the pom.xml set u

Re: Freaking out: javac works, maven-compiler-plugin does not

2010-05-10 Thread Matthew Adams
I tracked down the problem. I have the OpenJPA 2.0.0 jar in my classpath during compilation, which registers an annotation processor automatically via META-INF/services/javax.annotation.processing.Processor. When I remove that file from META-INF/services, everything compiles ok. I'll have to fi

Re: eXist native XML database

2010-05-10 Thread Dimitris Kapanidis
2010/5/9 Wayne Fay > > I'm working on maven project and I need to use embedded eXist database. > > Unfortunatelly, there is only 5 years old version in repo1.maven.org. > > You need to get the eXist people to do the uploads for newer versions > of their files. If enough eXist users and developers

Re: feature request: more verbose error messages

2010-05-10 Thread Wayne Fay
> The list is not a bad place to discuss ideas before you post them, to see if > someone can provide a counter argument before it becomes a permanent record > in the JIRA as long as you are aware that it does not formally count as > anything more than idle talk until it is in the JIRA. Agreed. But

Re: Maven filter and hsqldb mem hibernate.hbm2ddl.auto

2010-05-10 Thread Stephane Eybert
I just realized that I had attached the module pom.xml file instead of the parent one, so you could not really see the setup I have.. Here is the parent pom.xml file: http://old.nabble.com/file/p28512487/pom.xml pom.xml -- View this message in context: http://old.nabble.com/Maven-filter-and-hs

Re: feature request: more verbose error messages

2010-05-10 Thread Ron Wheeler
On 10/05/2010 10:59 AM, Wayne Fay wrote: quite literally talking to a brick wall. Really, Wayne? Literally? Where is the wall? -K, who thinks Wayne meant "figuratively". But what you don't realize is that I have a special computer with text to speech software set up in my basemen

Re: feature request: more verbose error messages

2010-05-10 Thread Kathryn Huxtable
Indeed. I think you made your point. I just couldn't help myself. And to Neil, I read xkcd regularly. Sometimes it leaves me bewildered, sometimes it just doesn't work for me, and sometimes it's hilarious or insightful. -K On May 10, 2010, at 9:59 AM, Wayne Fay wrote: >>> quite literally talk

Re: feature request: more verbose error messages

2010-05-10 Thread Wayne Fay
>> quite literally talking to a brick wall. > > Really, Wayne? Literally? Where is the wall? > > -K, who thinks Wayne meant "figuratively". But what you don't realize is that I have a special computer with text to speech software set up in my basement that reads all my email to me. And when I'm no

RE: feature request: more verbose error messages

2010-05-10 Thread Crow, Neil NW
Literally - http://xkcd.com/725/ -Original Message- From: Kathryn Huxtable [mailto:kath...@kathrynhuxtable.org] Sent: 10 May 2010 15:15 PM To: Maven Users List Subject: Re: feature request: more verbose error messages > If you want this to ever be seen by someone who might possible > i

Re: feature request: more verbose error messages

2010-05-10 Thread Kathryn Huxtable
> If you want this to ever be seen by someone who might possible > implement your suggestion, you must file it in Jira. Otherwise you are > quite literally talking to a brick wall. Really, Wayne? Literally? Where is the wall? -K, who thinks Wayne meant "figuratively". ---

Re: Error installing artifact's metadata

2010-05-10 Thread nandysiyer
I'm facing the same error too . Could anyone assist here by shedding light on this ? What is the solution to the problem ? Thanks Nanditha -- View this message in context: http://maven-users.828.n2.nabble.com/Re-Error-installing-artifact-s-metadata-tp529914p5029851.html Sent from the maven

Re: feature request: more verbose error messages

2010-05-10 Thread Wayne Fay
> Feature request: > when it fails, output more information than normal.  In this case it > was that that particular class didn't exist--but you can't tell that > from the error output. This is not a good place to put feature requests -- they are simply lost in the general noise of the list. If y

Re: Problems with mvn protocol handler in maven 3 beta 1

2010-05-10 Thread Bengt Rodehav
Marshall, I tried the explicit for the plugin already. No difference. Using the "-X" option was a good idea since you get a lot of information there. I can't see exactly what the plugin classpath looks like though. How do I determine that from the "-X" output? I do get the following: [DEBUG] Cr

Re: Problems with mvn protocol handler in maven 3 beta 1

2010-05-10 Thread Bengt Rodehav
No I haven't but it's a good idea - I will do that. Thanks, /Bengt 2010/5/9 Justin Edelson : > Have you posted this to a pax mailing list? > > On May 9, 2010, at 5:42 AM, Bengt Rodehav wrote: > >> Thanks for you reply Marshal, >> >> I've tried to add the artifacts pax-url-mvn and pax-url-common

RE: Maven filter and hsqldb mem hibernate.hbm2ddl.auto

2010-05-10 Thread Johann Reyes
Hello Stephane Do you want to do something like this?? https://svn.codehaus.org/mojo/trunk/sandbox/hibernate3-maven-plugin/src/it/m hibernate-65 Johann Reyes -Original Message- From: Stephane Eybert [mailto:mittiprove...@yahoo.se] Sent: Sunday, May 09, 2010 4:06 PM To: users@maven.apac