pre-site binding examples?

2013-05-28 Thread Russell Gold
Hi, I'm looking for an example of a plugin that runs in the pre-site phase. I used to generate web pages dynamically from data stored in xml, using java classes to format various xml files, and I'm looking for a way to do that in maven. I presume that I want something analogous to the way code

Re: maven 3 doesn't use reactor to find parent - revert to maven 2 behaviour

2013-05-28 Thread Stephen Connolly
On 28 May 2013 20:22, Baptiste MATHUS wrote: > 2013/5/28 Mike Wilson > > > > Is this what you are seeing? > > > > Sort of. But it seems you have assigned relativePath to a non- > > empty value, something I think is incorrect in this kind of > > setup. > > I believe my setup was described in enou

Re: maven 3 doesn't use reactor to find parent - revert to maven 2 behaviour

2013-05-28 Thread Baptiste MATHUS
2013/5/28 Mike Wilson > > Is this what you are seeing? > > Sort of. But it seems you have assigned relativePath to a non- > empty value, something I think is incorrect in this kind of > setup. > I believe my setup was described in enough detail in my > previous post. I used no relativePath elemen

Re: Assembly and moving dependencies (JNLP style project)

2013-05-28 Thread Stephen Connolly
I think the simplest thing to do is to write a plugin This gives you a multitude of advantages. You get to create the xml file yourself. You get to package everything out the way you want. Then create a ZIP of the whole lot and attach that to the reactor. The ZIP is what your build produc

re: Assembly and moving dependencies (JNLP style project)

2013-05-28 Thread Scott Klein
I am converting a JNLP style project (we are actually using a modified Getdown, but the basic concepts are the same) - so the project is a kind of hybrid, under normal circumstances it would be built as a jar, however, since it installs from a server it is currently being built as a war. The

Re: ArrayIndexOutOfBoundsException

2013-05-28 Thread Kristian Rosenvold
It would appear you have a broken XML processing instruction somewhere, the kind that looks like this; Kristian 2013/5/28 Jason Ferguson : > I am trying to troubleshoot a Hudson build that seems to be directly > related to Maven itself, or at least something in a POM file. All of our > other b

Re: How to generate source as webpage

2013-05-28 Thread Wayne Fay
> Which plugin I have to use if I want generate webpage which shows source of > java file... Go to the Maven home page: http://maven.apache.org/ On the left, click on Maven Plugins under Documentation. Scroll down to Reporting Plugins and read the descriptions to find the one you want. Hint: it

Re: How to generate source as webpage

2013-05-28 Thread Manfred Moser
http://maven.apache.org/plugins/maven-jxr-plugin/ > Which plugin I have to use if I want generate webpage which shows source > of > java file... > > See at > http://dddsample.sourceforge.net/xref/se/citerus/dddsample/domain/model/handling/HandlingEvent.html > there is a behaviour which I need. > >

Re: maven3 - getting error on mvn dependency:tree command

2013-05-28 Thread coolguy
Thank you, Baptiste MATHUS-2 ! It works fine with maven 3.0.5 -- View this message in context: http://maven.40175.n5.nabble.com/maven3-getting-error-on-mvn-dependency-tree-command-tp5756424p5757160.html Sent from the Maven - Users mailing list archive at Nabble.com. --

How to generate source as webpage

2013-05-28 Thread tomas.cejka
Which plugin I have to use if I want generate webpage which shows source of java file... See at http://dddsample.sourceforge.net/xref/se/citerus/dddsample/domain/model/handling/HandlingEvent.html there is a behaviour which I need. Thx -- View this message in context: http://maven.40175.n5.n

RE: maven 3 doesn't use reactor to find parent - revert to maven 2 behaviour

2013-05-28 Thread Mike Wilson
> Is this what you are seeing? Sort of. But it seems you have assigned relativePath to a non- empty value, something I think is incorrect in this kind of setup. I believe my setup was described in enough detail in my previous post. I used no relativePath elements. > The non-resolvable parent POM

Re: Maven Profile for distincts web.xml

2013-05-28 Thread Stephen Connolly
Sorry wrong link... you want http://bit.ly/18wuQUc On 28 May 2013 15:41, Stephen Connolly wrote: > http://bit.ly/18wuJIj > > > On 28 May 2013 15:33, Alberto Ivo wrote: > >> Any idea on JBoss 7 AS? >> >> >> Ivo >> >> >> On Tue, May 28, 2013 at 11:14 AM, Stephen Connolly < >> stephen.alan.conno..

Re: Maven Profile for distincts web.xml

