Re: Releasing/Deploying multiple artefacts with maven-assembly-plugin : what is your opinion ?

2011-02-04 Thread Frederic Camblor
i, Feb 4, 2011 at 2:00 AM, Wendy Smoak wrote: > On Thu, Feb 3, 2011 at 6:48 PM, Frederic Camblor > wrote: > > Nobody has any piece of advice against these options ? :( > > When you tell us you can't change anything, there's not much to say. > > Either move the c

Re: Releasing/Deploying multiple artefacts with maven-assembly-plugin : what is your opinion ?

2011-02-03 Thread Frederic Camblor
Nobody has any piece of advice against these options ? :( On Sun, Jan 30, 2011 at 3:13 AM, Frederic Camblor wrote: > Hi all ! > > My context : > - 1 pom Artefact > - This artefact generate N zip artefacts via the maven-assembly-plugin. > These N artefact are contextual

Releasing/Deploying multiple artefacts with maven-assembly-plugin : what is your opinion ?

2011-01-29 Thread Frederic Camblor
Hi all ! My context : - 1 pom Artefact - This artefact generate N zip artefacts via the maven-assembly-plugin. These N artefact are contextualized upon a target deployment environnment. - N = ~5 for the moment, but it can evolve depending on the number of environnment that will grow in the future

Re: Why would maven look for a newer version of a plugin?

2010-11-12 Thread Frederic Camblor
in case I didn't make it clear, I am looking at > effective pom. Our project POM does not even have an entry for javadoc > plugin under ; it's inherited from SuperPOM. > > Sahoo > > On Friday 12 November 2010 08:53 PM, Frederic Camblor wrote: > >> Hi, >>

Re: Why would maven look for a newer version of a plugin?

2010-11-12 Thread Frederic Camblor
Hi, Is your snippet extracted from the or the pom section ? Check that your version is provided on both of these sections (even if you provided it in /project/build/pluginManagement) Frédéric On Fri, Nov 12, 2010 at 3:29 PM, Sanjeeb Sahoo wrote: > I would like someone to help us understand

Re: Maven release:branch commiting things on tags

2010-11-09 Thread Frederic Camblor
-DupdateWorkingCopyVersion=false doesn't solve the problem. Just filed a JIRA : http://jira.codehaus.org/browse/MRELEASE-612 On Mon, Nov 8, 2010 at 11:35 PM, Jon Paynter wrote: > > I ran into simmilar behavior when trying to persuade the plugin to make me > a > new branch. The plugin seems to

Re: Maven release:branch commiting things on tags

2010-11-02 Thread Frederic Camblor
Really nobody has encountered the problem ? Should I fill an issue then ? Frederic On Fri, Oct 15, 2010 at 7:08 PM, Frederic Camblor wrote: > Hi maven users ! > > I learned something some days ago, about maven-release-plugin about its > branch goal. > > Currently, I execute

Re: [ANN] Maven Release Plugin 2.1 Released

2010-11-02 Thread Frederic Camblor
+1 on this How could we re-open the issue ? Frédéric On Wed, Oct 20, 2010 at 6:25 PM, Lars Fischer wrote: > > [MRELEASE-128] - SCM properties being replaced during release:perform > > This is still not working for me: > http://jira.codehaus.org/browse/MRELEASE-128 > > Regards, > Lars >

Re: Maven release:branch commiting thinks on tags

2010-10-21 Thread Frederic Camblor
Up ? On Fri, Oct 15, 2010 at 7:08 PM, Frederic Camblor wrote: > Hi maven users ! > > I learned something some days ago, about maven-release-plugin about its > branch goal. > > Currently, I execute following command line : > > mvn --batch-mode org.apache.maven.plugins:

Re: maven3 profile activation by absense of property

2010-10-21 Thread Frederic Camblor
Hi ! With !key I don't reproduce the problem with maven 3, but I reproduce it with mvnsh 0.10 (based on maven 3.0-alpha6) context history. myprofile !blah [mvn 2.2.1] - mvn help:active-profiles >> shows myprofile is activated - mvn help:active-profiles -Dblah >> shows m

Maven release:branch commiting thinks on tags

2010-10-15 Thread Frederic Camblor
Hi maven users ! I learned something some days ago, about maven-release-plugin about its branch goal. Currently, I execute following command line : mvn --batch-mode org.apache.maven.plugins:maven-release-plugin:2.0:branch -DautoVersionSubmodules=true -DtagBase=tags/ -Dtag=1.0.0 -DupdateBranchVer

Re: maven is a swamp

2010-10-14 Thread Frederic Camblor
iew. Frédéric On Fri, Oct 15, 2010 at 12:30 AM, Kenneth McDonald < kenneth.m.mcdon...@sbcglobal.net> wrote: > > On Oct 14, 2010, at 5:09 PM, Frederic Camblor wrote: > > > Hi Kenneth ! > > > > Drawback of using a Python/YAML like solution is code completion. > &

Re: maven is a swamp

2010-10-14 Thread Frederic Camblor
Hi Kenneth ! Drawback of using a Python/YAML like solution is code completion. I remember some discussion where Jason was planning to add XML namespaces for plugins, allowing to define specific schemas for tags. We are OK, this is not done yet, but the perspective is interesting to my mind (it w

Re: Maven generated MANIFEST.MF: Commit or ignore?

2010-10-08 Thread Frederic Camblor
In some cases, if you're strongly relying on your IDE (this is the case for me with eclipse RSA & websphere integration), it can be useful to commit this on your SCM. But generally, everything generated should be ignored :-) Frédéric On Fri, Oct 8, 2010 at 2:03 PM, Yanko, Curtis wrote: > They

Re: using properties from external files in pom.xml

2010-08-27 Thread Frederic Camblor
Hi, Looks like this maven plugin could feet your needs : http://haroon.sis.utoronto.ca/zarar/properties-maven-plugin/index.html I planned to use it in a near future but I'm asking myself some questions : When this plugin is p

Re: Problems with Maven & Windows network drives

2010-07-28 Thread Frederic Camblor
r weird interaction with the shared folders either in > Windows, or VirtualBox (or both). Since the local repo is expected to > be local, it's not likely we would make any special changes to make > remote mounting work officially. > > On Tue, Jul 20, 2010 at 2:14 PM, Frederic Cam

Problems with Maven & Windows network drives

2010-07-20 Thread Frederic Camblor
Hi all ! I'm working under Windows via VirtualBox, and I'd like to not put sensible/weight data on it to preserve image size/loss. So I ended up creating a network drive between my host and guest OS, putting project & maven data on it. And ... it looks like maven is acting very strangely with net

Re: Maven plugins orchestrator

2010-05-17 Thread Frederic Camblor
> Maven has a standardised lifecycle for a reason if you don't like the > standardised lifecycle, either use ANT or change your preferences > > ;-) > > -Stephen > > On 17 May 2010 08:42, Frederic Camblor wrote: > > > Hi all, > > > > I'm wo

Maven plugins orchestrator

2010-05-17 Thread Frederic Camblor
Hi all, I'm wondering if something in maven (a plugin for example) could help me to chain different plugin goals, not bounded to the default maven lifecycle. My particular example is the fact that I'd want sort of maven alias allowing to say "when I launch 'mvn ' I'd want to chain clean:clean, de

Re: Migration to Maven ?!

2010-05-07 Thread Frederic Camblor
[Joke] Hey ! Marty McFly should be able to see in the future with its dolorean ! By doing this, you should know when m3 will be released :-) [/joke] Joke apart, using Freestyle jobs doesn't allow to use maven oriented plugin in the builds (like release hudson plugin). To my part, I won't migrate w

Re: [ANN] Apache Maven 3.0-beta-1 Released

2010-04-29 Thread Frederic Camblor
For you information, Because of http://jira.codehaus.org/browse/MRESOURCES-104, there will be regressions in 3.0-beta1 on filtering of ressources files containing a "@" inside it (like urls or datasources) if you relies on the super pom definition of the maven-resources-plugin (aligned from 2.3 to

Re: [ANN] New repository search site - srchmvn.com

2010-04-09 Thread Frederic Camblor
+1 with Raphael I tried 1-2 searches this day ... and went back on mvnsearch and mvnrepository because of the "too many results" message :-( Frédéric On Fri, Apr 9, 2010 at 8:00 PM, Raphael Ackermann < raphael.ackerm...@gmail.com> wrote: > I like the sonatype one as well. But if you search for

What is the meaning of "OldArchetype" when using an archetype ?

2010-02-27 Thread Frederic Camblor
Hi maven users ! I just tried using the maven-archetype-plugin:2.0-alpha-4:generate goal and I'm wondering what is the meaning about the underlying message when using my own made archetype for generating an instance of my project : [INFO] ---

Re: [Cobertura] Multimodules : cobertura replaces artifact dependency by target/generated-classes/cobertura

2010-01-25 Thread Frederic Camblor
No idea about my issue ? :-( On Thu, Jan 21, 2010 at 11:48 AM, Frederic Camblor wrote: > Hi all :-) > > I have a multimodule project, saying : > - ProjectParent > --- ProjectEAR > --- ProjectEJB > --- ProjectWeb (depends on ProjectEJB) > > When I launch mvn -X cobertur

[Cobertura] Multimodules : cobertura replaces artifact dependency by target/generated-classes/cobertura

2010-01-21 Thread Frederic Camblor
Hi all :-) I have a multimodule project, saying : - ProjectParent --- ProjectEAR --- ProjectEJB --- ProjectWeb (depends on ProjectEJB) When I launch mvn -X cobertura:cobertura I can see the following : [INFO] [compiler:compile] [DEBUG] Using compiler 'javac'. [DEBUG] Source directories: [D:\works

Re: "incubating" tests

2009-12-22 Thread Frederic Camblor
; you can keep them in src/test/java and they will be compiled, but surefire > will not execute them > > 2009/12/22 Frederic Camblor > > > Hi all ! > > > > I'm facing a problem which looks simple but I've not succeeded resolving > it > &

"incubating" tests

2009-12-22 Thread Frederic Camblor
Hi all ! I'm facing a problem which looks simple but I've not succeeded resolving it yet :-) I'd like to create "incubation tests" in my project. "incubation tests" are : - part of tests hierarchy, but dissociated with test classes (that is to say, I will locate them in something like src/incuba

Re: m2eclipse problem

2009-12-13 Thread Frederic Camblor
Hi, Maybe you have "download repository index updates at startup" unchecked in your maven preferences ? I think M2Eclipse use these index to search for artefacts when adding dependency ... Frédéric On Sun, Dec 13, 2009 at 10:56 AM, Anders Hammar wrote: > Nabble shows it being active: > http://

Re: maven 3 inheritance

2009-12-09 Thread Frederic Camblor
+1 with Stephen We faced the problem with release plugin and, since then, are "hard coding" version in the artefacts. Frederic On Wed, Dec 9, 2009 at 9:03 AM, Stephen Connolly < stephen.alan.conno...@gmail.com> wrote: > AFAIK using ${project.versopm} is not the preferred way. The release > plu

Re: Surefire 2.5 release

2009-10-13 Thread Frederic Camblor
Agreed with Jason ... Migration to maven 2.0.10 was really impacting for us, since super POM artefacts was upgraded (especially surefire plugin to 2.4.3 which implied failures in our tests because system properties are no longer passed

Cobertura in EAR artefacts

2009-09-14 Thread Frederic Camblor
Hi folks ! I'm facing a problematic concerning the cobertura report. Suppose we have an EAR Application with : - A Business module - A Web module Web layer uses the Business Layer. Unit tests are made in both Business and WEB modules. When I run tests on WEB module, some Business classes are cal

Re: surefire and spring - Autowiring of methods failed

2009-07-05 Thread Frederic Camblor
Looks like you have "several" UsuarioFacade beans in your applicationContext.xml file ...Simpliest workaround is to use "autowire by name" instead of "autowire by type" (by default) in your test configuration. I personnaly switch this by calling 'setAutowireMode(AUTOWIRE_BY_NAME)" in my test const

Re: surefire plugin - test a specified method only instead of a specified class using the test parameter

2009-05-03 Thread Frederic Camblor
Hi Kostas, As Wayne answered, this would rather be a Junit question than a maven question ;-) With junit 3, you can override the "public void run(TestResult)" : inside this method, the getName() method will return the current "test name" which corresponds to the test method to execute for the cur

Re: Best practices for avoiding duplicate configuration files

2009-04-29 Thread Frederic Camblor
2009/4/29 Ceki Gulcu > > > But what is annoying to me is that these redundant files > > are included when they should not, because from a logical point of > > view project C does not need the config files of project A or B. > => This means you should go into a D project (Stephen proposal) ... ev

Re: maven 2.1.0 not passing on system properties to java virtual machine

2009-04-20 Thread Frederic Camblor
John, I am in the same case of edward and want to "enable/disable" test "families" while executing my maven builds. For instance, I'll want to execute every "data access tests" once per day -and not after each commits because it takes time !- For some other tests, I'd like to execute only selenium

Re: maven-surefire-plugin: run unit tests from classes in a jar, not a directory

2009-03-27 Thread Frederic Camblor
Hi Anshul, This is pretty funny ... I wondered the same questions 2 weeks ago :-) ... And I think I can answer since while reading surefire plugin source code, I sadly saw use of directory test suite is hardcoded in SurefirePlugin.constructSurefireBooter() (search use of string "org.apache.maven.s