Re: How do I add generated resources to target jar?

2008-08-29 Thread Dan Tran
Maven pom allows you to add additional resource directories. Check the pom schema again. -D On Fri, Aug 29, 2008 at 2:40 PM, Jan van Mansum <[EMAIL PROTECTED]> wrote: > Hello group, > > I am using the antlr3 maven plugin to generate a parser. I would also like the > .tokens file to be included i

Re: release-plugin : Calling a shell script to perform some other task during release:prepare

2008-08-29 Thread Dan Tran
preparationGoals may be the hook, it got called when version is changed from SNAPSHOT to none and before the commit. -D On Fri, Aug 29, 2008 at 6:25 PM, mfs <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > While doing some searching on the forum i got to know that you cant hook a > plugin:goal executi

release-plugin : Calling a shell script to perform some other task during release:prepare

2008-08-29 Thread mfs
Hi Guys, While doing some searching on the forum i got to know that you cant hook a plugin:goal execution into another plugin, and thats somewhat what i wanted to do. Actually we are using the maven release plugin but while doing a release there are some other tasks we need to perform using a she

new archetype, archetype.xml

2008-08-29 Thread Arash Bizhan zadeh
Hi, I am tring to create a new archetype. After poking around for a while I just find this mini document for this: http://maven.apache.org/guides/mini/guide-creating-archetypes.html I wonder if there is any better documentation for this. I am having a problem with setting up archetype.xml file. Ho

Re: Is it possible to have cobertura reports for integration tests?

2008-08-29 Thread Fabricio Lemos
Coincidentally I was looking for it right now, but did not found anything interesting. Anyone can help on this? thanks in advance, Fabrício Lemos On Fri, Aug 29, 2008 at 8:18 AM, Carlos Alonso <[EMAIL PROTECTED]> wrote: > Hi all > > I have a bi-module project, the first module is the project it

How do I add generated resources to target jar?

2008-08-29 Thread Jan van Mansum
Hello group, I am using the antlr3 maven plugin to generate a parser. I would also like the .tokens file to be included in the target jar file, so that a client project can use it to generate a tree walker. How can a achieve this? Thanks for any help, best regards, -- Jan van Mansum -

Re: [PLEASE TEST] Maven 2.0.10-RC11

2008-08-29 Thread Geoffrey Wiseman
On Fri, Aug 29, 2008 at 11:25 AM, John Casey <[EMAIL PROTECTED]> wrote: > If you can't reproduce this problem using version 2.0.9, but can reproduce > it (a couple times) using RC11, please file a jira issue: > > http://jira.codehaus.org/browse/MNG That's the situation, yeah -- it's fine in 2.0.

Re: scm configuration

2008-08-29 Thread Stephen Connolly
Also the other thing is that if you use the release plugin it will handle updating the scm urls for releases or branches On Fri, Aug 29, 2008 at 4:36 PM, Stephen Connolly < [EMAIL PROTECTED]> wrote: > URL is the web URL of a web based repository browser (if you have one... if > not, given you are

RE: scm configuration

2008-08-29 Thread Martin Gainty
Hi Scott- you can specify scm connection,developerConnection and url parameters in your pom.xml e.g. scm:svn:https://svn.apache.org/repos/asf/maven/components/tags/maven-2.0.7 scm:svn:https://svn.apache.org/repos/asf/maven/components/tags/maven-2.0.7 https://svn.apache.org/rep

[PLEASE TEST] 2.1.0-M1-RC12 of Maven (was: Maven 2.0.10-RC*)

2008-08-29 Thread John Casey
Hi everyone, Sorry if the subject of this message is a little confusing, but we're in the process of relabeling the code in this release candidate to be part of a new version, a departure from the 2.0.x codebase. This release candidate contains some large modifications, even though it's meant

Re: System Scope

2008-08-29 Thread Henrique Prange
Hi Mike, Couldn't you create a secured place into your Repository Manager? Only people with the required credentials will have access to those jars. Cheers, Henrique CORUM, M E [AG/1000] wrote: I assume that you would be replacing that with some equivalent functionality, right? Otherwise,

Re: scm configuration

2008-08-29 Thread Stephen Connolly
URL is the web URL of a web based repository browser (if you have one... if not, given you are using svn I recommend giving sventon a try) connection is the maven scm URL for anonymous read only access and might need to have the guest or anon username embedded in the URL depending on the sc

Re: About Multi-module site generation

2008-08-29 Thread David Roussel
Adrian Shum wrote: > > > 1) I tried to run "mvn site" , "mvn clean install site" and also "mvn > site:stage" in myproj. > The generated site in myproj only contains info on myproj. No link to > sub-project > under "Module" in the left panel. > > I have no special configuration in POM f

scm configuration

2008-08-29 Thread Scott Carter
I had just a quick question that I could not find documentation for, but I am a newbie so thanks in advance if this is obvious. Why is there a need to define a , and ? I understand that you can configure which of connections you use, but it seems that your pom.xml has a fixed location within t

Re: [PLEASE TEST] Maven 2.0.10-RC11

2008-08-29 Thread John Casey
If you can't reproduce this problem using version 2.0.9, but can reproduce it (a couple times) using RC11, please file a jira issue: http://jira.codehaus.org/browse/MNG I'll need you to re-run the build using RC11 and the -X command-line option, to produce debug output, then capture that outpu

RE: release plugin - BuildFailureException : The version could not be updated ?

