Re: Packaging JAX-WS service implementation and client API

2011-08-22 Thread Anders Hammar
You could even separate out the wsdl/xsd in its own artifact(s). That's what I normally recommend as it will then allow the client to use whatever ws service and xml binding technology they like. /Anders On Mon, Aug 22, 2011 at 06:50, Asplund Marko marko.aspl...@ixonos.com wrote: Anders Hammar

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Stephen Connolly
if the versions do not match, then the reactor does not have a constraint. when relative path is set, you get a warning of a version mismatch (or maybe an error, cannot remember exactly) it is perfectly legal to have a reactor with C depending on the previous release of B - Stephen --- Sent

Re: Multi-Module and differing artifactId

2011-08-22 Thread Stefan Seidel
On Thu, 18 Aug 2011 14:00:26 -0500 Wayne Fay wayne...@gmail.com wrote: I guess this has been asked before, but is there any way to gracefully handle situations in a multi-level modular project where the artifactId does not always correspond to the folder name of the module? Maven

ParseException in cobertura with some generics

2011-08-22 Thread IT/R2A
Hi, I am using the cobertura-maven-plugin (version 2.4) for code test coverage. The compile works. But I get an error when I try to generate the site. Error: [DEBUG] Calling NCSSExecuter with encoding : UTF-8 ParseException in classname.java Encountered at line 83, column 14. Was

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Laird Nelson
On Mon, Aug 22, 2011 at 2:45 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: if the versions do not match, then the reactor does not have a constraint. Should have mentioned I was talking about SNAPSHOTs; sorry. Does that change the picture? when relative path is set, you get a

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Stephen Connolly
On 22 August 2011 12:41, Laird Nelson ljnel...@gmail.com wrote: On Mon, Aug 22, 2011 at 2:45 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: if the versions do not match, then the reactor does not have a constraint. Should have mentioned I was talking about SNAPSHOTs; sorry.  

NPE with maven-site-plugin:3.0

2011-08-22 Thread Thomas Scheffler
Hi, after updating to version 3.0 of maven-site-plugin I get a NullPointerException that does not occur with 3.0-beta3. How can I figure out, what causes that? There is not clear error message so I guess it's a bug... Here is the last part of the log: [DEBUG] Multipage report: 0 subreports

Re: NPE with maven-site-plugin:3.0

2011-08-22 Thread Lukas Theussl
Please open an issue at http://jira.codehaus.org/browse/MSITE with a reproducible test case. Thanks, -Lukas On 08/22/2011 02:18 PM, Thomas Scheffler wrote: Hi, after updating to version 3.0 of maven-site-plugin I get a NullPointerException that does not occur with 3.0-beta3. How can I

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Laird Nelson
On Mon, Aug 22, 2011 at 7:48 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Should have mentioned I was talking about SNAPSHOTs; sorry. Does that change the picture? Nope. Just to be clear, then: You're saying that in a multimodule project, where my root pom.xmlaggregates

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Stephen Connolly
On 22 August 2011 14:37, Laird Nelson ljnel...@gmail.com wrote: On Mon, Aug 22, 2011 at 7:48 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Should have mentioned I was talking about SNAPSHOTs; sorry.  Does that change the picture? Nope. Just to be clear, then: You're

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Julien HENRY
According to my own tests, with Maven 3 the parent pom is resolved according to the following algorithm: IF relativePath != THEN   IF pom is found at relativePath location and GAV match   THEN use this pom as parent   ELSE log a warning and useRepo=true   ENDIF ELSE   useRepo=true ENDIF

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Benson Margulies
On Mon, Aug 22, 2011 at 10:46 AM, Julien HENRY henr...@yahoo.fr wrote: According to my own tests, with Maven 3 the parent pom is resolved according to the following algorithm: IF relativePath != THEN   IF pom is found at relativePath location and GAV match   THEN use this pom as parent  

[jar-plugin] properties not properly expanded in manifestEntries

2011-08-22 Thread Simone Tripodi
Hi all guys, in my pom I added the buildnumber-plugin and defined a set of properties which contain: properties ... maven.build.timestamp.format-MM-dd HH:mm:ssZ/maven.build.timestamp.format implementation.buildr${buildNumber}; ${maven.build.timestamp}/implementation.build

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Laird Nelson
On Mon, Aug 22, 2011 at 11:22 AM, Benson Margulies bimargul...@gmail.comwrote: I'm foggy on one point here. How can the pom in the reactor differ from the pom reached by relative path? Different property substitutions? Or is the issue here the case in which there is no rel path, but it is in

Re: ParseException in cobertura with some generics

2011-08-22 Thread Wayne Fay
Error: [DEBUG] Calling NCSSExecuter with encoding : UTF-8 ParseException in classname.java Encountered at line 83, column 14. Caused by: javancss.parser.ParseException: Encountered at line 774, column 14. Was expecting one of:        at

how generate additional artifacts from one project?

2011-08-22 Thread Sam Jiang
Hi all I'm trying to generate additional artifact flavours for a single project. I checkout the assembly plugin but I'm still not quite sure where to start. Some help is really appreciated. right now I have artifact-sources.jar and artifact-javavdoc.jar. I would like to generate one more

Re: how generate additional artifacts from one project?

2011-08-22 Thread Manos Batsis
On 08/23/2011 01:13 AM, Sam Jiang wrote: Hi all I'm trying to generate additional artifact flavours for a single project. I checkout the assembly plugin but I'm still not quite sure where to start. Some help is really appreciated. right now I have artifact-sources.jar and

Re: how generate additional artifacts from one project?

2011-08-22 Thread Jason van Zyl
You can use the build helper plugin[1] to attach arbitrary artifacts. So you can use any means to produce the artifact you want to attach, say the assembly plugin, and then use the attach-artifact goal[2] of the build helper plugin to have it be installed in your local repository and deployed

[ANN] nbm-maven-plugin 3.6, various Mojo Archetypes Released

2011-08-22 Thread Jesse Glick
The Mojo team is pleased to announce the release of the 3.6 version of the NBM Maven plugin, and new versions of a number of archetypes. nbm-maven-plugin http://mojo.codehaus.org/nbm-maven-plugin/ is used to create modules and applications based on the NetBeans Platform. Use

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Jeff Jensen
Yes, I've also found that I have to mvn install -N on the first build of a parent (when it does not exist in local or remote repo) otherwise the build fails. If that is what you are experiencing, then me too. I've never looked further, as it happens so infrequently. On Mon, Aug 22, 2011 at

EAR Creation

2011-08-22 Thread anamika gupta
Hi, I have to create the ear file of an application which consists a war file of the same application. Can you please tell me what entries to write in pom.xml so that it creates the war file of the module and then package the same war file into the ear file. Any help would be greatly

RE: EAR Creation

2011-08-22 Thread Yuvaraj Vanarase
Well, this seems to me little bit odd. Anyways, I believe you should have multi-module maven structure project. Where, one of the modules/parent has EAR packaging and depends on other modules (one of them then would have war packaging). For example, 1. You have a Parent POM which defines

Re: EAR Creation

2011-08-22 Thread Anders Hammar
Yes, you do this as a multi-module project. Anything else is simply wrong (= will cause you problems) in Maven land. /Anders On Tue, Aug 23, 2011 at 07:31, Yuvaraj Vanarase yuvaraj.vanar...@synechron.com wrote: Well, this seems to me little bit odd. Anyways, I believe you should have