Re: Multiple Source Directories

2006-09-24 Thread Steve Mactaggart
Brilliant thanks.. Worked like a charm. On Sun, 2006-09-24 at 22:02 -0700, dan tran wrote: > use build-helper-maven-plugin to add additional source root to your project. > > -D > > > On 9/24/06, Steve Mactaggart <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I'm just starting to convert my

Re: Multiple Source Directories

2006-09-24 Thread dan tran
use build-helper-maven-plugin to add additional source root to your project. -D On 9/24/06, Steve Mactaggart <[EMAIL PROTECTED]> wrote: Hi all, I'm just starting to convert my codebase across to maven, in doing so I will have to keep the bulk of the code in the same structure until I get mav

Multiple Source Directories

2006-09-24 Thread Steve Mactaggart
Hi all, I'm just starting to convert my codebase across to maven, in doing so I will have to keep the bulk of the code in the same structure until I get maven able to do full builds then I can start segmenting projects. So far so good.. But one hitch. I have 2 directories in 1 project that are s

Re: Plug-in version management

2006-09-24 Thread dan tran
actually I googled it with "reportManagement" ;-) On 9/24/06, Andreas Guther <[EMAIL PROTECTED]> wrote: Should have :) As it turns out sometimes jira contains more helpful information than the official documentation. Thanks for your help. Andreas -Original Message- From: dan tran [

Clover fails during compile, but project compiles normally

2006-09-24 Thread Michael Waluk
Hi, My Clover reports worked fine before I renamed some sub-modules. Now during compilation for Clover it can't find the other sub-module that this project depends upon. The normal compile and install works fine as the log snippet shows, but when Clover compiles its version it can't see the dep

RE: Second source directory for generated code

2006-09-24 Thread Lakshman Srilakshmanan
Hi Olaf, I take it that you don't have a well formed maven plugin for generating your source files. If the above is true, then you would be better off developing a maven plugin that generates your source file and adds the directory to your POM dynamically. Ref to Pg 147 in Better builds with Ma

RE: Two dependencies depending on different versions of commons-collections

2006-09-24 Thread Lakshman Srilakshmanan
Hi Stefan, Please read pg 57 & 58 of Better Builds with Maven (3.6 Resolving dependency conflicts and using version ranges). Essentially, you have one of two options. You can exclude it from Wicket. For example Wicket Wicket 2.0

RE: Plug-in version management

2006-09-24 Thread Andreas Guther
Should have :) As it turns out sometimes jira contains more helpful information than the official documentation. Thanks for your help. Andreas -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Saturday, September 23, 2006 6:55 PM To: Maven Users List Subject: Re: Plug-

SCM Url's and Tags, Branches, etc.

2006-09-24 Thread Stephen Duncan
Does anybody have advice for the issues discussed here: http://www.nabble.com/Re%3A-svn-commit%3A-r449509---in--incubator-abdera-java-trunk%3A-client-pom.xml-core-pom.xml-dependencies-json-pom.xml-examples-pom.xml-extensions-pom.xml-parser-pom.xml-pom.xml-protocol-pom.xml-security-pom.xml-server-p

Re: SCM Url's and Tags, Branches, etc.

2006-09-24 Thread dan tran
On 9/24/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: Does anybody have advice for the issues discussed here: http://www.nabble.com/Re%3A-svn-commit%3A-r449509---in--incubator-abdera-java-trunk%3A-client-pom.xml-core-pom.xml-dependencies-json-pom.xml-examples-pom.xml-extensions-pom.xml-parser-p

Re: How to include dependencies in an executable jar?

2006-09-24 Thread franz see
Alexander Sack-3 wrote: > > I'm trying to build an executable jar and I want to include some of the > dependencies of my project in the jar itself for runtime. Is there a way > to > do this? The following page was somewhat helpful: > > http://maven.apache.org/plugins/maven-jar-plugin/example

MRM my footsteps to see it running

2006-09-24 Thread leahpar
I've just want to get archiva here's my footsteps to see it running get the source from http://svn.apache.org/repos/asf/maven/archiva/trunk mvn clean install go into archiva-webapp subfolder mvn jetty:run open http://localhost:9000/ create a admin create a managed repository and a proxied re

Re: [M1] Running tests with jvmargs (security policy)

