Re: Question about -D

2005-06-09 Thread Jamie Bisotti
Right. Your tests are getting spun off in a new VM, so Maven must know what system properties it should pass along to the new VM. On 6/9/05, David Jackman <[EMAIL PROTECTED]> wrote: > You can allow your tests to see whatever properties you want by setting > the maven.junit.sysproperties property

Returning midway from a goal?

2005-06-09 Thread Surendra Singhi
Hello, Is there any maven function which can return midway from a goal(something like return in programming languages)? Thanks in advance. -- Surendra Singhi http://www.spikesource.com http://www.public.asu.edu/~sksinghi/ -

Re: Unable to get latest SNAPSHOT version from repository.

2005-06-09 Thread Brett Porter
Can you describe what you mean by "unable". What goes wrong? - Brett On 6/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > >I am using Maven 2.0. > >My problem is unable to get the latest SNAPSHOT version from our central > repository to local repository when I run m2 ant

Re: project.xml validation

2005-06-09 Thread Brett Porter
maven -Dgoal=pom:validate multiproject:goal On 6/10/05, Jan Bares <[EMAIL PROTECTED]> wrote: > If I have multiproject, how can I validate all included project.xml in one > turn? > > Jan > > > > > - > To unsubscribe, e-mail: [

RE: Question about -D

2005-06-09 Thread David Jackman
You can allow your tests to see whatever properties you want by setting the maven.junit.sysproperties property to the space-delimited list of property names. See http://maven.apache.org/reference/plugins/test/properties.html for more information. -Original Message- From: [EMAIL PROTECTE

Re: Maven XDOC Plugin 1.9 Released

2005-06-09 Thread Brett Porter
On 6/10/05, Jamie Bisotti <[EMAIL PROTECTED]> wrote: > Two questions: > 1. When will this show up on Ibiblio? in 2-6 hours. Seems I accidentally published it as a JAR instead of a plugin... > 2. When will the site be updated? It is still showing 1.8 docs. This seems up to date to me. Sorry for

Re: jar:deploy fails if project.xml is not in the current directory

2005-06-09 Thread Brett Porter
Ok, I have a better understanding now that I've seen your properties. Seems this is a bug introduced in the latest version. I will work on a fix immediately. I will verify the other bug you originally reported doesn't exist either. You can also rollback using plugin:download -Dversion=1.4.1 with

Question about -D

2005-06-09 Thread jjrobert
Is the -D option only for sending system properties to Maven itself, or can I set properties that my testcases can see when I run them via "maven test" ? In the Eclipse IDE, I can add "-Dmyproperty=foo" to the "VM Arguments" and my testcase can call System.getProperty() to get the value. I was tr

Unable to get latest SNAPSHOT version from repository.

2005-06-09 Thread Kakarla_Pratapam
Hi, I am using Maven 2.0. My problem is unable to get the latest SNAPSHOT version from our central repository to local repository when I run m2 ant:ant in my local machine. Any thoughts. Thanks, Pratapam. - To unsubscr

Help with wsdl2jave and automatic unit testing with maven

2005-06-09 Thread Mick Knutson
I have been running the maven axis:wsdl2java and it generates code into the /target/axis DIR. It also creates tests in /target/axis/test DIR. I have 2 questions: 1. Should I be putting these files into my /src instead? If so, how do I configure axis to put them their? 2. If I keep the files i

Re: Maven XDOC Plugin 1.9 Released

2005-06-09 Thread Arik Kfir
An XDoc editor for the Mevenide IDEA plugin is slated to be released in the coming 0.2 release. Stay tuned :) See http://mevenide.codehaus.org/mevenide-idea/ for details. Brett Porter wrote: Not that I'm aware of - I use the XML support in IDEA. I'm hopeful that the next release will be based

Maven - Resume Mode

2005-06-09 Thread Drzymala, Peter
Is it possible to use the reactor to have maven pick up from the last point of failure ? I have a rather length build (multiple projects), and would like to have feature when running the goal again will resume from the point of last failure. Of course, a feature that would override this wou

