Re: Maven v3.0.3, PDF plugin v1.1 : fo:list-block is not a valid child element of fo:list-block

2012-07-02 Thread Lukas Theussl
Andy wrote: >>> Caused by: org.apache.maven.plugin.MojoExecutionException: Error during >>> document generation: Error creating PDF from >>> /home/andy/work/datanucleus/documentation/m2_accessplatform/target/pdf/mav >>> en- pdf-plugin.fo: org.apache.fop.fo.ValidationException: >>> file:/home/andy

Re: Maven v3.0.3, PDF plugin v1.1 : fo:list-block is not a valid child element of fo:list-block

2012-07-02 Thread Andy
> > Caused by: org.apache.maven.plugin.MojoExecutionException: Error during > > document generation: Error creating PDF from > > /home/andy/work/datanucleus/documentation/m2_accessplatform/target/pdf/mav > > en- pdf-plugin.fo: org.apache.fop.fo.ValidationException: > > file:/home/andy/work/datanucl

Re: Adding native shared objects to class path during test phase

2012-07-02 Thread Wayne Fay
> I am trying to run junit test cases in maven for a java project ( JNI ) > which uses shared object (say something.so , source: c++ file) generated > from another project . i specified the shared object project details in > dependency and set the scope & type to test and so respectively . But

Re: maven plugin xml structure

2012-07-02 Thread Wayne Fay
> I am a newbie to Maven , i am having trouble in finding documentation > explaining the manner in which a plugin parameter configuration need to > be written in XML.The documentation section in maven web site clearly > explains the parameters of a plugin but it doesn't give the structure in >

Adding native shared objects to class path during test phase

2012-07-02 Thread Monish r
Hi, I am trying to run junit test cases in maven for a java project ( JNI ) which uses shared object (say something.so , source: c++ file) generated from another project . i specified the shared object project details in dependency and set the scope & type to test and so respectively . But i do

maven plugin xml structure

2012-07-02 Thread Monish r
Hi, I am a newbie to Maven , i am having trouble in finding documentation explaining the manner in which a plugin parameter configuration need to be written in XML.The documentation section in maven web site clearly explains the parameters of a plugin but it doesn't give the structure in which

RE: Multi-module site problems: parent pom not downloaded

2012-07-02 Thread Tim Wu T
Hi Maybe you can try adding mirror to make it download only though your repo. Br, Tim -Original Message- From: Laird Nelson [mailto:ljnel...@gmail.com] Sent: Tuesday, July 03, 2012 6:25 AM To: Maven Users List Subject: Multi-module site problems: parent pom not downloaded My apologies

Multi-module site problems: parent pom not downloaded

2012-07-02 Thread Laird Nelson
My apologies for what I am sure is just dumb user error. However, I could not find the proper documentation to read. I have a multi-module project. All of the submodules inherit from the root pom.xml. This root pom.xml inherits, in turn, from a corporate pom.xml that is hosted elsewhere. Conse

structuring builds

2012-07-02 Thread Chad.Davis
I'm beginning to sense that the structure of your build, e.g. the choices you make in grouping certain builds into multi-module builds and how you structure your directories in source control, have huge impacts on the ease of doing software lifecycle things like branches and future releases. Do

Re: Mojo @execute with both phase and goal

2012-07-02 Thread Olivier Lamy
2012/7/1 Thomas Broyer : > Hi all, > > Let's say I have a mojo that requires both a phase (process-classes) > and a goal (war:exploded) to be executed before it itself is run, am I > right to think that I should create a new custom lifecycle that binds > the war:exploded goal to some phase after pr

Re: Maven v3.0.3, PDF plugin v1.1 : fo:list-block is not a valid child element of fo:list-block

2012-07-02 Thread Wayne Fay
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error during > document generation: Error creating PDF from > /home/andy/work/datanucleus/documentation/m2_accessplatform/target/pdf/maven- > pdf-plugin.fo: org.apache.fop.fo.ValidationException: > file:/home/andy/work/datanucleus/documen

Maven v3.0.3, PDF plugin v1.1 : fo:list-block is not a valid child element of fo:list-block

2012-07-02 Thread Andy
Hi, I have an application using Maven1 for documentation currently, and wanted to upgrade to Maven3 in the (vain?) hope of getting the PDF plugin to work. The problem with the PDF plugin in Maven1 on this application is one of StackOverflowException in FOP due to the size of the docs. I've just

help:active-profiles does not list active inherited profiles

2012-07-02 Thread Celinio Fernandes
Hi, I am using Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) I am trying to list the active profiles of a local pom, which inherits from a parent pom. I use the command help:active-profiles There is one active profile in the parent pom. However it is not listed by the command. I know it

Re: How to add additional info to the MANIFEST.MF

2012-07-02 Thread hujirong
I am using WID 7's serviceDeploy.bat to generate the EAR file from Maven. How can I inject some build information into the MANIFEST.MF file inside the EAR file? I want something like this: Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: Apache Maven Build-Jdk: 1.6.0 Implementat

Re: Site, deployment url and inheritance

2012-07-02 Thread Grégory Joseph
On 2 July 2012 14:38, Lukas Theussl wrote: > Grégory Joseph wrote: >> Just tried staging, and indeed, the paths in that case are correct* - I take it back. Staging was fine… with 2.1.1. With 3.1 I get this, for example for last module of the multi-module build [INFO] Pushing /project-root/moduleX

Re: Site, deployment url and inheritance

2012-07-02 Thread Lukas Theussl
Grégory Joseph wrote: > Just tried staging, and indeed, the paths in that case are correct* - > but again, I'm assuming that's because the normalization is done and > supported by my local FS ? IIRC normalization is done by the wagon you are using for the deploy, so it's outside the realm of the

Re: Site, deployment url and inheritance

2012-07-02 Thread Grégory Joseph
Just tried staging, and indeed, the paths in that case are correct* - but again, I'm assuming that's because the normalization is done and supported by my local FS ? -g * with the strange bug that "https://nexus.domain.org/xyz"; was converted to targetstaging/http/s.domain.org/xyz ... On 2 July

Re: Site, deployment url and inheritance

2012-07-02 Thread Grégory Joseph
Hi Lukas, On 2 July 2012 13:18, Lukas Theussl wrote: > Grégory Joseph wrote: >> It kind of sounds like MSITE-600 to me, so I'm unsure if/how the issue >> was fixed. Example: >> * Corporate parent pom defines this site deployment url: >> prot://foo/${artifactId}/${version} -- it works for this pom

Re: Site, deployment url and inheritance

2012-07-02 Thread Lukas Theussl
Grégory Joseph wrote: > Hi there, > > I've seen this "topic" debated many times, and still haven't figured > everything out. I was recently confused by the handling and > inheritance of urls in Maven. I think I got most of it, when it comes > to project.url. > > Now, when it comes to deploying

Site, deployment url and inheritance

2012-07-02 Thread Grégory Joseph
Hi there, I've seen this "topic" debated many times, and still haven't figured everything out. I was recently confused by the handling and inheritance of urls in Maven. I think I got most of it, when it comes to project.url. Now, when it comes to deploying a site, I'm baffled. Up to maven-site-pl