Re: Nexus help

2011-08-22 Thread Anders Hammar
There is a Nexus users list (see [1]). Please repost there! /Anders [1] http://nexus.sonatype.org/project-information.html On Tue, Aug 23, 2011 at 08:28, Hoyt, David wrote: > I'm trying to setup a micro repository (yes, I know they're frowned upon) > that I can proxy with sonatype nexus v1.9.2

Nexus help

2011-08-22 Thread Hoyt, David
I'm trying to setup a micro repository (yes, I know they're frowned upon) that I can proxy with sonatype nexus v1.9.2.2. I can proxy other repos. just fine, but for some reason with mine, I get the following error: jvm 1| 2011-08-22 23:05:20 WARN [oxy-2-thread-75] - org.sonatype.nexus.prox

Re: how generate additional artifacts from one project?

2011-08-22 Thread Anders Hammar
May I also add that try to stuff everything into one Maven project very often isn't the best solution. Why not split the shared resources into a separate module? Regarding the m-assembly-plugin, it's my understanding that it will attach the produced artifact by default ([1] and [2]). No need to use

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 wrote: > Well, this seems to me little bit odd. > Anyways, I believe you should have multi-module maven structure project.

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 modu

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 appreci

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 10

[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 is used to create modules and applications based on the NetBeans Platform. Use org.codehaus.mojo

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 to

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 artifact-javavdoc.jar.

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 somethi

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 > javancss.pars

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 wrote: > 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 the reactor? > (I

[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: ... -MM-dd HH:mm:ssZ r${buildNumber}; ${maven.build.timestamp} ... Problem is that when filtering any textual resource, ${implementation.build} is correctly expanded, i.e

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 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 >   ELSE

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 M

Re: Reactor doesn't build parent poms first?

2011-08-22 Thread Stephen Connolly
On 22 August 2011 14:37, Laird Nelson 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 s

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.xmlaggr

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 figur

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: Reactor doesn't build parent poms first?

2011-08-22 Thread Stephen Connolly
On 22 August 2011 12:41, Laird Nelson 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.  Does that

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

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: Multi-Module and differing artifactId

2011-08-22 Thread Stefan Seidel
On Thu, 18 Aug 2011 14:00:26 -0500 Wayne Fay 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 operates under