RE: How to import all modules of Maven 2 project

2007-08-19 Thread LAMY Olivier
Hi, Adding support of Maven profiles in adding project won't be so hard. But does this profile must be added automatically in the build definition ? (in your case adding -Pallblocks in Arguments) Can you fill an issue concerning this ? I don't know if you need a workaround but a simple is to

Problems using Velocity with Maven

2007-08-19 Thread andzy
Hi! I'm trying to learn how to use Velocity and Maven to generate some HTML pages. (I'm using Velocity Engine that comes with Maven 2.0.5) The problem I have is that my .vm file does not see structure of the Maven's site declaration. When I run Maven without reference to my .vm file, it

Re: Problems using Velocity with Maven

2007-08-19 Thread Dennis Lundberg
Hi According to the docs here: http://maven.apache.org/plugins/maven-site-plugin/examples/templatefile.html You should also add this to your configuration templateDirectory${basedir}/templateDirectory The default value for templateDirectory is src/site. Or you could move your maven-site.vm

Dependcy to maven build

2007-08-19 Thread Mathias P.W Nilsson
How can I make a dependecy to my own jar file in another maven project? Both projects are created using maven but I need a reference to my api jar in the other maven project. -- View this message in context: http://www.nabble.com/Dependcy-to-maven-build-tf4294023s177.html#a12223648 Sent from

Re: Dependcy to maven build

2007-08-19 Thread Tim Kettler
Hi, just as you would with any other dependency: Add it with the correct groupId, artifactId and version to the dependencies/ section of your project's pom. For the dependency resolution to work both projects must either be in the same multi-project build or the artifact you depend on needs

Re: Problems using Velocity with Maven

2007-08-19 Thread andzy
Thanks for the quick response. I had tried this, but unfortunately it doesn't help. Maven is able to find and use my .vm file (as I can change static HTML text), but apparently cannot pass data from it's site.xml file, as the .vm file doesn't seem to have access to elements of that XML file (to

RE: running ant script after reporting completes ...

2007-08-19 Thread Giovanni Azua
Hi Wendy, Adding the aggregate configuration makes no difference, anyway I would like to have the sources xref generated per submodule rather than one for all modules. I have the following structure: perfectjpattern/trunk/ - pom.xml - perfectjpattern-api --- pom.xml --- src.. -

HTML empty space in xdoc ...

2007-08-19 Thread Giovanni Azua
Hi all, I would really like to add an empty space in my xdoc document i.e. nbsp; but I get errors for this. Any ideas? TIA, regards, Giovanni - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: HTML empty space in xdoc ...

2007-08-19 Thread Wendy Smoak
On 8/19/07, Giovanni Azua [EMAIL PROTECTED] wrote: I would really like to add an empty space in my xdoc document i.e. nbsp; but I get errors for this. I get errors isn't enough information. Post what you tried and the error you received, and someone will take a look. -- Wendy

Re: [maven-ant-tasks] Authentication from settings.xml without using POM?

2007-08-19 Thread Hervé BOUTEMY
Le lundi 13 août 2007, Benjamin Bentmann a écrit : Hi, We have an SSH-secured internal repository from which an Ant build script should download some files using the maven-ant-tasks:2.0.7. First, I tried to specify everything inline the Ant script, i.e. without using a POM, using multiple

Eclipse 3.3 natures/builders and maven

2007-08-19 Thread Josh Long
Hi all Does anyone have any advice / feedback on getting mvn eclipse:eclipse to work well enough so that an ear pom, ejb pom, and a war pom are all assigned the correct eclipse natures / builders when the descriptors are built? Thanks! Josh Long

How to compile generated java code from test phase ?

2007-08-19 Thread Luciano Resende
I have some unit tests that generate some java files in the maven test phase. How can I tell maven to now compile these files as source ? -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/

RE: HTML empty space in xdoc ...

2007-08-19 Thread Giovanni Azua
Sorry for the lazy post :( it is late and I am very sleepy :) When I include the empty space in one of my xdoc files I get the following trace and the html is not generated: [INFO] Skipped About report, file index.html already exists for the English version. [ERROR] VM #displayTree: error : too

Re: HTML empty space in xdoc ...

2007-08-19 Thread Wendy Smoak
On 8/19/07, Giovanni Azua [EMAIL PROTECTED] wrote: When I include the empty space in one of my xdoc files I get the following trace and the html is not generated: Okay, now let's see the xdoc that caused the error... -- Wendy

RE: HTML empty space in xdoc ...

2007-08-19 Thread Giovanni Azua
lol :))) Okay here it is the snippet: p a href=download.html img valign=top src=images/download.png border=0 alt= title=download/PerfectJPattern API 1.0.0-SNAPSHOT/asmall(1.8mb)/small span style=font-size: smaller br/ a href=release-notes.htmlRelease Notes/a /span /p Adding the space