Re: jar:deploy fails if project.xml is not in the current directory

2005-06-09 Thread Jean-Luc Wasmer
Jean-Luc Wasmer wrote: Brett, Please ignore my last e-mail: I finally found how to upgrade plugins (thanks to the pdf file). looks like it didn't make it to the mailing list's server Anyways, I figured out how to upgrade the plugins and did so for all of them (as described in http://ma

RE: [Mavenbook.org] What content would you like to see?

2005-06-09 Thread Vincent Massol
Hi Darren, > -Original Message- > From: Darren Hartford [mailto:[EMAIL PROTECTED] > Sent: mercredi 8 juin 2005 22:22 > To: Maven Users List > Subject: RE: [Mavenbook.org] What content would you like to see? > > Maybe some good 'how to use Maven to enable common development > practices' se

Re: project.xml validation

2005-06-09 Thread Jan Bares
Thanks, this is what I was looking for. I hope that in near future I can read about all those nice features in Maven book. Jan "Brett Porter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] maven pom:validate, though it validates against an XSD that is much stricter than required (and

Re: project.xml validation

2005-06-09 Thread Jan Bares
If I have multiproject, how can I validate all included project.xml in one turn? Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Maven XDOC Plugin 1.9 Released

2005-06-09 Thread Jamie Bisotti
Two questions: 1. When will this show up on Ibiblio? 2. When will the site be updated? It is still showing 1.8 docs. Thanks. On 6/9/05, Brett Porter <[EMAIL PROTECTED]> wrote: > The Maven team is pleased to announce the Maven XDoc Plug-in 1.9 release! > > http://maven.apache.org/reference/plugi

Re: jar:deploy fails if project.xml is not in the current directory

2005-06-09 Thread Jean-Luc Wasmer
Brett, Please ignore my last e-mail: I finally found how to upgrade plugins (thanks to the pdf file). I'll let you know if I still have a problem with my script. JL - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [m2] Using xdoclet to generate EJB artefacts

2005-06-09 Thread Kenney Westerhof
On Thu, 9 Jun 2005, Nathan Sowatskey wrote: I'll publish within a week (probably the day after tomorrow). I've got to say, i've cheated a bit on this to keep it dynamic: it's really just an ant executor; you can paste ant tasks in the pom and it will run them. This seemed like the easiest way to

Re: [m2] Using xdoclet to generate EJB artefacts

2005-06-09 Thread Kenney Westerhof
On Thu, 9 Jun 2005, Nicolas Chalumeau wrote: > 2005/6/9, Kenney Westerhof <[EMAIL PROTECTED]>: > > On Thu, 9 Jun 2005, Nathan Sowatskey wrote: > > > > Hi there, > > > > I'm currently working on an xdoclet plugin for m2. > > It's an unofficial plugin, and I plan to donate it to either maven > > or

Re: [m2] Using xdoclet to generate EJB artefacts

2005-06-09 Thread Nathan Sowatskey
Many thanks for the update. Is it worth asking for a eta? Regards Nathan Kenney Westerhof wrote: On Thu, 9 Jun 2005, Nathan Sowatskey wrote: Hi there, I'm currently working on an xdoclet plugin for m2. It's an unofficial plugin, and I plan to donate it to either maven or the xdoclet team. A

Re: [m2] Using xdoclet to generate EJB artefacts

2005-06-09 Thread Nicolas Chalumeau
2005/6/9, Kenney Westerhof <[EMAIL PROTECTED]>: > On Thu, 9 Jun 2005, Nathan Sowatskey wrote: > > Hi there, > > I'm currently working on an xdoclet plugin for m2. > It's an unofficial plugin, and I plan to donate it to either maven > or the xdoclet team. As soon as it's alpha ready I'll announce

Re: [m2] Using xdoclet to generate EJB artefacts

2005-06-09 Thread Kenney Westerhof
On Thu, 9 Jun 2005, Nathan Sowatskey wrote: Hi there, I'm currently working on an xdoclet plugin for m2. It's an unofficial plugin, and I plan to donate it to either maven or the xdoclet team. As soon as it's alpha ready I'll announce it here. Btw, the xdoclet plugins in ibibilio/maven2 are just

Unable to get latest artifacts from our main repository to our lo cal repository

2005-06-09 Thread Kakarla_Pratapam
Hi, We are using Maven 2.0 and we created a repository (Main repository) in one of our linux box . The problem is when we work in our local machine (windows box) Maven is unable to get latest artifacts from our main repository and put it local repository. We noticed one thing when we run instal

RE: [Mavenbook.org] What content would you like to see?

2005-06-09 Thread Vincent Massol
Hi Graham, > -Original Message- > From: Graham King [mailto:[EMAIL PROTECTED] > Sent: jeudi 9 juin 2005 11:11 > To: Maven Users List > Subject: Re: [Mavenbook.org] What content would you like to see? [snip] > I don't know if the book will already include this, but I'd love to > see mor

Re: FW: findbugs plugin runs JUnit tests, but findbugs does not

2005-06-09 Thread Jeff Jensen
1. Doh. Thanks for the kick...just did that. Doesn't seem to be much activity there...but hopeful. :-) 2. Doh again. Am now. Out of memory does not occur now on the JUnit run. Thanks again. -Original Message- From: Jamie Bisotti [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08,

Re: maven with ejb3

2005-06-09 Thread Nathan Sowatskey
Bryan Looks like we are in the same position roughly. I am trying to use Maven 2 with J2EE2.1/1.4 EJBs (see some recent posts) and I have come up against the lack of Xdoclet support, and that the EJB plugin that does exist doesn't seem to be usable. It seems that, if you want to pursue this

maven with ejb3

2005-06-09 Thread bryan ( [EMAIL PROTECTED])
hi all, I've been googling but haven't come up with anything much. Is anyone using maven with jboss and ejb3. Also which is better to use for the start of such a new project, maven 1 or 2 ? Thanks Bry

Re: [m2] Using xdoclet to generate EJB artefacts

2005-06-09 Thread Nathan Sowatskey
Hi Thanks for the information. If I am to understand the situation correctly, it seems that we can't use Xdoclet with M2, which really means that we can't do EJBs in any meaningful way with M2 yet. Is that a correct assessment? I *think* that I should be able to invoke a M1.x plugin in some

Re: project.xml validation

2005-06-09 Thread Brett Porter
maven pom:validate, though it validates against an XSD that is much stricter than required (and actually had an error in it last release). - Brett On 6/9/05, Jan Bares <[EMAIL PROTECTED]> wrote: > Hi, > > does maven validate the project.xml? If I made a typo in this file, maven > issues no warni

merging maven errors' in CruiseControl

2005-06-09 Thread Chedly GUERFALI
Hello all, I would like to know if there is a way for merging the real maven "buid failed" messages throw CruiseControl. It always reports Build Successful even if the build has failed Thank you in advance. Chedly

Re: [m2] Using xdoclet to generate EJB artefacts

2005-06-09 Thread Nicolas Chalumeau
There is not actually any xdoclet plugin for M2. 2005/6/9, Nathan Sowatskey (nsowatsk) <[EMAIL PROTECTED]>: > Hi all > > Plodding progress. Now that I get the code compiled (see passim), I need to > use xdoclet to generate my interfaces and deployment descriptors. > > A similar subject on the li

[m2] Using xdoclet to generate EJB artefacts

2005-06-09 Thread Nathan Sowatskey \(nsowatsk\)
Hi all Plodding progress. Now that I get the code compiled (see passim), I need to use xdoclet to generate my interfaces and deployment descriptors. A similar subject on the list referred to: http://maven.apache.org/maven2/plugins/maven-ejb-plugin/ejb-mojo.html But there seems to be a checksum

[m2] FYI - CHECKSUM MISMATCH for maven-ejb-plugin-1.5/4/3/2.jar

2005-06-09 Thread Nathan Sowatskey \(nsowatsk\)
{remoteRepositories: [[central] -> http://repo1.maven.org/maven2]} Downloading: http://repo1.maven.org/maven2/maven/maven-ejb-plugin/1.5/maven-ejb- plugin-1.5.jar 9K downloaded Downloading: http://repo1.maven.org/maven2/maven/maven-ejb-plugin/1.5/maven-ejb- plugin-1.5.jar.md5 0K downloaded [WARNING

Canoo webtest problem

2005-06-09 Thread Akins, Greg
When I try to run Canoo webtest (Plugin 1.0, Maven 1.0.2) I get the following error webtest:generate-test-report: [java] [java] (Location of error unknown)XSLT Error (javax.xml.transform.TransformerException): java.io.FileNotFoundException: d:\gakins\ehold\target\webtest\webtest-raw-repor

Re: Default tag in parameter for marmalade plugin not working

2005-06-09 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 just as a test, can you try ${salutation} instead? I'm doing some research into what expression language is enabled by default, but currently I'm not sure. also, if you want to use OGNL syntax specifically regardless of the default, you can specify thi

project.xml validation

2005-06-09 Thread Jan Bares
Hi, does maven validate the project.xml? If I made a typo in this file, maven issues no warning. How can i force maven to validate the XML? Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

RE: M2 EJB basics

2005-06-09 Thread Nathan Sowatskey \(nsowatsk\)
Many thanks for the pointers. This is what worked: geronimo-spec geronimo-spec-j2ee 1.4-rc4 I was not sure what to do with the point about using a reference implementation from Sun. What changes would I make to my pom.xml for that? Regards Nathan -Original Messag

[m2] Build failures

2005-06-09 Thread Rahul
Hi, I am getting following error repeatedly when the "m2-bootstrap-all.bat" script runs integration tests with latest SVN revision 189735. Thanks, Rahul --- Exception in thread "main" java.lang.NoSuchMethodError: org.apache.maven.model.PatternS

Re: M2 EJB basics

2005-06-09 Thread Brett Porter
On 6/9/05, Nathan Sowatskey (nsowatsk) <[EMAIL PROTECTED]> wrote: > 1 - I would normally (I think) wanted to have been able to refer to the file > called jboss-j2ee.jar in the $JBOSS_HOME/server/all/lib dir. Of course I can > copy and rename as I have below, but that doesn't seem right. What do oth

RE: M2 EJB basics

2005-06-09 Thread Nathan Sowatskey \(nsowatsk\)
Thanks :-) I have shown below what worked for me. A few questions though: 1 - I would normally (I think) wanted to have been able to refer to the file called jboss-j2ee.jar in the $JBOSS_HOME/server/all/lib dir. Of course I can copy and rename as I have below, but that doesn't seem right. What do

Re: M2 EJB basics

2005-06-09 Thread Nicolas Chalumeau
Hi Nathan 2005/6/9, Nathan Sowatskey (nsowatsk) <[EMAIL PROTECTED]>: > Hi > > It may be that I too much of a newbie to Maven to be considering M2, but I > am trying anyway :-) > > In the example below I have some EJB code that won't compile as it can't > find the EJB jars. > > What I can't see

M2 EJB basics

2005-06-09 Thread Nathan Sowatskey \(nsowatsk\)
Hi It may be that I too much of a newbie to Maven to be considering M2, but I am trying anyway :-) In the example below I have some EJB code that won't compile as it can't find the EJB jars. What I can't see is how to set the location of the EJB jars though. If this were Maven 1.x I would use pr

Re: [Mavenbook.org] What content would you like to see?

2005-06-09 Thread Graham King
Vincent Massol wrote: Hi there, Tim O'Brien and I have started a web site called http://www.mavenbook.org. I don't know if the book will already include this, but I'd love to see more Enterprise (big E!) maven tips / recipes / best practices. For example how do you setup your project whe