Re: Eclipse Luna and M2Extra

2014-10-09 Thread Dan Tran
Thanks Anders -D On Thu, Oct 9, 2014 at 10:16 PM, Anders Hammar wrote: > You will probably have more luck on the m2e list than here on the Maven > list. > > /Anders (mobile) > Den 10 okt 2014 03:42 skrev "Dan Tran" : > > > I am try to install m2extra with eclipse luna using > > http://ifedorenk

Re: Eclipse Luna and M2Extra

2014-10-09 Thread Anders Hammar
You will probably have more luck on the m2e list than here on the Maven list. /Anders (mobile) Den 10 okt 2014 03:42 skrev "Dan Tran" : > I am try to install m2extra with eclipse luna using > http://ifedorenko.github.com/m2e-extras/ > > Is it still a valid updatesite, I am running into dependency

Re: hidden and ignore files in an archetype?

2014-10-09 Thread Maven User
Does maven have standard set of exclude patterns? For giggles, working off the standard ANT exclusion set (because I can't find the Maven one anywhere), I created a "CVS" directory and it TOO is ignored. Anyone? On Thu, Oct 9, 2014 at 11:13 PM, Maven User wrote: > Strangely, in my archetype-met

Re: hidden and ignore files in an archetype?

2014-10-09 Thread Maven User
Strangely, in my archetype-metadata.xml file - if I leave ".gitignore" but on the ACTUAL file - if I strip off the "." - maven seems to find it. On Thu, Oct 9, 2014 at 10:47 PM, Maven User wrote: > Hi all - > > I don't seem to be able to include .gitignore in my archetype. > > For testing, I cr

hidden and ignore files in an archetype?

2014-10-09 Thread Maven User
Hi all - I don't seem to be able to include .gitignore in my archetype. For testing, I created a FOO file right next to the .gitignore and in the unfiltered fileset, I configured it to pick up both ".gitignore" and "FOO" and only FOO shows up in the project generated from the archetype. Is there

Eclipse Luna and M2Extra

2014-10-09 Thread Dan Tran
I am try to install m2extra with eclipse luna using http://ifedorenko.github.com/m2e-extras/ Is it still a valid updatesite, I am running into dependency issue error is Installing com.ifedorenko.m2e.mavendev.feature.feature.group 0.3.0.201410040035. Cannot complete the install because one or mor

What is the minimum required config for the Maven Cobertura plugin to instrument, run, and generate xml and html reports?

2014-10-09 Thread KARR, DAVID
I have a working configuration that runs unit tests with Cobertura using Maven. I've always been a little mystified by Maven phases and how various plugins integrate with it (and I've read the user guide). I'd like to understand the minimum required configuration to get Cobertura automatically

Re: maven deploy artifacts to Nexus repository

2014-10-09 Thread Manfred Moser
Rather than having two different server sections in settings.xml it is better to use one and the same id in the distribtutionMgt in the pom if they are for the same server. So e.g. if you deploy everything to nexus it could look like this nexus http://localhost:8081/nexus/conte

Re: maven deploy artifacts to Nexus repository

2014-10-09 Thread Manfred Moser
For some reason the build extension for Maven site deployment no longer works with latests Maven and site plugins. I found that the best way to configure it is to add the webdav support as a dependency to the site plugin. And have not yet been able to trace down where the problem lies.. I have

Re: Why do running modules in parallel take longer to execute than running them in sequence?

2014-10-09 Thread laredotornado-3
Kristian, Your 'actually make the "argLine" command work' comment is killing me. What are you talking about? Everything I have read indicates that the correct way to set memory for surefire/failsafe plugins is to have this in the configuration -- "-Xmx4096m". Laird, Thanks for your blog post.

Re: Why do running modules in parallel take longer to execute than running them in sequence?

