Re: Running integration tests

2014-10-08 Thread Stephen Connolly
Then all I ask is you pay your newfound enlightenment forward... With this information you can answer some maven newbie questions on the M/L On Wednesday, 8 October 2014, Robert Mark Bram robertmarkb...@gmail.com wrote: Thank you Stephen - this was very useful and came just when I am ready to

Re: Running integration tests

2014-10-08 Thread Anders Hammar
So failsafe will pickup ITblahblah.java BlahblahIT.java And a third form that I forget *ITCase.java http://maven.apache.org/surefire/maven-failsafe-plugin/integration-test-mojo.html#includes /Anders 3) Run integration tests after compile? The real reason for question 2

Re: Running integration tests

2014-10-08 Thread Stephen Connolly
Thanks Anders... It can be hard to look that stuff on the phone... I remember wanting to have a symmetry with the Surefire patterns of Test*.java; *Test.java; *TestCase.java but I couldn't recall what I did for the last one! On 8 October 2014 07:19, Anders Hammar and...@hammar.net wrote:

Re: maven deploy artifacts to Nexus repository

2014-10-08 Thread DJViking
I decided to start using HTTP/HTTPS instead of SCP for uploading and downloading artefacts from my Nexus server. However switching the URL didn't work. I have created a user in Nexus called build. In my settings.xml I have the following configuration taken from

Re: maven deploy artifacts to Nexus repository

2014-10-08 Thread Anders Hammar
What's the id defined in the distributionMgmt section? It should map to the id for the server creds defined in settings.xml ('nexus'). /Anders On Wed, Oct 8, 2014 at 11:14 AM, DJViking sverre@gmail.com wrote: I decided to start using HTTP/HTTPS instead of SCP for uploading and downloading

Re: Running integration tests

2014-10-08 Thread Karl Heinz Marbaise
Hi Robert, On 10/6/14 11:31 AM, Robert Mark Bram wrote: Hi All, A couple of questions about integration tests.. 1) Default vs non-default plugins I needed to include the maven-failsafe-plugin plugin to introduce integration tests into my project, but I didn't need to introduce the

Re: maven deploy artifacts to Nexus repository

2014-10-08 Thread DJViking
That was it. snapshotRepository idsnapshots/id urlhttp://maven-vm1:8081/nexus/content/repositories/snapshots/url /snapshotRepository repository idreleases/id urlhttp://maven-vm1:8081/nexus/content/repositories/releases/url

Re: maven deploy artifacts to Nexus repository

2014-10-08 Thread DJViking
Trying to also use http with Nexus site deployment didn't work. [INFO] --- maven-site-plugin:3.4:deploy (default-deploy) @ MyApp --- http://maven-vm1:8081/nexus/content/sites/site/MyApp/ - Session: Opened [INFO] Pushing /home/sverre/workspace/MyApp-R11/target/site [INFO] to

Re: WAR contains SNAPSHOT JARs with timestamps

2014-10-08 Thread Hilton Wichwski Silva
Why you can´t use timestamped (SNAPSHOT) jars? Anyway, maybe this can help you http://stackoverflow.com/questions/1243574/how-to-stop-maven-artifactory-from-keeping-snapshots-with-timestamps 2014-10-08 0:21 GMT-03:00 captainslow srinivas.nag...@gmail.com: I tried adding the following, but

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

2014-10-08 Thread laredotornado-3
Hi, I’m using Maven 3.2.3, Spring 3.2.11.RELEASE, JUnit 4.11, Java 6, and the Surefire/Failsafe 2.17 plugins. I’m trying to figure out why when running a couple of modules in parallel, it takes much longer than when I run them individually. I’m trying to figure out ways to speed up my build. I

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

2014-10-08 Thread Karl Heinz Marbaise
Hi, have paid attention to forkCount ? How did you set it? How many core's do you have ? On 10/8/14 8:44 PM, laredotornado-3 wrote: Hi, I’m using Maven 3.2.3, Spring 3.2.11.RELEASE, JUnit 4.11, Java 6, and the Surefire/Failsafe 2.17 plugins. I’m trying to figure out why when running a

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

2014-10-08 Thread Jörg Schaible
Hi, laredotornado-3 wrote: Hi, I’m using Maven 3.2.3, Spring 3.2.11.RELEASE, JUnit 4.11, Java 6, and the Surefire/Failsafe 2.17 plugins. I’m trying to figure out why when running a couple of modules in parallel, it takes much longer than when I run them individually. I’m trying to

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

2014-10-08 Thread laredotornado-3
Hi, Karl, to answer your question, I only have one processor on my MacBook Pro (10.9.5), which is a 2.2 GHz Intel Core i7. I haven't set forkCount in either my surefire or failsafe plugin (configs listed in question) because I was under the impression that the -T option took care of that. Jörg,

How do I test client and server since they form circular dependencies?

2014-10-08 Thread Kevin Burton
I have a client and server in a multi-module. How do I test them ? I’d like to start the server in a test, then run the client against it. Then I’d like to run the client in a test, and have to test a server… maybe one idea is to build a meta-module like foo-client-server-test which as a

Re: How do I test client and server since they form circular dependencies?

2014-10-08 Thread Bernd Eckenfels
Am Wed, 8 Oct 2014 19:53:20 -0700 schrieb Kevin Burton bur...@spinn3r.com: maybe one idea is to build a meta-module like foo-client-server-test which as a dependency on foo-client and foo-server. then they could each test each other? Seems a bit of a hack but it should work .. Yes, have an

Re: How do I test client and server since they form circular dependencies?

2014-10-08 Thread Barrie Treloar
On 9 October 2014 13:49, Bernd Eckenfels e...@zusammenkunft.net wrote: Am Wed, 8 Oct 2014 19:53:20 -0700 schrieb Kevin Burton bur...@spinn3r.com: maybe one idea is to build a meta-module like foo-client-server-test which as a dependency on foo-client and foo-server. then they could each