Re: Continuum Uninstall

2006-11-07 Thread jacob thomas
i removed the registry entries and restarted the machine,i am able to reinstall now and it works fine for me, thanks. ~jacob Emmanuel Venisse wrote: You have a quote in your PATH, remove it and all will work fine. Emmanuel jacob thomas a écrit : Hi, I am facing an issue, I am very new

Re: configuring email nofifiers

2006-11-07 Thread Emmanuel Venisse
You can checkout Maven-SCM (http://svn.apache.org/repos/asf/maven/scm/trunk/) build it, you probably need to skip all tests because it require some tools installed. Then, you'll replace all maven-scm-* in your continuum by new ones. If you don't want to build it, you can download artifacts from

Re: Performance collapse when logged as admin

2006-11-07 Thread Jesse McConnell
hm, that sounds to me like it would be an issue with the speed of authz activities on those pages, they had been really slow until I put in abit of per page caching in the session to speed it up...and it was a lot faster from then on...but this could be something related to that. what database

Re: Performance collapse when logged as admin

2006-11-07 Thread Jesse McConnell
k, then my bet is its something up with that authz behavior there. do you have any custom roles? what is the name of the project in question? (ie, The Doxia Project) you can make something up that follows the same naming structure thanks, and I'll try and nail this down in continuum jesse On

RE: Performance collapse when logged as admin

2006-11-07 Thread Artamonov, Juri
What I did is just installed Maestro 1.1 and created admin user. Then I just added simple single module project and defined several goals for it. That's all. After I saw that it's slow comparing with Maestro 1.0.1 and I couldn't start any goal I created except default goal I decided to move back

Re: Performance collapse when logged as admin

2006-11-07 Thread Christian Edward Gruber
Hmm. It would probably be wise to fetch the logo upon configuration change, and drop it in the local database, then serve it from the db (cached in memory after first load, of course). It's only one image, and I think having it locally available might be useful. regards, Christian. P.S. There

Re: Performance collapse when logged as admin

2006-11-07 Thread Carlos Sanchez
if your logo is not available it's your configuration problem. I don't see it as a big problem. On 11/7/06, Christian Edward Gruber [EMAIL PROTECTED] wrote: Hmm. It would probably be wise to fetch the logo upon configuration change, and drop it in the local database, then serve it from the db

Re: PROPFIND + authorization failed

2006-11-07 Thread Barrie Treloar
http://freshmeat.net/projects/ntlmaps/ Run this proxy and tell your Subversion client, or Maven, to use the APS proxy. This will work for http but won't for https. ntlmaps has problems with chunked encodings. From the original problem email the scm url looks like it is http, so you should be

RE: Project build order

2006-11-07 Thread Petter Måhlén
I haven't done it like that for two reasons: - the common.jar file shouldn't be distributed, it's only used at build time to generate code, which in turn should be distributed, and, - more importantly, the plugin that does code generation has to have the common.jar file in its classpath, meaning

Re: We need some explanation ...

2006-11-07 Thread Arnaud Bailly
Hi Vincent, The architecture is quite clear now, but there remains some questions: - I understand that when calling clover:instrument in any phase, this triggers a custom lifecycle (clover LC) that runs instrumentInternal and then runs the tests so that clover DB gets populated. This lifecycle

How to customize pre-archive directory?

2006-11-07 Thread jiangshachina
Hello, I'm using customized project directory structure. To standard Maven Web application project, when run mvn package, a folder generated at directory target, the folder includes all of files/dirs would be archived to war file. I call the folder pre-archived directory :D I customized three

Re: maven2+subclipse+svn+m2eclipse plugin

2006-11-07 Thread Tomasz Pik
On 11/6/06, szefo [EMAIL PROTECTED] wrote: Hi, Can someone give me any clues how to integrate maven2+subclipse+svn+m2eclipse plugin ? I have a multi-module project, stored in one repository. The problem is that when I checkout this project from repo using subclipse it is seen by eclipse as

Re: Project build order

2006-11-07 Thread Emmanuel Venisse
The build order is defined by http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/utils/ProjectSorter.java We don't look for the moment at plugins dependencies. Emmanuel Petter Måhlén a écrit : I haven't done it like that for two

Re: configuring email nofifiers

2006-11-07 Thread Emmanuel Venisse
I think this bug is fixed in maven-scm trunk but not sure. File an issue about it (http://jira.codehaus.org/browse/SCM) and I'll look at it later. Emmanuel Morgovsky, Alexander (US - Glen Mills) a écrit : It looks like the checkout is jumbling my svn username/password: svn --username

unable to find resource 'VM_global_library.vm'

2006-11-07 Thread Deluigi Marcus
Hi I am new to Maven and I am following the 'getting started' guide step-by-step. When I try to create the site documentation and execute: 8 mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app \ -DarchetypeGroupId=org.apache.maven.archetypes

Re: Maven 2, Eclipse WTP

2006-11-07 Thread Alexandre Touret
Hello, I have already tried this. Regards, Alexandre [EMAIL PROTECTED] wrote: Hi Try: mvn -DwtpVersion=1.0 eclipse:eclipse Hermod - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: We need some explanation ...

2006-11-07 Thread Vincent Massol
-Original Message- From: Arnaud Bailly [mailto:[EMAIL PROTECTED] Sent: mardi 7 novembre 2006 09:04 To: Maven Users List Subject: Re: We need some explanation ... Hi Vincent, The architecture is quite clear now, but there remains some questions: - I understand that when calling

Re: How to customize pre-archive directory?

2006-11-07 Thread jiangshachina
Oh, I may find the problem. I shall use following scripts, configuration warSourceDirectorysrc/webapp/warSourceDirectory outputDirectorytarget/outputDirectory /configuration The warSourceDirectory is my pre-archived directory ^_^ In fact, I didn't understand the doc correctly.

RE: Project build order

2006-11-07 Thread Petter Måhlén
That's as far as I got, and I got lost at what 'project.getDependencies()' means. If that doesn't include plugin dependencies, should that be considered a bug? As far as I can understand, the ProjectSorter will order projects first in order of dependencies, and then in alphabetical order. So we're

Re: Maven 2, Eclipse WTP

2006-11-07 Thread Alexandre Touret
Alexandre Touret wrote: 2 / The configuration of project facets how may configure the eclipse plugin in order to specify the versions of projects facets of WTP (Servlet API version number, JAVA version ,...) ? I finally solved this problem. I add the following configuration to the

Re: unable to find resource 'VM_global_library.vm'

2006-11-07 Thread Franz Fehringer
As i stumbled over this some time ago i was told on this list, that this is only a warning and not a real problem if i am still annoyed i should post not to the Maven but to the Velocity list Regards Franz Deluigi Marcus schrieb: Hi I am new to Maven and I am following the

test resources: empty directories are ignored

2006-11-07 Thread Martin Vysny
Hi, I have several directories located in the src/test/resources and I need them to be copied to target/test-classes. This is of course handled by maven-resources-plugin, however it does not copy empty directories. I know it sounds insane to access empty dirs using classloader but I have my

Project Notifier removed when editing build definitions

2006-11-07 Thread Emmanuel Hugonnet
Hi, I have edited my build definition since I have to pass some parameters via -D. After that my notifier which was imported from my POM was removed :(. It looks like updating the project configuration updates everything based on submit and not on previous configuration + changes. In the

Re: We need some explanation ...

2006-11-07 Thread Arnaud Bailly
Thanks for the (quick :-)) answer. I agree that generated sources are usually tested and do not need specific tests, so instrumenting them may not be very useful as far as branch/line coverage is concerned. I can think however of a use case where you would need coverage of generated code.

Re: Poor man's web.xml merging

2006-11-07 Thread Arnaud Bailly
Ouuup ! [INFO] [cargo:uberwar] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Exception merging web.xml [INFO]

RE: Maven 2, Eclipse WTP

2006-11-07 Thread hermod.opstvedt
Hi There is a typo here: the exact syntax is: mvn -Dwtpversion=1.0 eclipse:eclipse (You can also specify 1.5 and 0.7 for wtpversion) Hermod -Original Message- From: Alexandre Touret [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 10:30 AM To: Maven Users List Subject: Re:

Re: profile activation based on environment variables

2006-11-07 Thread Arnaud Bailly
Haroon Rafique [EMAIL PROTECTED] writes: Hi, I'm using maven 2.0.4 on a Gentoo Linux machine. Does anyone have experience in activating profiles based on environment variables? I figure using the env prefix would do the trick. So, far I have tried: profile

[M2] additive module dependencies

2006-11-07 Thread Nathan Coast
Hi, I'm fairly new to maven 2 and am having some trouble with module dependencies. I have a war project that builds fine when I build it in isolation. However, when it is built from the parent project (via the modules mechanism) all of the dependencies from all of the modules end up in the

How to add a new component in Plexus Repository

2006-11-07 Thread jc7442
I try to implement a dashboard (like the one in maven1) plugin. This plugin is in charge to create a report that summarize results of others reports (such as surefire, pmd, cpd, ...). I'd like to be able to discover the impl compliant with my dashboard. So that list will be extendable. Plexus

Performance collapse when logged as admin

2006-11-07 Thread Samuel Langlois
Hello, I find Continuum web console very slow, especially when logged as admin, and I think there is something wrong. For instance, to display the summary page of a project group containing 3 projects, it takes a few seconds when not logged in, and 20s when logged as admin. For a project group

RE: We need some explanation ...

2006-11-07 Thread Vincent Massol
-Original Message- From: Arnaud Bailly [mailto:[EMAIL PROTECTED] Sent: mardi 7 novembre 2006 11:03 To: Maven Users List Subject: Re: We need some explanation ... Thanks for the (quick :-)) answer. I agree that generated sources are usually tested and do not need specific

RE: Poor man's web.xml merging

2006-11-07 Thread Vincent Massol
Hi Arnaud, I haven't worked on that code so I don't know what's wrong. I do know that people are able to use it though so it's possible you could get it to work and the error may be a configuration error. I think the best would be for you to post anything related to Cargo on the Cargo user list

Re: Poor man's web.xml merging

2006-11-07 Thread Nigel Magnay
I think your merge.xml is required to have a context params section e.g : webXml contextParams strategy name=ChooseByName default strategy name=Preserve/ /default choice name=contextConfigLocation strategy name=NodeMerge context-param

Re: How to add a new component in Plexus Repository

2006-11-07 Thread jc7442
I find the bug, Manager has to be retireved /** * @parameter expression=${component.com.dashboard.DashboardableManager} * @required * @readonly */ private DashboardableManager manager; jc7442 wrote: I try to implement a dashboard (like the one in maven1) plugin.

PROPFIND + authorization failed

2006-11-07 Thread jacob thomas
Hi group, I am also facing same kind of an issue when i try to use the http://.. protocol url, I am getting an error saying --- Provider message: The svn command failed. Command output:

Debugging Maven

2006-11-07 Thread Deluigi Marcus
Hi I am quite new to Maven and I need to understand a quite large project which also happened to have a broken maven build cycle. Is there any way to: * list all user-defined goals for each phase * list all used plugins * determine which of their goals are used for which phase * skip a phase /

M2 + jetty-plugin + sitemesh

2006-11-07 Thread noon
Hi, Has anybody successfully used the M2 jetty6-plugin with projects that uses e.g. sitemesh filters? The error message is: Embedded error: class com.opensymphony.module.sitemesh.filter.PageFilter is not a javax.servlet.Filter And here's an excerpt from my web.xml where I define the sitemesh

Re: M2 + jetty-plugin + sitemesh

2006-11-07 Thread Brett Porter
yes - see Maven Archiva or Continuum. The problem is likely that you have too many servlet APIs defined. Try setting the scope on any of your own to 'provided'. - Brett On 07/11/06, noon [EMAIL PROTECTED] wrote: Hi, Has anybody successfully used the M2 jetty6-plugin with projects that uses

Re: SV: Eclipse knows resources dir?

2006-11-07 Thread Daniel Serodio
Hermod Opstvedt wrote: Hi No problem, you need to go into settings/build/Sourcepath path and then add src/main/resources as a new source folder. Remember to set target as the default output folder Actually, the default output folder should be target/classes/ HTH, Daniel Serodio

Re: M2 + jetty-plugin + sitemesh

2006-11-07 Thread noon
Hi Brett, This is how I set the servlet-dependency in pom.xml-file: dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId version2.3/version scopeprovided/scope /dependency Did you mean this or something else?

webstart-plugin: dependencies

2006-11-07 Thread Valerio Schiavoni
hello everyone, one of the configuration parameters of the webstart plugin looks like the following: !-- transitive dependencies filter -- dependencies !-- Note that only groupId and artifactId must be specified here. because of a limitation of the

RE: SV: Eclipse knows resources dir?

2006-11-07 Thread hermod.opstvedt
Yepp -Original Message- From: Daniel Serodio [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 2:02 PM To: Maven Users List Subject: Re: SV: Eclipse knows resources dir? Hermod Opstvedt wrote: Hi No problem, you need to go into settings/build/Sourcepath path and then add

Re: Maven 2, Eclipse WTP

2006-11-07 Thread Daniel Serodio
[EMAIL PROTECTED] wrote: Hi There is a typo here: the exact syntax is: mvn -Dwtpversion=1.0 eclipse:eclipse (You can also specify 1.5 and 0.7 for wtpversion) I tried using 1.5 but it gave me an error Unsupported WTP version: 1.5. This plugin currently supports only the following versions:

Maven2, CruiseControl and Surfire

2006-11-07 Thread Alexander Schwartz
Hi, I am running a maven2 build with CruiseControl (http://cruisecontrol.sourceforge.net/). Now I would like to configure maven2 such that the surefire XML test reports are collected for CruiseControl and displayed on the corresponding Build Results page of CruiseControl. I assume I'm not

debuging maestro over linux

2006-11-07 Thread Urbieta Matias
Hi, i have had problems with the order of dependencies deploy, so y wants to debug maestro over linux , but looking the startup script i have found a wrapper binary. So how may i debug? Thanks -- Lic Matias Urbieta

[maven2] CruiseControl surfire reports

2006-11-07 Thread Alex Schwartz
Hi, I am running a maven2 build with CruiseControl (http://cruisecontrol.sourceforge.net/). Now I would like to configure maven2 such that the surefire XML test reports are collected for CruiseControl and displayed on the corresponding Build Results page of CruiseControl. I assume I'm not

Re: webstart-plugin: signing takes soo long..

2006-11-07 Thread Valerio Schiavoni
On 11/6/06, Valerio Schiavoni [EMAIL PROTECTED] wrote: dnameCn/dnameCn dnameOu/dnameOu dnameO/dnameO dnameL/dnameL dnameSt/dnameSt dnameC/dnameC i

Re: test-jar - unknown artefact type

2006-11-07 Thread Antonio Parolini
I got the same probleme! Is the test-jar type actually supported ? -tony Ken Helmes wrote: Hello, Has anyone run into this error when trying to use the test-jar type: Embedded error: Unknown artefact type[test-jar] - Maven 2.0.4 - The actual

Re: VS: Re: test-jar - unknown artefact type

2006-11-07 Thread Antonio Parolini
I agree. We also need this. Does the Maven people plan to include this feature sometimes ? -tony Ken Helmes wrote: Thanks. I can't see any good reason for this though. It seems that this would be a pretty common use case - including test jars inside an ear. Ken -Alkuperäinen

Unable to execute javadoc command error

2006-11-07 Thread dohadwala_moiz
Hello, I am getting Unable to execute javadoc command errors while running mvn site on my project. I have maven 2.0.4 and javadoc plugin 2.1. The error happens in one of the modules only. The projects parent pom includes cobertura, surefire, and javadoc reporting. When I run maven with

Configuring war plugin for using a jar instead of WEB-INF/classes

2006-11-07 Thread Sebastien Brunot
Hi all, i've got a war project which pom build section contains the following statements: !-- Package webapp classes into a jar instead of under WEB-INF/classes -- plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId executions execution

Réf. : Re: webstart-plugin: signing takes soo long..

2006-11-07 Thread vincent . juge
Unfortunately not...these values were already set. thanks you anyway. I've found a workaround : I launch a CruiseControl instance on the same station, and the fact to have maven running speeds up the signing..weird. regards. Extranet [EMAIL PROTECTED] 07/11/2006 15:17 Veuillez

Re: Configuring war plugin for using a jar instead of WEB-INF/classes

2006-11-07 Thread Arnaud HERITIER
Hi Sebastien It seems to be a bug. In the code [1] we have : if ( archiveClasses ) { createJarArchive( libDirectory ); } else { copyDirectoryStructureIfModified( classesDirectory,

Re: profile activation based on environment variables

2006-11-07 Thread Haroon Rafique
On Today at 11:07am, AB=Arnaud Bailly [EMAIL PROTECTED] wrote: AB [..snip..] AB AB Not sure but I think that what you call environment variables are AB actually system properties set on maven's cli: Try AB AB activation AB property AB nameBLAH/name AB valueblah/value AB

Re: [maven2] CruiseControl surfire reports

2006-11-07 Thread Prasad Kashyap
Hi Alex, AFAIK, there isn't any such thing right now to help us in this regard. I am looking for something like that too. The plugin at http://qalab.sourceforge.net doesn't track stats for surefire reports. The plugin at http://xradar.sourceforge.net isn't available for m2 yet. For what it's

Re: debuging maestro over linux

2006-11-07 Thread Urbieta Matias
i want to debug the code, no logs file, with eclipse. On 11/7/06, Raphaël Piéroni [EMAIL PROTECTED] wrote: maestro or continuum ? Check for a wrapper.log file which contains a lot of logs. Raphaël 2006/11/7, Urbieta Matias [EMAIL PROTECTED]: Hi, i have had problems with the order of

Re: debuging maestro over linux

2006-11-07 Thread Emmanuel Venisse
You need to add debugger options to the command line in wrapper.conf, and restart the server. Emmanuel Urbieta Matias a écrit : i want to debug the code, no logs file, with eclipse. On 11/7/06, Raphaël Piéroni [EMAIL PROTECTED] wrote: maestro or continuum ? Check for a wrapper.log file

Re: debuging maestro over linux

2006-11-07 Thread Urbieta Matias
thanks On 11/7/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: You need to add debugger options to the command line in wrapper.conf, and restart the server. Emmanuel Urbieta Matias a écrit : i want to debug the code, no logs file, with eclipse. On 11/7/06, Raphaël Piéroni [EMAIL PROTECTED]

Re: [m2] How to ensure order of reports?

2006-11-07 Thread Benoitx
It is a known issue: http://jira.codehaus.org/browse/MSITE-188 Vote for it :-) Has anyone developed a patch? Benoitx wrote: Hi The report re-ordering seems to happen when a root POM with packagingpom is defined.. (thanks to Shelby for spotting this) Is there any reason why

Re: PROPFIND + authorization failed

2006-11-07 Thread Emmanuel Venisse
You can define user/password to use in Project Edit screen Emmanuel jacob thomas a écrit : Hi group, I am also facing same kind of an issue when i try to use the http://.. protocol url, I am getting an error saying

Re: PROPFIND + authorization failed

2006-11-07 Thread jacob thomas
I tried this option also by giving the username and password directly to the project Edit screen. result remain the same. ~jacob Emmanuel Venisse wrote: You can define user/password to use in Project Edit screen Emmanuel jacob thomas a écrit : Hi group, I am also facing same kind of

Re: PROPFIND + authorization failed

2006-11-07 Thread Emmanuel Venisse
Hmm. If you run 'svn co http://...' on continuum machine with the user that run continuum, do you have the same result? you can try with an URL like this: http://username:[EMAIL PROTECTED]:port/path_ti_your_repo Emmanuel jacob thomas a écrit : I tried this option also by giving the

How Do I Deploys The Sources To The Repository

2006-11-07 Thread Yves Van Steen
Hey, I can generate a jar containing the source files of a project. But how do I configure it to deploy the source jar to the repo? I need this because I would like to use the download sources setting of the eclipse plugin for my own projects. So far I have found nothing that would

RE: Configuring war plugin for using a jar instead of WEB-INF/classes

2006-11-07 Thread Sebastien Brunot
Issue has been created as MWAR-82 (http://jira.codehaus.org/browse/MWAR-82). Sebastien -Original Message- From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 3:59 PM To: users@maven.apache.org Subject: Re: Configuring war plugin for using a jar instead of

RE: How Do I Deploys The Sources To The Repository

2006-11-07 Thread Bram de Kruijff
Hi Yves, try this : mvn clean source:jar install regards, Bram -Original Message- From: Yves Van Steen [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 4:59 PM To: 'Maven Users List' Subject: How Do I Deploys The Sources To The Repository Hey, I can

Transitive dependecies

2006-11-07 Thread Sebastien Brunot
Hi all, transitive dependencies can be a real pain when you have a lot of external dependencies in your project. Using exclusions tags is a tedious operation in this case, so I was wondering if a quicker way exists... How can one create a pom module that contains a list of dependencies (let's

Re: Transitive dependecies

2006-11-07 Thread Wendy Smoak
On 11/7/06, Sebastien Brunot [EMAIL PROTECTED] wrote: transitive dependencies can be a real pain when you have a lot of external dependencies in your project. Using exclusions tags is a tedious operation in this case, so I was wondering if a quicker way exists... Having to use a lot of

Re: How Do I Deploys The Sources To The Repository

2006-11-07 Thread Greg_Vaughn
Yves Van Steen [EMAIL PROTECTED] wrote on 11/07/2006 09:58:46 AM: I can generate a jar containing the source files of a project. But how do I configure it to deploy the source jar to the repo? I need this because I would like to use the download sources setting of the eclipse plugin for

RE: Transitive dependecies

2006-11-07 Thread Sebastien Brunot
Hi Wendy, Are you trying to tell me that the feature I'm asking about does not exists in maven 2 (inheriting dependencies from a pom without transitivity, but with a scope that makes them copied in WEB-INF/lib when I'm working on a war project) ? Sebastien -Original Message- From: Wendy

RE: Transitive dependecies

2006-11-07 Thread Barrett Nuzum
Sebastien: On my current assignment, we solved this by having one POM for the main dependencies of all projects, and a child POM called WebDependencies. All child projects of type WAR specify WebDependencies as a direct dependency. This *does* include transitive dependencies -- but you

Re: Performance collapse when logged as admin

2006-11-07 Thread Carlos Sanchez
I saw that problem when the logo is not available and times out, the page looks slow. On 11/7/06, Artamonov, Juri [EMAIL PROTECTED] wrote: What I did is just installed Maestro 1.1 and created admin user. Then I just added simple single module project and defined several goals for it. That's

RE: Transitive dependecies

2006-11-07 Thread Sebastien Brunot
Hi barrett, I think I'm actually proceeding quite the same (the lib pom I was talking about). I really want to know if I can move a step further and make the dependencies not transitive while included in the WAR (actually an EAR in my case ;-). If the feature does not exists yet in maven (using

RE: Transitive dependecies

2006-11-07 Thread Martin Vysny
On Tue, 2006-11-07 at 17:27 +0100, Sebastien Brunot wrote: Hi Wendy, Are you trying to tell me that the feature I'm asking about does not exists in maven 2 (inheriting dependencies from a pom without transitivity, but with a scope that makes them copied in WEB-INF/lib when I'm working on a

RE: Transitive dependecies

2006-11-07 Thread Sebastien Brunot
In fact, the dependencies I don't want in the lib directory are the one obtained because of the transitivity mechanism. So I want all dependencies included, but not the one they might have themselves (and I may not have access to the POM of those dependencies to set their scope to provided).

Re: Transitive dependecies

2006-11-07 Thread Edwin Punzalan
Dependencies should be marked as optional if it is not required. There's nothing bad with transitivity if the poms are correct... it actually makes dependency management easier. Broken poms make transitivity look bad. Wendy Smoak wrote: On 11/7/06, Sebastien Brunot [EMAIL PROTECTED]

RE: Transitive dependecies

2006-11-07 Thread Barrett Nuzum
Sebastien: I think most people instead suppress all dependencies from war bundling and then use the maven-dependency-plugin to copy specific artifacts. (It provides more fine grained control at the expense of some extensibility.) It's not a core maven feature, though, as far as I know.

Release doesn't pass args

2006-11-07 Thread Emmanuel Hugonnet
Hi, How do you pass an argument to your maven build when releasing ? I have a project with 5 modules and I try to release it. My project needs an argument that I pass using -Denv=dev. It seems that when I use the release:prepare -Denv=dev my argument is not passed to the maven build process

FW: Surefire plugin - Tests running twice

2006-11-07 Thread Raja Arokia
Hi, I have an application where surefire-plugin is configured in the parent pom and child pom, I am giving the code sample below, This results in tests running twice, if I comment the surefire plugin in the parent pom, the tests run only once. But I don't want to comment surefire plugin in

RE: Transitive dependecies

2006-11-07 Thread Sebastien Brunot
Even if the POM are correct, transitivity can copy much more classes than really needed : you're using library A, which a subset of class uses library B. If you don't use this particular subset of classes in library A, you don't need the dependency on library B (I hope it's clear). Sebastien

RE: Transitive dependecies

2006-11-07 Thread Sebastien Brunot
Thanks for the hint barrett, it is valuable to me (using dependency plugin to copy jars in WEB-INF/lib instead of declaring dependencies). Sebastien -Original Message- From: Barrett Nuzum [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 5:54 PM To: Maven Users List Subject:

Re: Release doesn't pass args

2006-11-07 Thread Edwin Punzalan
Have you tried passing through the preparationGoals parameter ? Its default is clean integration-test... maybe you can instead have clean integration-test -Denv=dev ? Emmanuel Hugonnet wrote: Hi, How do you pass an argument to your maven build when releasing ? I have a project with 5

Re: Transitive dependecies

2006-11-07 Thread Wendy Smoak
On 11/7/06, Sebastien Brunot [EMAIL PROTECTED] wrote: Even if the POM are correct, transitivity can copy much more classes than really needed : you're using library A, which a subset of class uses library B. If you don't use this particular subset of classes in library A, you don't need the

Re: Transitive dependecies

2006-11-07 Thread Edwin Punzalan
Yes, I agree with that... and that's a good reason for using excludes. But you don't really disable transitivity completely with it. You just select from the list of dependencies to not use, in your example, library B. Sebastien Brunot wrote: Even if the POM are correct, transitivity

MOJO Paramater Question

2006-11-07 Thread Adam Lewis
My understanding of mojo parameters is that when declaring paramters for a mojo, the @parameter expression=${...} syntax allows access to various properties that already exist in the environment. Is there a unfied list of what can be put there floating around out there? Is there a good way of

Re: Release doesn't pass args

2006-11-07 Thread Emmanuel Hugonnet
Edwin Punzalan a écrit : Have you tried passing through the preparationGoals parameter ? Its default is clean integration-test... maybe you can instead have clean integration-test -Denv=dev ? Emmanuel Hugonnet wrote: Hi, How do you pass an argument to your maven build when releasing ? I

Re: Maven 2, Eclipse WTP

2006-11-07 Thread Srepfler Srgjan
Daniel Serodio wrote: [EMAIL PROTECTED] wrote: Hi There is a typo here: the exact syntax is: mvn -Dwtpversion=1.0 eclipse:eclipse (You can also specify 1.5 and 0.7 for wtpversion) I tried using 1.5 but it gave me an error Unsupported WTP version: 1.5. This plugin currently

Re: MOJO Paramater Question

2006-11-07 Thread Matt Campbell
The @parameter refers to the pom configuration or system properties so if you had @parameter expression=${project.build.resources} the could either mean your looking for a system property named project.build.resources or your looking for the resources listed in the pom, which would be

Re: mvn site running test cases twice

2006-11-07 Thread jp4
I removed the coberatura plugin and unit test cases run only once... Here is what I have in my pom build section plugin groupIdorg.codehaus.mojo/groupId artifactIdcobertura-maven-plugin/artifactId executions execution goals

Re: Add pom tags into Eclipse?

2006-11-07 Thread Srepfler Srgjan
jiangshachina wrote: About Maven docs, the mail list has discussed. It's said that some plugin docs are being improved, but not hosted by main site currently. Now, I think the biggest problem is that docs don't show all parameters or elements on POM model or plugin configurations. For example,

Re: mvn site running test cases twice

2006-11-07 Thread Wendy Smoak
On 11/7/06, jp4 [EMAIL PROTECTED] wrote: I removed the coberatura plugin and unit test cases run only once... Here is what I have in my pom ... Any ideas? Looks like the test cases get run during instrumentation? I think it's normal based on Maven's current design. The tests are run once

Looking for a simple maven assembly example

2006-11-07 Thread Christian Goetze
I've read the better builds with maven book, I've looked at http://maven.apache.org/plugins/maven-assembly-plugin, but I'm still not sure I understand how this is supposed to work. I just want end up with a zip file containing all of the jars needed to run the particular project I'm building.

How do people include version info into the build?

2006-11-07 Thread Christian Goetze
With this, I mean how do people ensure that the version number used in the build is available at runtime? Do people generate a property file with the version number and include it in the jar? Anyone have a nice little example for this? Thanks in advance... -- cg - an obvious maven2 newbie...

Re: PROPFIND + authorization failed

2006-11-07 Thread Barrie Treloar
On 11/7/06, jacob thomas [EMAIL PROTECTED] wrote: Hi group, I am also facing same kind of an issue when i try to use the http://.. protocol url, I am getting an error saying --- Provider message: The svn command

Re: PROPFIND + authorization failed

2006-11-07 Thread Jeremy Whitlock
In the event you are behind an MS ISA Proxy, use the following proxy to help you get through: http://freshmeat.net/projects/ntlmaps/ Run this proxy and tell your Subversion client, or Maven, to use the APS proxy. Take care, Jeremy On 11/7/06, Barrie Treloar [EMAIL PROTECTED] wrote: On

Re: [M2] additive module dependencies

2006-11-07 Thread Arnaud Bailly
Nathan Coast [EMAIL PROTECTED] writes: Hi, I'm fairly new to maven 2 and am having some trouble with module dependencies. I have a war project that builds fine when I build it in isolation. However, when it is built from the parent project (via the modules mechanism) all of the

Re: Looking for a simple maven assembly example

2006-11-07 Thread Craig McClanahan
On 11/7/06, Christian Goetze [EMAIL PROTECTED] wrote: I've read the better builds with maven book, I've looked at http://maven.apache.org/plugins/maven-assembly-plugin, but I'm still not sure I understand how this is supposed to work. I just want end up with a zip file containing all of the

Re: We need some explanation ...

2006-11-07 Thread Arnaud Bailly
Vincent Massol [EMAIL PROTECTED] writes: As I said I agree that there are valid use cases. Do you need this feature for your build? If so, please create a jira issue on the Clover plugin. You could also provide a patch if you need it. It should be quite easy I think: we'll need to create 2

Re: mvn site running test cases twice

2006-11-07 Thread jp4
This seems like a big issue since our nightly builds usually run all of our unit and container test cases. If we have to run the tests twice, it will almost double the build time which is already several hours. Is there any way to instrument without invoking the test cases? It seems like you

Re: Looking for a simple maven assembly example

2006-11-07 Thread Dirk Starke
Hello Christian, I am just starting to use Maven 2, also had some problems to figure this out, and perhaps I can help you. In my little project I created two files in the src/main/assembly directory of my project. The bin.xml looks like: ?xml version=1.0 encoding=UTF-8? assembly idbin/id

Re: profile activation based on environment variables

2006-11-07 Thread Arnaud Bailly
Haroon Rafique [EMAIL PROTECTED] writes: Hi Arnaud, Thanks for the reply, but I'm positive I want environment variables and not system properties. From http://maven.apache.org/settings.html env.X: Prefixing a variable with env. will return the shell's environment variable. For example,

  1   2   >