2008-08-29 Thread Jeudy, Guillaume
You can use ${pom.version} in PORTAL.A and PORTAL.B projects. Don't interfere with release plugin, one of it's purpose is to manage the versions. So for example set 1.0.0-SNAPSHOT version on the parent pom and dont specify a version in the child modules just refer to parent 1.0.0-SNAPSHOT. You c

Re: System Scope

2008-08-29 Thread Graham Leggett
CORUM, M E [AG/1000] wrote: I assume that you would be replacing that with some equivalent functionality, right? Otherwise, you would be taking away the capability for large companies to use Maven. Let me give an example (actually two). We have jar files from vendors that our Maven projects m

RE: RE: System Scope

2008-08-29 Thread CORUM, M E [AG/1000]
I assume that you would be replacing that with some equivalent functionality, right? Otherwise, you would be taking away the capability for large companies to use Maven. Let me give an example (actually two). We have jar files from vendors that our Maven projects must depend on. In one case, th

Re: RE:

2008-08-29 Thread Stephen Connolly
because the system scope is scheduled for removal post 2.0.x (or is that post 2.1 now ;-) ) Sent from my iPod On 29 Aug 2008, at 14:21, Martin Gainty <[EMAIL PROTECTED]> wrote: Good Morning Asif why sparingly? thanks Martin __ Disclaimer and con

RE:

2008-08-29 Thread Martin Gainty
Good Morning Asif why sparingly? thanks Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endor

Re: Is it possible to have cobertura reports for integration tests?

2008-08-29 Thread Thomas Lutz
I am facing a similar problem. Had no time to attack it now, but as far as some googling told me, it's a bit of a problem with maven & cobertura, better is emma & maven, because it's easier to both switch instrumentation on in emma and merge the result files of the integration tests with the un

Re: Problem with Maven, Hudson, Archiva - Builds take very long

2008-08-29 Thread belial
Hi, I had the same problem and I was getting crazy. I have setup Artifactory instead of Archiva, but I think we have the same problem. If you have set up a maven repository in your intranet, your access to the internet is restricted in your PC, and then maven cannot download fromt the internet t

Re: Gunit Surefire integration

2008-08-29 Thread Simone Tripodi
Hi Stephen, thank you very much for your help! Rather than adding dependencies section to the plugin, I just resolved changing the classpath scope, configuring the exec plugin like this: ... test ... Thank you very much for your help and for your tim

Site deploy corrupting URL in multi-module project

2008-08-29 Thread David Roussel
Hi, I'm just setting up my site deployment and came across a little quirk. I'm running Maven 2.0.9. I have apache running on windows and I want to deploy my sites to http://myserver.domain/module-docs/, I have created a network share for uploading the files: \\myserver.domain\module-docs\ I

Re: Gunit Surefire integration

2008-08-29 Thread Stephen Connolly
add the dependencies section to the plugin Sent from my iPod On 29 Aug 2008, at 10:19, "Simone Tripodi" <[EMAIL PROTECTED]> wrote: Hi Stephen, sorry again: I'm following the specs of Exec-Plugin on http://mojo.codehaus.org/exec-maven-plugin/examples/example-exec-for-java-programs.html Acc

Is it possible to have cobertura reports for integration tests?

2008-08-29 Thread Carlos Alonso
Hi all I have a bi-module project, the first module is the project itself and the second one is the integration-tests. I have cobertura reports for unit tests execution, but, is there any way to have cobertura reports for integration tests execution? Thanks in advance. Carlos ---

RE:

2008-08-29 Thread Saket Lakshminarayan Chiluveru
One way is to use the system.setting, helps you point to jars on the File System but this should be used SPARINGLY Use the maven repository, that's the true power of Maven. From: Asif [mailto:[EMAIL PROTECTED] Sent: Friday, August 29, 2008 3:43 PM To: Sa

Re: Missing: org.jfrog.maven.annomojo:maven-plugin-anno:jar:1.2.4

2008-08-29 Thread Martin Höller
On Friday 29 August 2008 thomas2004 wrote: > Hi all, > > As I try to build the project by "mvn eclipse:eclipse" I got error as > follow: > > [code] > [ERROR] BUILD ERROR > [INFO] > > [INFO] Failed to resolve artifact. > > Miss

Missing: org.jfrog.maven.annomojo:maven-plugin-anno:jar:1.2.4

2008-08-29 Thread thomas2004
Hi all, As I try to build the project by "mvn eclipse:eclipse" I got error as follow: [code] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.jfrog.maven.annomojo:maven-plugin-anno:j

About Multi-module site generation

2008-08-29 Thread Adrian Shum
Dear all, I am trying to use maven site feature for my multi-module project. Here is my project structure myproj/ + myproj-parent/ + myproj-main/ + myproj-web/ + myproj-ear/ There are 5 POMs in total. myproj/pom.xml is a simple POM which only define the 4 sub project as module. myproj

Re: Gunit Surefire integration

2008-08-29 Thread Simone Tripodi
Hi Stephen, sorry again: I'm following the specs of Exec-Plugin on http://mojo.codehaus.org/exec-maven-plugin/examples/example-exec-for-java-programs.html According to the documentation: [snip] java -Dmyproperty=myvalue -classpath

Re: Wrong output of mvn help:describe?

2008-08-29 Thread Rintcius
If this update policy was not there yet in mvn 2.0.8 then I am not sure whether this can be the reason. Because this was the sequence in which I worked: 1 parent pom with new surefire version on 2.0.8 2 upgrade to 2.0.9 3 tested again So if I interpret you correctly then the metadata should have