2014-10-09 Thread Laird Nelson
On Thu, Oct 9, 2014 at 10:48 AM, Kristian Rosenvold < kristian.rosenv...@gmail.com> wrote: > I suggest you set forkCount to 1 on surefire/failsafe, which will run > all the tests in separate VMs and *also* actually make the "argLine" > command work. Currently, you are not using 4GB for your tests.

Re: Why do running modules in parallel take longer to execute than running them in sequence?

2014-10-09 Thread Kristian Rosenvold
I suggest you set forkCount to 1 on surefire/failsafe, which will run all the tests in separate VMs and *also* actually make the "argLine" command work. Currently, you are not using 4GB for your tests. Kristian 2014-10-09 16:51 GMT+02:00 laredotornado-3 : >> I suspect you're simply trashing your

Re: Making an Instrumentation Plugin to Instrument Its Own Tests

2014-10-09 Thread Jeff MAURY
project.build.testOutputDirectory Jeff On Thu, Oct 9, 2014 at 3:48 PM, Volkan YAZICI wrote: > Hello, > > I have a Maven plugin that instruments the classes in > *project.build.directory*. Further, I have a unit test that checks whether > the plugin kicks in and instruments the classes right, or

Re: Why do running modules in parallel take longer to execute than running them in sequence?

2014-10-09 Thread laredotornado-3
> I suspect you're simply trashing your os or the VM. Look at disk/memory usage indicators OS level Is there any way to get the modules I'm running in parallel to use different heaps or VMs so they are not stepping on each other? I allocated 4 GB of memory and my JUnit tests aren't doing taht mu

Making an Instrumentation Plugin to Instrument Its Own Tests

2014-10-09 Thread Volkan YAZICI
Hello, I have a Maven plugin that instruments the classes in *project.build.directory*. Further, I have a unit test that checks whether the plugin kicks in and instruments the classes right, or not. When I run *mvn install*, the instrumentation does not kick in since the plugin instruments the cla

Re: What packaging to use for a sub-module that just runs integration tests?

2014-10-09 Thread Stephen Connolly
On 9 October 2014 14:01, Robert Mark Bram wrote: > > Well the question you really will want to know is: > > > > "do I want any other modules to depend on the integration tests being > > successful?" > > The Hatter opened his eyes very wide on hearing this; but all he said > was, "Why is a mvn lik

Re: What packaging to use for a sub-module that just runs integration tests?

2014-10-09 Thread Robert Mark Bram
> Well the question you really will want to know is: > > "do I want any other modules to depend on the integration tests being > successful?" The Hatter opened his eyes very wide on hearing this; but all he said was, "Why is a mvn like a writing-desk?" > If the answer is "no" then you will just c

Re: What packaging to use for a sub-module that just runs integration tests?

2014-10-09 Thread Robert Mark Bram
> I would try to skip the deploy goal for this particular plugin > see http://maven.apache.org/plugins/maven-deploy-plugin/faq.html#skip Ah, yes - this is what I needed. So still use jar packaging but skip the deploy phase. Rob :) ---

Re: What packaging to use for a sub-module that just runs integration tests?

2014-10-09 Thread Stephen Connolly
Well the question you really will want to know is: "do I want any other modules to depend on the integration tests being successful?" If the answer is "yes" then you will most likely need to deploy something (pom) and that may require adding the missing bindings into the lifecycle. If the answer

Re: What packaging to use for a sub-module that just runs integration tests?

2014-10-09 Thread Adrien Rivard
Hi, I would try to skip the deploy goal for this particular plugin see http://maven.apache.org/plugins/maven-deploy-plugin/faq.html#skip On Thu, Oct 9, 2014 at 10:23 AM, Robert Mark Bram < robertmarkbram+mailing.li...@gmail.com> wrote: > My parent POM declares this Selenium project in a profile

What packaging to use for a sub-module that just runs integration tests?

2014-10-09 Thread Robert Mark Bram
My parent POM declares this Selenium project in a profile. default-build true FooProject-Model FooProject-Thermal FooProject-ViewController FooProject-API-V1 FooProject-Monitoring FooProject-ADF