2013-05-28 Thread Stephen Connolly
http://bit.ly/18wuJIj On 28 May 2013 15:33, Alberto Ivo wrote: > Any idea on JBoss 7 AS? > > > Ivo > > > On Tue, May 28, 2013 at 11:14 AM, Stephen Connolly < > stephen.alan.conno...@gmail.com> wrote: > > > jetty's is more fun... though you can hack it with one of the override > > methods > > >

Re: Maven Profile for distincts web.xml

2013-05-28 Thread Alberto Ivo
Any idea on JBoss 7 AS? Ivo On Tue, May 28, 2013 at 11:14 AM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > jetty's is more fun... though you can hack it with one of the override > methods > > > On 28 May 2013 15:05, Mark H. Wood wrote: > > > On Tue, May 28, 2013 at 02:49:26PM

Re: maven3 - getting error on mvn dependency:tree command

2013-05-28 Thread Baptiste MATHUS
Can you please try with maven 3.0.5 ? Thanks 2013/5/28 coolguy > "mvn -version" > Apache Maven 3.0 (r1004208; 2010-10-04 07:50:56-0400) > Java version: 1.6.0_16 > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/maven3-getting-error-on-mvn-dependency-tree-command-tp5

Re: maven3 - getting error on mvn dependency:tree command

2013-05-28 Thread coolguy
"mvn -version" Apache Maven 3.0 (r1004208; 2010-10-04 07:50:56-0400) Java version: 1.6.0_16 -- View this message in context: http://maven.40175.n5.nabble.com/maven3-getting-error-on-mvn-dependency-tree-command-tp5756424p5757150.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: Maven Profile for distincts web.xml

2013-05-28 Thread Stephen Connolly
jetty's is more fun... though you can hack it with one of the override methods On 28 May 2013 15:05, Mark H. Wood wrote: > On Tue, May 28, 2013 at 02:49:26PM +0100, Stephen Connolly wrote: > > On 28 May 2013 14:37, Mark H. Wood wrote: > > > > > On Mon, May 27, 2013 at 02:20:15PM -0300, Alberto

Re: Maven Profile for distincts web.xml

2013-05-28 Thread Mark H. Wood
On Tue, May 28, 2013 at 02:49:26PM +0100, Stephen Connolly wrote: > On 28 May 2013 14:37, Mark H. Wood wrote: > > > On Mon, May 27, 2013 at 02:20:15PM -0300, Alberto Ivo wrote: > > > The differences between the web.xml is > > > > > > > > > javax.faces.PROJECT_STAGE > > > *Development | Producti

Re: Maven Profile for distincts web.xml

2013-05-28 Thread Ron Wheeler
On 28/05/2013 9:46 AM, Alberto Ivo wrote: On Tue, May 28, 2013 at 10:37 AM, Mark H. Wood wrote: On Mon, May 27, 2013 at 02:20:15PM -0300, Alberto Ivo wrote: The differences between the web.xml is javax.faces.PROJECT_STAGE *Development | Production* Shouldn't that sort of information be

Re: Maven Profile for distincts web.xml

2013-05-28 Thread Stephen Connolly
On 28 May 2013 14:37, Mark H. Wood wrote: > On Mon, May 27, 2013 at 02:20:15PM -0300, Alberto Ivo wrote: > > The differences between the web.xml is > > > > > > javax.faces.PROJECT_STAGE > > *Development | Production* > > > > Shouldn't that sort of information be supplied by the container rathe

Re: Maven Profile for distincts web.xml

2013-05-28 Thread Alberto Ivo
On Tue, May 28, 2013 at 10:37 AM, Mark H. Wood wrote: > On Mon, May 27, 2013 at 02:20:15PM -0300, Alberto Ivo wrote: > > The differences between the web.xml is > > > > > > javax.faces.PROJECT_STAGE > > *Development | Production* > > > > Shouldn't that sort of information be supplied by the con

Re: Maven Profile for distincts web.xml

2013-05-28 Thread Mark H. Wood
On Mon, May 27, 2013 at 02:20:15PM -0300, Alberto Ivo wrote: > The differences between the web.xml is > > > javax.faces.PROJECT_STAGE > *Development | Production* > Shouldn't that sort of information be supplied by the container rather than baked into the app? -- Mark H. Wood, Lead System Pr

ArrayIndexOutOfBoundsException

2013-05-28 Thread Jason Ferguson
I am trying to troubleshoot a Hudson build that seems to be directly related to Maven itself, or at least something in a POM file. All of our other builds are fine. I have attempted to chase the bug through the source code via the stack traces, and about the best I could figure out was that _maybe