Create multi-module archetype with one module only active in a profile

2014-08-29 Thread Thomas Larsson
Hello all. I am trying to create an archetype with two modules, one main and one itest. I would like to have the itest module only active when run with a profile. In my original project, the root pom includes a part like this: itest itest

Re: [Surefire] Run executions in parallel

2014-08-29 Thread Andreas Gudian
Hi Leo, What's your use case? Could forkCount>1 and ${surefire.forkNumber} help you? Andreas Am Freitag, 29. August 2014 schrieb Fedorov, Leo : > Hi, > > Is there a way to make maven trigger different executions for surefire > plugin at the same time? > Or if not is there any other way to execu

Re: No test to run, No code to compile

2014-08-29 Thread Adrien Rivard
Hi, It works ok here, with both maven 3.1.0 and 3.2.1, oracle Java 1.7.0_45 from the logs it sounds like the jacoco maven plugin is failing, you may want to deactivate it to see if it goes better. On Thu, Aug 28, 2014 at 10:39 PM, tertelos wrote: > I expect some unit tests to run, here is t

RE: hi, I just want to get help about maven archetype,please help me

2014-08-29 Thread Martin Gainty
> Date: Fri, 29 Aug 2014 10:37:49 +0800 > From: tom.w...@embracesource.com > To: users@maven.apache.org > Subject: Re: hi, I just want to get help about maven archetype,please help me > > i can't, i think this parameter is used for generated whole archetype > project but this is not i need. MG>

Re: Create multi-module archetype with one module only active in a profile

2014-08-29 Thread Thomas Sundberg
On 29 August 2014 09:22, Thomas Larsson wrote: > Hello all. > > I am trying to create an archetype with two modules, one main and one itest. > I would like to have the itest module only active when run with a profile. > > In my original project, the root pom includes a part like this: > > >

Maven Release Plugin - release:branch: branch versions not set as expected

2014-08-29 Thread Mark Gibson
(please see bottom of email for environment/version information) I am trying to use the "release:branch" goal to create a branch, setting the version in the POMs in both the new branch and the working copies. No matter what properties I define on the command line, the release plugin is overridi

Re: Maven Release Plugin - release:branch: branch versions not set as expected

2014-08-29 Thread Robert Scholte
Hi, IMO branches are mutable, so it makes sense that this will always result in a -SNAPSHOT Only tags are considered immutable, so that will get a NON Snapshot. IIRC only the versions of one of the poms will be updated, either the one staying on the trunk or the one moved to the branch. th

Re: Create multi-module archetype with one module only active in a profile

2014-08-29 Thread Karl Heinz Marbaise
Hi, > I am trying to create an archetype with two modules, one main and one itest. I would like to have the itest module only active when run with a profile. In my original project, the root pom includes a part like this: itest itest

Re: Create multi-module archetype with one module only active in a profile

2014-08-29 Thread Thomas Larsson
Thanks Karl, This seems like the sensible thing to do, and yes, we have already encountered the headache of keeping the submodules version number in sync after a release :-) Perhaps this should have been obvious. Thanks for the help anyway! /Thomas On Fri, Aug 29, 2014 at 8:28 PM, Karl Heinz Ma

Re: Create multi-module archetype with one module only active in a profile

2014-08-29 Thread Karl Heinz Marbaise
Hi, a simple solution is to make such a module (sounds like an integration test module) just the profile inside the module so the execution of the integration tests is activated/deactivated by a profile things like maven-failsafe-plugin or whatever... This prevent problems with releases etc.

Re: compile:compile failure on sun proprietary implementation API usage

2014-08-29 Thread kvnsmnsn
Right now the code that's messing me up is: byte[] bytesTimestampUtf8Encrypted = cipher.doFinal(bytesTimestampUtf8Unencrypted); String secret = (new BASE64Encoder()).encodeBuffer(bytesTimestampUtf8Encrypted); How would I implement this with the Apache Commons Codec? -- View this message in co

Re: compile:compile failure on sun proprietary implementation API usage

2014-08-29 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/29/2014 1:39 PM, kvnsmnsn wrote: > Right now the code that's messing me up is: > > byte[] bytesTimestampUtf8Encrypted = > cipher.doFinal(bytesTimestampUtf8Unencrypted); String secret = > (new BASE64Encoder()).encodeBuffer(bytesTimestampUtf8Encry

Re: compile:compile failure on sun proprietary implementation API usage

2014-08-29 Thread Laird Nelson
On Mon, Jan 18, 2010 at 10:04 AM, Wayne Fay wrote: > There are numerous F/OSS implementations of BASE64Decoder that you can > just grab and use > See also: - http://docs.oracle.com/javase/8/docs/api/javax/xml/bind/DatatypeConverter.html#parseBase64Binary-java.lang.String- - http:/