2006-09-24 Thread Arnaud HERITIER
Are sure that /target/test-classes/testing.policy isn't computed as an absolute path : c:/target/test-classes/testing.policy Did you try ? : -Djava.security.policy=target/test-classes/testing.policy Arnaud On 9/22/06, diyfiesta <[EMAIL PROTECTED]> wrote: Hi Folks, Bit stuck on trying to run

[m2] Mojo-Development: Possibility to let expression reference a field of the mojo?

2006-09-24 Thread Sebastian Himberger
Hi, im developing a plugin and have a Mojo similar to this: class MyMojo { /** * @paremeter expression="${pom.xxx}" */ private String name; /** * @paremeter */ private File folder ... } I want the value of folder to use the private field "name" of MyMojo to build up the

RE: A way to name jar zip?

2006-09-24 Thread LAMY Olivier
Have a look : http://jira.codehaus.org/browse/MNG-1683 -- Olivier -Message d'origine- De : Thomas Lindback [mailto:[EMAIL PROTECTED] Envoyé : dimanche 24 septembre 2006 21:23 À : users@maven.apache.org Objet : A way to name jar zip? Hello. I want to get a zip instead of a jar file. Is

Re: A way to name jar zip?

2006-09-24 Thread Alexander Sack
Have you tried the maven assembly plugin? That should do what you want. http://maven.apache.org/plugins/maven-assembly-plugin/index.html -aps On 9/24/06, Thomas Lindback <[EMAIL PROTECTED]> wrote: Hello. I want to get a zip instead of a jar file. Is there a easy way to fix that. It is enough

A way to name jar zip?

2006-09-24 Thread Thomas Lindback
Hello. I want to get a zip instead of a jar file. Is there a easy way to fix that. It is enough to be able to rename the resulting jar to zip, I have not seen any maven-zip-plugin. I have searched and searched but not found anything. /Tom. __ Do You

Re: Suppress wagon transfer progress - how?

2006-09-24 Thread Holger Hoffstaette
On Sun, 24 Sep 2006 08:19:35 -0700, dan tran wrote: > try mvn -B if you use it thru mvn deploy That does the trick - thank you very much! Kind of obvious *now*, though rather unintuitive, IMHO. cheers Holger - To unsubscribe,

Re: Suppress wagon transfer progress - how?

2006-09-24 Thread dan tran
try mvn -B if you use it thru mvn deploy -D On 9/24/06, Holger Hoffstaette <[EMAIL PROTECTED]> wrote: Hi, Wagon logs file transfer progress, but this pumps up logfiles for no good reason; a single line summary would be just fine for non-interactive use. Since the documentation links on the

Suppress wagon transfer progress - how?

2006-09-24 Thread Holger Hoffstaette
Hi, Wagon logs file transfer progress, but this pumps up logfiles for no good reason; a single line summary would be just fine for non-interactive use. Since the documentation links on the Apache site are all broken or contain no useful information I was hoping that the source of wagon-api could

Re: Maven site with sub-projects

2006-09-24 Thread Stefano Fornari
Ciao Valerio and Geoffrey, the deployment made the trick. FYI (or anyone with a similar issue), I had also to fix a couple of issues with grupId and artifac id definitions. Thanks for your help. Stefano On 9/24/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: Offline the links are wrong because

Re: Two dependencies depending on different versions of commons-collections

2006-09-24 Thread Valerio Schiavoni
Hello Stefan, On 9/23/06, Stefan Arentz <[EMAIL PROTECTED]> wrote: OpenJPA -> commons-collections 3.2 Wicket 2.0 -> commons-collections 2.1 is it possible to change the dependency in Wicket to 'commons collections 2.1 or higher' ? something like: commons-collection commons-collection

Re: Maven site with sub-projects

2006-09-24 Thread Geoffrey De Smet
Offline the links are wrong because online they are different: Offline: funambol target site a.html links to common/b.html common target site b.html Online (after deployment): a.html still links to common/b.html common b.html With kind regards, Geoffrey De Smet Stefano Fo

Re: Maven site with sub-projects

2006-09-24 Thread Valerio Schiavoni
Hello Stefano, On 9/23/06, Stefano Fornari <[EMAIL PROTECTED]> wrote: funambol common pim I hope I created correctly the parent-child relationship. I would expect that running mvn site, the funambol site shows me a link to the common module, which shows me a link to the pim module which