AW: Need advice automating a Java test suite.

2014-01-09 Thread Christofer Dutz
Hi Todd,

we use a combination of the cargo, antrun and surefire plugin for this. 

I dumped the pom for one of our Projects in my Confluence, so feel free to have 
a look:
https://dev.c-ware.de/confluence/display/PUBLIC/Maven+setup+for+Integrationtesting

In general we use:
- Cargo to install/configure/deploy/start/stop the application.
- Antrun is used to Setup the Database with Default values.
- Surefire is configured to run tests ending with IT after starting the 
Container and before stopping it again.

Perhaps this helps.

Chris


Von: Todd Chapman t...@chaka.net
Gesendet: Mittwoch, 8. Januar 2014 23:08
An: users@maven.apache.org
Betreff: Need advice automating a Java test suite.

Hello,

We have a java multi-module project that has a somewhat painful to run test
suite that I would like to get under control using Maven.

Currently it takes 5 separate Maven commands to setup, run, and teardown
all the tests and test databases. I'd like to get this down to one command.
Also I would like this structured so that individual parts of the process
can be run separately to aid in debugging problems.

The pom has 1 profile for each part of the task, all bound to the test
goal:

mvn clean test -P test-setup-1,local-enterprise-test-db  (exec:java plugin
to setup up a database)
mvn test -P test-setup-2,local-enterprise-test-db   (exec:java
plugin to setup up a 2nd database)
mvn test -P test-design,local-enterprise-test-db(surefire
plugin to run a subset of the tests with maven properties set)
mvn test -P test-transactional,local-enterprise-test-db   (surefire plugin
to run a different subset of the tests with different maven properties set)
mvn test -P test-tear-down,local-enterprise-test-db(exec:java
plugin to teardown the databases)


The problem I am running into is how to get this organized so that it all
happens with 1 command. It seems nearly unpossible.

Can anyone offer any advice on how to accomplish this? Pointer to relevant
articles, blog posts, stackoverflow questions would be most appreciated.

Thanks!

-Todd

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Need advice automating a Java test suite.

2014-01-09 Thread Anders Hammar

 - Surefire is configured to run tests ending with IT after starting the
 Container and before stopping it again.


You should use the failsafe plugin instead. It is specifically designed for
ITs.

/Anders



 Perhaps this helps.

 Chris

 
 Von: Todd Chapman t...@chaka.net
 Gesendet: Mittwoch, 8. Januar 2014 23:08
 An: users@maven.apache.org
 Betreff: Need advice automating a Java test suite.

 Hello,

 We have a java multi-module project that has a somewhat painful to run test
 suite that I would like to get under control using Maven.

 Currently it takes 5 separate Maven commands to setup, run, and teardown
 all the tests and test databases. I'd like to get this down to one command.
 Also I would like this structured so that individual parts of the process
 can be run separately to aid in debugging problems.

 The pom has 1 profile for each part of the task, all bound to the test
 goal:

 mvn clean test -P test-setup-1,local-enterprise-test-db  (exec:java plugin
 to setup up a database)
 mvn test -P test-setup-2,local-enterprise-test-db   (exec:java
 plugin to setup up a 2nd database)
 mvn test -P test-design,local-enterprise-test-db(surefire
 plugin to run a subset of the tests with maven properties set)
 mvn test -P test-transactional,local-enterprise-test-db   (surefire plugin
 to run a different subset of the tests with different maven properties set)
 mvn test -P test-tear-down,local-enterprise-test-db(exec:java
 plugin to teardown the databases)


 The problem I am running into is how to get this organized so that it all
 happens with 1 command. It seems nearly unpossible.

 Can anyone offer any advice on how to accomplish this? Pointer to relevant
 articles, blog posts, stackoverflow questions would be most appreciated.

 Thanks!

 -Todd

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




Re: release-plugin non-interactive release and system properties

2014-01-09 Thread thorsten . heit
Hi Steve,

 I’m confused as to how the version number in a pom file and the 
 system properties like -DdevelopmentVersion=2.0-SNAPSHOT and -
 DreleaseVersion=1.2
 interact.
 When I run a mvn –B release:prepare –DdryRun=true –Dtag=1.2 -
 DdevelopmentVersion=2.0-SNAPSHOT -DreleaseVersion=1.2 for a pom.xml 
 where version1.0/version and packagingjar/packaging the 
 resulting jar file uses the pom version number not the command line 
 version, i.e xxx-1.0.jar . Is this expected behaviour and if so what
 is the point of specifying the versions on the command line ?

AFAIK this will only work when you have a snapshot version in your pom, 
i.e. version1.0-SNAPSHOT/version.


Regards

Thorsten


RE: release-plugin non-interactive release and system properties

2014-01-09 Thread Weston, Steve
Thanks  for the reply. Unfortunately I get the same result when using a 
SNAPSHOT in the version tag too. Is my assumption that the command line 
arguments override the values in the pom correct ?

Steve Weston
Principal Software Engineer

PAREXEL International
Perceptive Informatics UK Ltd
8th Floor, Centre City Tower
5/7 Hill Street
Birmingham, UK, B5 4UA

T +44.(0)121.616.5600
steve.wes...@parexel.com
www.PAREXEL.com



This communication, including any attachments, is intended only for the person 
or entity to which it is addressed and may contain confidential material. Any 
review, retransmission, distribution or other use of this information by 
persons or entities other than the intended recipient is prohibited. If you 
received this in error, please destroy any copies, contact the sender and 
delete the material from any computer.  Thank you.

Perceptive Informatics UK Limited (Company No. 03675405) is registered in 
England and Wales with a registered office at The Quays, 101-105 Oxford Road, 
Uxbridge, Middlesex, United Kingdom UB8 1LZ

-Original Message-
From: thorsten.h...@vkb.de [mailto:thorsten.h...@vkb.de] 
Sent: 09 January 2014 09:22
To: Maven Users List
Subject: Re: release-plugin non-interactive release and system properties

Hi Steve,

 I’m confused as to how the version number in a pom file and the system 
 properties like -DdevelopmentVersion=2.0-SNAPSHOT and -
 DreleaseVersion=1.2
 interact.
 When I run a mvn –B release:prepare –DdryRun=true –Dtag=1.2 - 
 DdevelopmentVersion=2.0-SNAPSHOT -DreleaseVersion=1.2 for a pom.xml 
 where version1.0/version and packagingjar/packaging the 
 resulting jar file uses the pom version number not the command line 
 version, i.e xxx-1.0.jar . Is this expected behaviour and if so what 
 is the point of specifying the versions on the command line ?

AFAIK this will only work when you have a snapshot version in your pom, i.e. 
version1.0-SNAPSHOT/version.


Regards

Thorsten


Re: release-plugin non-interactive release and system properties

2014-01-09 Thread Stephen Connolly
did you remove release.properties first... because once that file is
sitting there all bets are off


On 9 January 2014 10:29, Weston, Steve steve.wes...@perceptive.com wrote:

 Thanks  for the reply. Unfortunately I get the same result when using a
 SNAPSHOT in the version tag too. Is my assumption that the command line
 arguments override the values in the pom correct ?

 Steve Weston
 Principal Software Engineer

 PAREXEL International
 Perceptive Informatics UK Ltd
 8th Floor, Centre City Tower
 5/7 Hill Street
 Birmingham, UK, B5 4UA

 T +44.(0)121.616.5600
 steve.wes...@parexel.com
 www.PAREXEL.com



 This communication, including any attachments, is intended only for the
 person or entity to which it is addressed and may contain confidential
 material. Any review, retransmission, distribution or other use of this
 information by persons or entities other than the intended recipient is
 prohibited. If you received this in error, please destroy any copies,
 contact the sender and delete the material from any computer.  Thank you.

 Perceptive Informatics UK Limited (Company No. 03675405) is registered in
 England and Wales with a registered office at The Quays, 101-105 Oxford
 Road, Uxbridge, Middlesex, United Kingdom UB8 1LZ

 -Original Message-
 From: thorsten.h...@vkb.de [mailto:thorsten.h...@vkb.de]
 Sent: 09 January 2014 09:22
 To: Maven Users List
 Subject: Re: release-plugin non-interactive release and system properties

 Hi Steve,

  I’m confused as to how the version number in a pom file and the system
  properties like -DdevelopmentVersion=2.0-SNAPSHOT and -
  DreleaseVersion=1.2
  interact.
  When I run a mvn –B release:prepare –DdryRun=true –Dtag=1.2 -
  DdevelopmentVersion=2.0-SNAPSHOT -DreleaseVersion=1.2 for a pom.xml
  where version1.0/version and packagingjar/packaging the
  resulting jar file uses the pom version number not the command line
  version, i.e xxx-1.0.jar . Is this expected behaviour and if so what
  is the point of specifying the versions on the command line ?

 AFAIK this will only work when you have a snapshot version in your pom,
 i.e. version1.0-SNAPSHOT/version.


 Regards

 Thorsten



RE: release-plugin non-interactive release and system properties

2014-01-09 Thread Weston, Steve
That is indeed the problem, thanks for assistance.

Steve Weston
Principal Software Engineer

PAREXEL International
Perceptive Informatics UK Ltd
8th Floor, Centre City Tower
5/7 Hill Street
Birmingham, UK, B5 4UA

T +44.(0)121.616.5600
steve.wes...@parexel.com
www.PAREXEL.com



This communication, including any attachments, is intended only for the person 
or entity to which it is addressed and may contain confidential material. Any 
review, retransmission, distribution or other use of this information by 
persons or entities other than the intended recipient is prohibited. If you 
received this in error, please destroy any copies, contact the sender and 
delete the material from any computer.  Thank you.

Perceptive Informatics UK Limited (Company No. 03675405) is registered in 
England and Wales with a registered office at The Quays, 101-105 Oxford Road, 
Uxbridge, Middlesex, United Kingdom UB8 1LZ


-Original Message-
From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] 
Sent: 09 January 2014 10:35
To: Maven Users List
Subject: Re: release-plugin non-interactive release and system properties

did you remove release.properties first... because once that file is sitting 
there all bets are off


On 9 January 2014 10:29, Weston, Steve steve.wes...@perceptive.com wrote:

 Thanks  for the reply. Unfortunately I get the same result when using 
 a SNAPSHOT in the version tag too. Is my assumption that the command 
 line arguments override the values in the pom correct ?

 Steve Weston
 Principal Software Engineer

 PAREXEL International
 Perceptive Informatics UK Ltd
 8th Floor, Centre City Tower
 5/7 Hill Street
 Birmingham, UK, B5 4UA

 T +44.(0)121.616.5600
 steve.wes...@parexel.com
 www.PAREXEL.com



 This communication, including any attachments, is intended only for 
 the person or entity to which it is addressed and may contain 
 confidential material. Any review, retransmission, distribution or 
 other use of this information by persons or entities other than the 
 intended recipient is prohibited. If you received this in error, 
 please destroy any copies, contact the sender and delete the material from 
 any computer.  Thank you.

 Perceptive Informatics UK Limited (Company No. 03675405) is registered 
 in England and Wales with a registered office at The Quays, 101-105 
 Oxford Road, Uxbridge, Middlesex, United Kingdom UB8 1LZ

 -Original Message-
 From: thorsten.h...@vkb.de [mailto:thorsten.h...@vkb.de]
 Sent: 09 January 2014 09:22
 To: Maven Users List
 Subject: Re: release-plugin non-interactive release and system 
 properties

 Hi Steve,

  I'm confused as to how the version number in a pom file and the 
  system properties like -DdevelopmentVersion=2.0-SNAPSHOT and -
  DreleaseVersion=1.2
  interact.
  When I run a mvn -B release:prepare -DdryRun=true -Dtag=1.2 - 
  DdevelopmentVersion=2.0-SNAPSHOT -DreleaseVersion=1.2 for a pom.xml 
  where version1.0/version and packagingjar/packaging the 
  resulting jar file uses the pom version number not the command line 
  version, i.e xxx-1.0.jar . Is this expected behaviour and if so what 
  is the point of specifying the versions on the command line ?

 AFAIK this will only work when you have a snapshot version in your 
 pom, i.e. version1.0-SNAPSHOT/version.


 Regards

 Thorsten


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: New logo?

2014-01-09 Thread Mark H. Wood
All rather nicely done.  FWIW I'm partial to #5.

 http://people.apache.org/~stephenc/maven-logo-contest/maven-5.png

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature


Re: New logo?

2014-01-09 Thread Curtis Rueden
Hi all,

All of the logos are OK, but none of them really symbolize anything in
particular about Maven. IMO the best logos encapsulate the purpose of the
project somehow, either overtly, covertly or both.

Here is a related article that discusses some of that:
http://www.webdesignerdepot.com/2012/10/the-hidden-meaning-behind-really-good-logos/

Paul Benedict's idea of letting professionals try their hand at it may be
more worthwhile in the long term. Otherwise we might just end up with yet
another software project with a cute animal that has little if anything to
do with the project itself.

Regards,
Curtis


On Thu, Jan 9, 2014 at 9:12 AM, Mark H. Wood mw...@iupui.edu wrote:

 All rather nicely done.  FWIW I'm partial to #5.

  http://people.apache.org/~stephenc/maven-logo-contest/maven-5.png

 --
 Mark H. Wood, Lead System Programmer   mw...@iupui.edu
 Machines should not be friendly.  Machines should be obedient.



Re: New logo?

2014-01-09 Thread Mark H. Wood
On Thu, Jan 02, 2014 at 03:53:46PM -0500, Jeffrey E Care wrote:
 Stephen Connolly stephen.alan.conno...@gmail.com wrote on 01/02/2014 
 02:06:55 PM:
 
  I personally liked the anteater idea... We can ask the Ant PMC if we 
 have a
  winning logo that we are worried about
 
 While some Ant folks might appreciate the tongue-in-cheek nature of an 
 anteater logo, I think it be seen by many more folks as unnecessarily 
 antagonistic. 

Perhaps.  I think it's a cute idea, but I feel that Maven and Ant have
different jobs, so for many it might be puzzling instead.  I think
there'd be quite a number of questions why's your mascot an anteater,
of all things?

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature


Re: New logo?

2014-01-09 Thread Arnaud Héritier
I agreed about the animal/mascot choice and its meaning.
We come back to another thread (on dev ML AFAIR) : what Maven is for you ?
How to describe it (easily) ? What is differentiating it from others tools
like Makefile, ant, gradle, builder 

Arnaud


On Thu, Jan 9, 2014 at 4:39 PM, Mark H. Wood mw...@iupui.edu wrote:

 On Thu, Jan 02, 2014 at 03:53:46PM -0500, Jeffrey E Care wrote:
  Stephen Connolly stephen.alan.conno...@gmail.com wrote on 01/02/2014
  02:06:55 PM:
 
   I personally liked the anteater idea... We can ask the Ant PMC if we
  have a
   winning logo that we are worried about
 
  While some Ant folks might appreciate the tongue-in-cheek nature of an
  anteater logo, I think it be seen by many more folks as unnecessarily
  antagonistic.

 Perhaps.  I think it's a cute idea, but I feel that Maven and Ant have
 different jobs, so for many it might be puzzling instead.  I think
 there'd be quite a number of questions why's your mascot an anteater,
 of all things?

 --
 Mark H. Wood, Lead System Programmer   mw...@iupui.edu
 Machines should not be friendly.  Machines should be obedient.




-- 
-
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier


Re: New logo?

2014-01-09 Thread Mark H. Wood
On Thu, Jan 09, 2014 at 09:32:54AM -0600, Curtis Rueden wrote:
 All of the logos are OK, but none of them really symbolize anything in
 particular about Maven. IMO the best logos encapsulate the purpose of the
 project somehow, either overtly, covertly or both.

Good point.  I was associating with the name Maven, looking for a
symbol of in-depth understanding of a specialized field.

http://en.wiktionary.org/wiki/maven

So, what does Maven do?  It passes unique source and object code
inputs through a standardized process, guided by an expression of the
relationships among those inputs, to assemble a well-specified
configuration of runnable code.  What does that look like?

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature


Re: New logo?

2014-01-09 Thread Stephen Connolly
The Owl is usually a symbol of wisdom, e.g. the wise owl.

Maven embodies the collective wisdom of how to build software

Hence why I did #5


On 9 January 2014 15:51, Mark H. Wood mw...@iupui.edu wrote:

 On Thu, Jan 09, 2014 at 09:32:54AM -0600, Curtis Rueden wrote:
  All of the logos are OK, but none of them really symbolize anything in
  particular about Maven. IMO the best logos encapsulate the purpose of the
  project somehow, either overtly, covertly or both.

 Good point.  I was associating with the name Maven, looking for a
 symbol of in-depth understanding of a specialized field.

 http://en.wiktionary.org/wiki/maven

 So, what does Maven do?  It passes unique source and object code
 inputs through a standardized process, guided by an expression of the
 relationships among those inputs, to assemble a well-specified
 configuration of runnable code.  What does that look like?

 --
 Mark H. Wood, Lead System Programmer   mw...@iupui.edu
 Machines should not be friendly.  Machines should be obedient.



Re: New logo?

2014-01-09 Thread Paul Benedict
Good choice. I was hoping someone would find a picture that played off the
expertise definition of the word Maven.


On Thu, Jan 9, 2014 at 10:07 AM, Stephen Connolly 
stephen.alan.conno...@gmail.com wrote:

 The Owl is usually a symbol of wisdom, e.g. the wise owl.

 Maven embodies the collective wisdom of how to build software

 Hence why I did #5


 On 9 January 2014 15:51, Mark H. Wood mw...@iupui.edu wrote:

  On Thu, Jan 09, 2014 at 09:32:54AM -0600, Curtis Rueden wrote:
   All of the logos are OK, but none of them really symbolize anything in
   particular about Maven. IMO the best logos encapsulate the purpose of
 the
   project somehow, either overtly, covertly or both.
 
  Good point.  I was associating with the name Maven, looking for a
  symbol of in-depth understanding of a specialized field.
 
  http://en.wiktionary.org/wiki/maven
 
  So, what does Maven do?  It passes unique source and object code
  inputs through a standardized process, guided by an expression of the
  relationships among those inputs, to assemble a well-specified
  configuration of runnable code.  What does that look like?
 
  --
  Mark H. Wood, Lead System Programmer   mw...@iupui.edu
  Machines should not be friendly.  Machines should be obedient.
 




-- 
Cheers,
Paul


Re: New logo?

2014-01-09 Thread Tamás Cservenák
About raven, is already taken:
http://www.maven.co/

Some sneaky peaks for same named (but non related sites) -- just to see
what others came up with:
http://www.maven-sf.com/
http://lasp.colorado.edu/home/maven/
http://www.php-maven.org/

And my personal fav:
http://mavenberlin.com/en

Their stylised M made out of two triangles is just great.


And then, as I also like abstract things a bit more than explicit drawings
representing explicit stuff/beings,
I figured what might represent visually Maven
(I admit, was inspired with MavenBerlin intersecting triangles, as there,
it reflects the intersection of multidisciplinary creativity):
a mountain(s), a twin peak (M), you have to climb. (and everyone
finish their story, mountain might be effort, knowledge, sweat or
whatever :D )

Something like these
http://www.leelau.net/2005/clemenceau/Miscellanous/traverseduplicatemountainnwview04.jpg
http://3.bp.blogspot.com/-JFyYp4QeFvU/Td_kvtpZNBI/AFk/_axAJllIgF8/s1600/snowcap2.png

And finally, just a quick quick silly draft of logos, two versions.

First, is obviously what maven is today/ :D

Second is the one with stylized peaks, variations on M as mountain idea:D

http://screencast.com/t/JSpjKNrhBJLJ






On Thu, Jan 9, 2014 at 4:51 PM, Mark H. Wood mw...@iupui.edu wrote:

 On Thu, Jan 09, 2014 at 09:32:54AM -0600, Curtis Rueden wrote:
  All of the logos are OK, but none of them really symbolize anything in
  particular about Maven. IMO the best logos encapsulate the purpose of the
  project somehow, either overtly, covertly or both.

 Good point.  I was associating with the name Maven, looking for a
 symbol of in-depth understanding of a specialized field.

 http://en.wiktionary.org/wiki/maven

 So, what does Maven do?  It passes unique source and object code
 inputs through a standardized process, guided by an expression of the
 relationships among those inputs, to assemble a well-specified
 configuration of runnable code.  What does that look like?

 --
 Mark H. Wood, Lead System Programmer   mw...@iupui.edu
 Machines should not be friendly.  Machines should be obedient.



Re: New logo?

2014-01-09 Thread Curtis Rueden
Hi Tamás,

 a mountain(s), a twin peak (M), you have to climb. (and everyone
 finish their story, mountain might be effort, knowledge, sweat
 or whatever :D )

That is excellent! And gurus (a.k.a. mavens) also like to live on top of
mountains. ;-)

Regards,
Curtis


On Thu, Jan 9, 2014 at 10:32 AM, Tamás Cservenák ta...@cservenak.netwrote:

 About raven, is already taken:
 http://www.maven.co/

 Some sneaky peaks for same named (but non related sites) -- just to see
 what others came up with:
 http://www.maven-sf.com/
 http://lasp.colorado.edu/home/maven/
 http://www.php-maven.org/

 And my personal fav:
 http://mavenberlin.com/en

 Their stylised M made out of two triangles is just great.


 And then, as I also like abstract things a bit more than explicit drawings
 representing explicit stuff/beings,
 I figured what might represent visually Maven
 (I admit, was inspired with MavenBerlin intersecting triangles, as there,
 it reflects the intersection of multidisciplinary creativity):
 a mountain(s), a twin peak (M), you have to climb. (and everyone
 finish their story, mountain might be effort, knowledge, sweat or
 whatever :D )

 Something like these

 http://www.leelau.net/2005/clemenceau/Miscellanous/traverseduplicatemountainnwview04.jpg

 http://3.bp.blogspot.com/-JFyYp4QeFvU/Td_kvtpZNBI/AFk/_axAJllIgF8/s1600/snowcap2.png

 And finally, just a quick quick silly draft of logos, two versions.

 First, is obviously what maven is today/ :D

 Second is the one with stylized peaks, variations on M as mountain idea:D

 http://screencast.com/t/JSpjKNrhBJLJ






 On Thu, Jan 9, 2014 at 4:51 PM, Mark H. Wood mw...@iupui.edu wrote:

  On Thu, Jan 09, 2014 at 09:32:54AM -0600, Curtis Rueden wrote:
   All of the logos are OK, but none of them really symbolize anything in
   particular about Maven. IMO the best logos encapsulate the purpose of
 the
   project somehow, either overtly, covertly or both.
 
  Good point.  I was associating with the name Maven, looking for a
  symbol of in-depth understanding of a specialized field.
 
  http://en.wiktionary.org/wiki/maven
 
  So, what does Maven do?  It passes unique source and object code
  inputs through a standardized process, guided by an expression of the
  relationships among those inputs, to assemble a well-specified
  configuration of runnable code.  What does that look like?
 
  --
  Mark H. Wood, Lead System Programmer   mw...@iupui.edu
  Machines should not be friendly.  Machines should be obedient.
 



RE: New logo?

2014-01-09 Thread Will Hoover
Here's a VERY rough draft of a possible logo (I'm sure someone else can make it 
look more sleek):

http://s21.postimg.org/41q3n4mk7/maven.png

-Original Message-
From: t.cserve...@gmail.com [mailto:t.cserve...@gmail.com] On Behalf Of Tamás 
Cservenák
Sent: Thursday, January 09, 2014 11:33 AM
To: Maven Users List
Subject: Re: New logo?

About raven, is already taken:
http://www.maven.co/

Some sneaky peaks for same named (but non related sites) -- just to see what 
others came up with:
http://www.maven-sf.com/
http://lasp.colorado.edu/home/maven/
http://www.php-maven.org/

And my personal fav:
http://mavenberlin.com/en

Their stylised M made out of two triangles is just great.


And then, as I also like abstract things a bit more than explicit drawings 
representing explicit stuff/beings, I figured what might represent visually 
Maven (I admit, was inspired with MavenBerlin intersecting triangles, as there, 
it reflects the intersection of multidisciplinary creativity):
a mountain(s), a twin peak (M), you have to climb. (and everyone finish 
their story, mountain might be effort, knowledge, sweat or whatever :D )

Something like these
http://www.leelau.net/2005/clemenceau/Miscellanous/traverseduplicatemountainnwview04.jpg
http://3.bp.blogspot.com/-JFyYp4QeFvU/Td_kvtpZNBI/AFk/_axAJllIgF8/s1600/snowcap2.png

And finally, just a quick quick silly draft of logos, two versions.

First, is obviously what maven is today/ :D

Second is the one with stylized peaks, variations on M as mountain idea:D

http://screencast.com/t/JSpjKNrhBJLJ






On Thu, Jan 9, 2014 at 4:51 PM, Mark H. Wood mw...@iupui.edu wrote:

 On Thu, Jan 09, 2014 at 09:32:54AM -0600, Curtis Rueden wrote:
  All of the logos are OK, but none of them really symbolize anything 
  in particular about Maven. IMO the best logos encapsulate the 
  purpose of the project somehow, either overtly, covertly or both.

 Good point.  I was associating with the name Maven, looking for a 
 symbol of in-depth understanding of a specialized field.

 http://en.wiktionary.org/wiki/maven

 So, what does Maven do?  It passes unique source and object code 
 inputs through a standardized process, guided by an expression of the 
 relationships among those inputs, to assemble a well-specified 
 configuration of runnable code.  What does that look like?

 --
 Mark H. Wood, Lead System Programmer   mw...@iupui.edu
 Machines should not be friendly.  Machines should be obedient.



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: New logo?

2014-01-09 Thread Arnaud Héritier
Added in the list :
https://cwiki.apache.org/confluence/display/MAVEN/Logo+contest


On Thu, Jan 9, 2014 at 6:35 PM, Will Hoover java.whoo...@gmail.com wrote:

 Here's a VERY rough draft of a possible logo (I'm sure someone else can
 make it look more sleek):

 http://s21.postimg.org/41q3n4mk7/maven.png

 -Original Message-
 From: t.cserve...@gmail.com [mailto:t.cserve...@gmail.com] On Behalf Of
 Tamás Cservenák
 Sent: Thursday, January 09, 2014 11:33 AM
 To: Maven Users List
 Subject: Re: New logo?

 About raven, is already taken:
 http://www.maven.co/

 Some sneaky peaks for same named (but non related sites) -- just to see
 what others came up with:
 http://www.maven-sf.com/
 http://lasp.colorado.edu/home/maven/
 http://www.php-maven.org/

 And my personal fav:
 http://mavenberlin.com/en

 Their stylised M made out of two triangles is just great.


 And then, as I also like abstract things a bit more than explicit drawings
 representing explicit stuff/beings, I figured what might represent visually
 Maven (I admit, was inspired with MavenBerlin intersecting triangles, as
 there, it reflects the intersection of multidisciplinary creativity):
 a mountain(s), a twin peak (M), you have to climb. (and everyone
 finish their story, mountain might be effort, knowledge, sweat or
 whatever :D )

 Something like these

 http://www.leelau.net/2005/clemenceau/Miscellanous/traverseduplicatemountainnwview04.jpg

 http://3.bp.blogspot.com/-JFyYp4QeFvU/Td_kvtpZNBI/AFk/_axAJllIgF8/s1600/snowcap2.png

 And finally, just a quick quick silly draft of logos, two versions.

 First, is obviously what maven is today/ :D

 Second is the one with stylized peaks, variations on M as mountain idea:D

 http://screencast.com/t/JSpjKNrhBJLJ






 On Thu, Jan 9, 2014 at 4:51 PM, Mark H. Wood mw...@iupui.edu wrote:

  On Thu, Jan 09, 2014 at 09:32:54AM -0600, Curtis Rueden wrote:
   All of the logos are OK, but none of them really symbolize anything
   in particular about Maven. IMO the best logos encapsulate the
   purpose of the project somehow, either overtly, covertly or both.
 
  Good point.  I was associating with the name Maven, looking for a
  symbol of in-depth understanding of a specialized field.
 
  http://en.wiktionary.org/wiki/maven
 
  So, what does Maven do?  It passes unique source and object code
  inputs through a standardized process, guided by an expression of the
  relationships among those inputs, to assemble a well-specified
  configuration of runnable code.  What does that look like?
 
  --
  Mark H. Wood, Lead System Programmer   mw...@iupui.edu
  Machines should not be friendly.  Machines should be obedient.
 


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-- 
-
Arnaud Héritier
http://aheritier.net
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier


Can't set Class-Path in jar using external manifest file

2014-01-09 Thread Earl.Bennett
I've been going around and around with this one for a few hours now.

I am using Maven 3.1.1

I created a jar file, and had the maven-jar-plugin generate the manifest
file with the classPath for me. I am then able to sucessfully execute the
jar file with java -jar.

I then exported the manifest from the jar file to a file. I modified the
pom.xml to not generate the classpath automatically, but to use the external
manifest file I created.  When I try to run the resulting jar file using
java -jar, I get a class not found extension. After some testing, I have
concluded that the classpath in the manifest file is not being read.

I exported the manifest from the non-working jar file to a second file.  I
then compared the two files. The files are identical except for the position
of the Built-By and Build-Jdk elements. In the maven generated manifest,
these lines appear before the class path. In the manifest generated from the
external file, these lines appear after the class path, even though they are
defined before the class path in my external manifest file.

The Class-Path elements themselves are identical!!

The elements in the manifest are not supposed to be order sensitive as far
as I know.

So, I am at a loss.  I need to be able to define the classpath using an
external manifest file because I need to be able to add directories to it,
and I need to be able to control the order of the jar files in the
classpath.

I would very much appreciate any thoughts anyone may have on this.

Earl




--
View this message in context: 
http://maven.40175.n5.nabble.com/Can-t-set-Class-Path-in-jar-using-external-manifest-file-tp5781041.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Can't set Class-Path in jar using external manifest file

2014-01-09 Thread Wayne Fay
 I exported the manifest from the non-working jar file to a second file.  I
 then compared the two files. The files are identical except for the position
 of the Built-By and Build-Jdk elements. In the maven generated manifest,
...
 The Class-Path elements themselves are identical!!

How did you compare them? What tool? Just Windows Notepad or something
like a programmer's notepad that shows non-printing characters etc?
How certain are you that they are identical as you said?

You may have also run into a JVM issue. Have you tried other versions
of the JVM?

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Can't set Class-Path in jar using external manifest file

2014-01-09 Thread Earl.Bennett
I compared the files using WinMerge.

I have tried Java 1.6.0_32 and 1.7.0_09.  They both behave the same.

Earl




--
View this message in context: 
http://maven.40175.n5.nabble.com/Can-t-set-Class-Path-in-jar-using-external-manifest-file-tp5781041p5781045.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Can't set Class-Path in jar using external manifest file

2014-01-09 Thread Wayne Fay
 I have tried Java 1.6.0_32 and 1.7.0_09.  They both behave the same.

Try this:
create a jar file that you know works with Maven
test to be sure it works
unzip the file
edit the file by hand to swap those 2 lines
zip the file back up, rename to .jar etc
test with JVM

Just remove Maven entirely from the equation. Does this work or not?

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: Can't set Class-Path in jar using external manifest file

2014-01-09 Thread Martin Gainty
 From: wayne...@gmail.com
 Date: Thu, 9 Jan 2014 13:06:10 -0600
 Subject: Re: Can't set Class-Path in jar using external manifest file
 To: users@maven.apache.org
 
  I have tried Java 1.6.0_32 and 1.7.0_09. They both behave the same.
 
 Try this:
 create a jar file that you know works with Maven
 test to be sure it works
 unzip the file
 edit the file by hand to swap those 2 lines
 zip the file back up, rename to .jar etc
 test with JVM
 
 Just remove Maven entirely from the equation. Does this work or not?
 
 Wayne
 
MGHi Wayne
MGa quick and dirty test using Earls plugin configuration
MGplugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-jar-plugin/artifactId
   version2.2/version
   configuration   
forcedtrue/forced
archive
  addMavenDescriptorfalse/addMavenDescriptor
  indextrue/index
  manifest
  
addDefaultImplementationEntriestrue/addDefaultImplementationEntries
  addClasspathtrue/addClasspath
  !-- 
mainClasscom.compuware.istrobe.manager.centralManager.ISMGR/mainClass --
  /manifest
/archive
  /configuration
 /plugin
MG
BASHorg.apache.maven.plugins:maven-jar-plugin:2.2:jar

MGhere is /META-INF/MANIFEST.MF that was generated
Built-By: mgainty
Build-Jdk: 1.7.0_45
Specification-Title: Maven Dependency Tree
Specification-Version: 2.1
Specification-Vendor: The Apache Software Foundation
Implementation-Title: Maven Dependency Tree
Implementation-Version: 2.1
Implementation-Vendor-Id: org.apache.maven.shared
Implementation-Vendor: The Apache Software Foundation
Class-Path: commons-logging-1.1.1.jar surefire-junit-2.6.jar surefire-
 booter-2.6.jar plexus-utils-2.0.6.jar surefire-api-2.10.jar maven-sur
 efire-common-2.12.4.jar maven-plugin-api-2.0.9.jar maven-plugin-annot
 ations-3.1.jar maven-artifact-2.0.9.jar maven-toolchain-2.0.9.jar com
 mons-lang3-3.1.jar maven-common-artifact-filters-1.3.jar maven-projec
 t-2.2.1.jar maven-settings-2.2.1.jar maven-profile-2.2.1.jar maven-mo
 del-2.2.1.jar maven-artifact-manager-2.2.1.jar wagon-provider-api-1.0
 -beta-6.jar backport-util-concurrent-3.1.jar maven-plugin-registry-2.
 2.1.jar plexus-interpolation-1.11.jar plexus-container-default-1.0-al
 pha-9-stable-1.jar classworlds-1.1-alpha-2.jar maven-repository-metad
 ata-3.0.4.jar plexus-component-annotations-1.5.5.jar aether-api-1.13.
 1.jar aether-api-0.9.0.M2.jar aether-util-0.9.0.M2.jar junit-3.8.1.jar
 
MGNote1: all of the target/classes were packaged into the jar
MGNote2:the entities in 'Class-Path' are NOT in the jar
MGFor that effort I will need to build an uber-jar
MGto build uber-jar (a jar with all the jars in classpath) I will need to 
implement maven-assembly-plugin
MGwith dependencySet specified with 
includesincludejar1.jar/includeincludejar2.jar/includes
MGhttp://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_dependencySet
MGdoes this help?

Re: Can't set Class-Path in jar using external manifest file

2014-01-09 Thread Earl.Bennett
Well... This is weird...

I was generating an index.list file in my jar using
archiveindextrue/index/archive

When I removed that, all my problems with the external manifest went away...

It looks like there is some kind of problem with the index element and using
an external manifest.

My thanks to those who replied in an attempt to help me out.

Earl




--
View this message in context: 
http://maven.40175.n5.nabble.com/Can-t-set-Class-Path-in-jar-using-external-manifest-file-tp5781041p5781049.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven2/Maven3 plugin development: Ensuring only the available parameters are allowed

2014-01-09 Thread S. Ali Tokmen
Hi Anders

Thanks for your reply - and happy new year :)

Is there any way I can inject / read the whole plugin configuration from
the plugin?

Best regards

S. Ali Tokmen
http://ali.tokmen.com/

My IM, GSM, PGP and other contact details
are on http://contact.ali.tokmen.com

On 08/01/14 20:00, Anders Hammar wrote:
 AFAIK there is no support for this. If you think there should be, please
 file a ticket [1].

 /Anders

 [1] http://jira.codehaus.org/browse/MNG/


 On Tue, Jan 7, 2014 at 7:38 PM, S. Ali Tokmen nos...@alishomepage.comwrote:

 Dear Maven users

 I am one of the owners of Codehaus CARGO, which has a Maven2/Maven3
 plugin; and would have a question with regards to how parameters are
 managed.

 We defined our MOJOs with parameters (you can see

 http://svn.codehaus.org/cargo/extensions/trunk/maven2/plugin/src/main/java/org/codehaus/cargo/maven2/AbstractCargoMojo.java
 for example), but what happens is that if a user unwillingly puts a
 parameter in the wrong place then the plugin execution doesn't stop.

 As an example, I can write the below POM and build still works (even
 thought the MOJO has no parameter called foo):

   plugin
 groupIdorg.codehaus.cargo/groupId
 artifactIdcargo-maven2-plugin/artifactId
 version1.4.6/version
 configuration
   foo
 bar
   /foo
 /configuration
   /plugin

 Is there any way I can instruct by MOJO to fail if there is an unknown
 parameter?

 Please advise

 Thank you

 --

 S. Ali Tokmen
 http://ali.tokmen.com/

 My IM, GSM, PGP and other contact details
 are on http://contact.ali.tokmen.com


 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven Central Opinion

2014-01-09 Thread Tommy Svensson
Bintray seems quite interesting. I signed up directly! I see that it is still a 
beta and there are some bugs, and a bit of confusion signing up. It refused to 
work signing up with my google account, but after signing upp directly I can 
stil login with my google account. 

That you can synchronize with GitHub is really nice! That you are looking wider 
than just maven is also really nice. I hope it comes out of beta soon! I 
apparently did not think far enough in my repository wish :-).

/Tommy 

6 jan 2014 kl. 22:48 skrev JBaruch jbar...@jfrog.com:

 Hi Tommy et al,
 
 here's another option for you:
 
 You can leverage bintray.com to sync to Maven Central from there. For
 starter, you'll just get your artifacts to Maven Central in more sane way -
 no parent poms, no maven-release-plugin, no 20 pages guides. Just get your
 artifacts to Bintray, include them in the JCenter repo (which is a superset
 of central, btw), and voila, once your pom is good (all the needed tags
 like description, developers, etc), your artifacts are in Central. But
 that's just a start. You'll probably discover some nice features of Bintray
 by its own merit - near real-time stats, packages watching and inclusion,
 organizations support, fast CDN downloads, etc.
 
 Anyway, give it a try, your opinion on a painful Maven Central onboading
 might change.
 
 Baruch.
 
 P.S. I am very much affiliated with Bintray and proud of it :)
 --
 JFrog Developer Advocate
 www.jfrog.com
 +972544954353F
 @jbaruch https://twitter.com/jbaruch/
 http://linkd.in/jbaruch
 http://jax.de/node/901
 
 
 
 
 
 I am assuming that you are putting this in Central so I can easily use it
 without having to worry about the effect on my build process or without
 having to get into your sources and dependencies to build my app and I have
 appropriate license agreements included so I know what I am incorporating
 into my app.
 
 In that case, I would like you to follow the Maven Best Practices for
 deploying to Central.
 
 Using the Release plug-in may save you some steps if you do not already
 have a private repo for releasing software internally.
 It seems to me that if you are already releasing to your own repo prior
 to trying to upload it to Central, you are probably going to find that the
 Release plug-in is not the best practice.
 We would be in the same situation if we ever decided to put some of our
 utilities into Maven Central. We have already done the release and our SCM
 is in the state in which we want it.
 We would probably have to look at our parent POM/child POM structure to be
 sure that it met Maven Central requirements.
 
 I think that you did the right thing by raising your concerns here and I
 think that you got some very good advice and concrete suggestions.
 
 This is a very good group that is usually well-mannered when approached in
 the way that you did.
 You were very clear about what you wanted to do and you raised very
 specified issues that you wanted to discuss.
 You also reacted to the advice in a positive way that encouraged a factual
 discussion rather than a personal attack.
 
 Ron
 
 
 On 06/01/2014 7:49 AM, Tommy Svensson wrote:
 
 Hello again,
 
 OK, I suspected that I get a lot of replies on this :-).
 
 From experience in other forums I also expected to have people tell me
 to go screw myself, but that has not happened. There are apparently only
 professionals here! That said, there some very good replies and
 explanations but also some I do react to.
 
 I'll start with the latter. The arguments about quality I just don't buy.
 We are only talking poms here. Whatever is in the poms says nothing about
 the quality of the software itself. What is really bothering me however is
 the argument that if you don't have your things in the way we think they
 should be, you are not serious enough. It hasn't been said straight out but
 implied. The word that pops into my head here is Moralizing! I take my
 work very seriously and I take my open source work even more seriously
 (since in that case I'm allowed the time for it :-)). That if I have one
 file that is not up to someones liking I'm not taking releasing of my
 software seriously is just absurd.
 ___
 
 From one of the replies:
 
 As I said in a previous message, deploying to the remote repo is just a
 matter of mvn deploy, using either the maven-deploy-plugin (by default)
 or the nexus-staging-maven-plugin.
 
 That is good, that is how easy it should be!
 
 You'll have to configure the GPG plugin to sign your artifacts though, as
 it's a requirement to deploy to Central.
 
 No problem!
 
 I'm going to go though the documentation again and solve the easy way
 to do it :-).  And If I can't find a page that explains this clearly I will
 create such! I have gotten very much information here to go on.
 
 Someone also pointed out that local webserver repositories are good
 enough for small projects. I basically agree with that. I only considered
 maven central since someone asked 

Re: New logo?

2014-01-09 Thread Stephen Connolly
On 9 January 2014 16:32, Tamás Cservenák ta...@cservenak.net wrote:

 About raven, is already taken:
 http://www.maven.co/

 Some sneaky peaks for same named (but non related sites) -- just to see
 what others came up with:
 http://www.maven-sf.com/
 http://lasp.colorado.edu/home/maven/
 http://www.php-maven.org/

 And my personal fav:
 http://mavenberlin.com/en

 Their stylised M made out of two triangles is just great.


 And then, as I also like abstract things a bit more than explicit drawings
 representing explicit stuff/beings,
 I figured what might represent visually Maven
 (I admit, was inspired with MavenBerlin intersecting triangles, as there,
 it reflects the intersection of multidisciplinary creativity):
 a mountain(s), a twin peak (M), you have to climb. (and everyone
 finish their story, mountain might be effort, knowledge, sweat or
 whatever :D )

 Something like these

 http://www.leelau.net/2005/clemenceau/Miscellanous/traverseduplicatemountainnwview04.jpg

 http://3.bp.blogspot.com/-JFyYp4QeFvU/Td_kvtpZNBI/AFk/_axAJllIgF8/s1600/snowcap2.png

 And finally, just a quick quick silly draft of logos, two versions.

 First, is obviously what maven is today/ :D

 Second is the one with stylized peaks, variations on M as mountain idea:D

 http://screencast.com/t/JSpjKNrhBJLJ


added these three to the wiki page









 On Thu, Jan 9, 2014 at 4:51 PM, Mark H. Wood mw...@iupui.edu wrote:

  On Thu, Jan 09, 2014 at 09:32:54AM -0600, Curtis Rueden wrote:
   All of the logos are OK, but none of them really symbolize anything in
   particular about Maven. IMO the best logos encapsulate the purpose of
 the
   project somehow, either overtly, covertly or both.
 
  Good point.  I was associating with the name Maven, looking for a
  symbol of in-depth understanding of a specialized field.
 
  http://en.wiktionary.org/wiki/maven
 
  So, what does Maven do?  It passes unique source and object code
  inputs through a standardized process, guided by an expression of the
  relationships among those inputs, to assemble a well-specified
  configuration of runnable code.  What does that look like?
 
  --
  Mark H. Wood, Lead System Programmer   mw...@iupui.edu
  Machines should not be friendly.  Machines should be obedient.
 



Options for producing class files with different compilers via Maven

2014-01-09 Thread Mirko Friedenhagen
Hello,

in the JaCoCo project (a Java code coverage library which uses a Java
agent approach during runtime) we produce some false positives of
uncovered code because of unreachable (e.g. private constructor of a
util class) or synthetic java code (e.g. enum values()).

As we inspect the class files only, we may not (or better do not want
to) rely on parsing the source code for discovering such conditions.
During some experiments we detected that different compilers (javac vs
eclipse ecj) produce very different byte code in classes for the
above. This might be the case for different versions of Sun/Oracle JDK
or JDKs of other vendors as well. I already took a look at Using
Non-Javac Compilers of the maven-compiler-plugin[1]

Now my question:
- What would be the best approach to produce JARs which contain class
files of above mentioned false positives produced by the different
compilers?
- My first idea was to define a define a multi module project with a
JAR module which will only produce a source jar, which will be
unpacked as generated-sources in sibling modules which are then
compiled by the different compilers.

For additional ideas or caveats I would be grateful.


Regards Mirko
[0] https://github.com/jacoco/jacoco/wiki/FilteringOptions
[1] 
http://maven.apache.org/plugins/maven-compiler-plugin/non-javac-compilers.html
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
https://bitbucket.org/mfriedenhagen/

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Maven install phase - Access is denied

2014-01-09 Thread andre999
Thanks for the input. Apologies for the goose chase. I have found that there
is an element attachtrue/attach property in the
artifactIdmaven-install4j-pluginartifactId, which I did not include in
this thread.

With the attach set to false, the maven install has stopped reading any
resources from the install4j/certImport folder, and copying resource into
repository. 

Thanks again.



--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-install-phase-Access-is-denied-tp5780920p5781054.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: [jacoco-dev] Options for producing class files with different compilers via Maven

2014-01-09 Thread Evgeny Mandrikov
Hi,

I have feeling that you ( we :) ) could simply use single module and
define several executions of:

   1. maven-compiler-plugin for compilation
   2. maven-assembly-plugin to create JARs and attach them as additional
   project artifacts

But I never tried this.

On Thu, Jan 9, 2014 at 10:13 PM, Mirko Friedenhagen mfriedenha...@gmail.com
 wrote:

 Hello,

 in the JaCoCo project (a Java code coverage library which uses a Java
 agent approach during runtime) we produce some false positives of
 uncovered code because of unreachable (e.g. private constructor of a
 util class) or synthetic java code (e.g. enum values()).

 As we inspect the class files only, we may not (or better do not want
 to) rely on parsing the source code for discovering such conditions.
 During some experiments we detected that different compilers (javac vs
 eclipse ecj) produce very different byte code in classes for the
 above. This might be the case for different versions of Sun/Oracle JDK
 or JDKs of other vendors as well. I already took a look at Using
 Non-Javac Compilers of the maven-compiler-plugin[1]

 Now my question:
 - What would be the best approach to produce JARs which contain class
 files of above mentioned false positives produced by the different
 compilers?
 - My first idea was to define a define a multi module project with a
 JAR module which will only produce a source jar, which will be
 unpacked as generated-sources in sibling modules which are then
 compiled by the different compilers.

 For additional ideas or caveats I would be grateful.


 Regards Mirko
 [0] https://github.com/jacoco/jacoco/wiki/FilteringOptions
 [1]
 http://maven.apache.org/plugins/maven-compiler-plugin/non-javac-compilers.html
 --
 http://illegalstateexception.blogspot.com/
 https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
 https://bitbucket.org/mfriedenhagen/

 --
 You received this message because you are subscribed to the Google Groups
 JaCoCo Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jacoco-dev+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Best regards,
Evgeny Mandrikov aka Godin http://godin.net.ru
http://twitter.com/_godin_


Re: [jacoco-dev] Options for producing class files with different compilers via Maven

2014-01-09 Thread Evgeny Mandrikov
Indeed, but I missed your point about sources (time to go to bed) and
thought that you wanted to duplicate sources. But then it looks good
already, isn't it? Or I again missed what embarrasses you in the current
solution?


On Thu, Jan 9, 2014 at 11:16 PM, Mirko Friedenhagen mfriedenha...@gmail.com
 wrote:

 Hello Evgeny,

 that is very unmavenly ;-). I have a prototype at
 https://github.com/mfriedenhagen/org.jacoco.filteringsamples.
 Regards Mirko
 --
 http://illegalstateexception.blogspot.com/
 https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
 https://bitbucket.org/mfriedenhagen/


 On Thu, Jan 9, 2014 at 10:35 PM, Evgeny Mandrikov mandri...@gmail.com
 wrote:
  Hi,
 
  I have feeling that you ( we :) ) could simply use single module and
  define several executions of:
 
  maven-compiler-plugin for compilation
  maven-assembly-plugin to create JARs and attach them as additional
 project
  artifacts
 
  But I never tried this.
 
  On Thu, Jan 9, 2014 at 10:13 PM, Mirko Friedenhagen
  mfriedenha...@gmail.com wrote:
 
  Hello,
 
  in the JaCoCo project (a Java code coverage library which uses a Java
  agent approach during runtime) we produce some false positives of
  uncovered code because of unreachable (e.g. private constructor of a
  util class) or synthetic java code (e.g. enum values()).
 
  As we inspect the class files only, we may not (or better do not want
  to) rely on parsing the source code for discovering such conditions.
  During some experiments we detected that different compilers (javac vs
  eclipse ecj) produce very different byte code in classes for the
  above. This might be the case for different versions of Sun/Oracle JDK
  or JDKs of other vendors as well. I already took a look at Using
  Non-Javac Compilers of the maven-compiler-plugin[1]
 
  Now my question:
  - What would be the best approach to produce JARs which contain class
  files of above mentioned false positives produced by the different
  compilers?
  - My first idea was to define a define a multi module project with a
  JAR module which will only produce a source jar, which will be
  unpacked as generated-sources in sibling modules which are then
  compiled by the different compilers.
 
  For additional ideas or caveats I would be grateful.
 
 
  Regards Mirko
  [0] https://github.com/jacoco/jacoco/wiki/FilteringOptions
  [1]
 
 http://maven.apache.org/plugins/maven-compiler-plugin/non-javac-compilers.html
  --
  http://illegalstateexception.blogspot.com/
  https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen)
  https://bitbucket.org/mfriedenhagen/
 
  --
  You received this message because you are subscribed to the Google
 Groups
  JaCoCo Developers group.
  To unsubscribe from this group and stop receiving emails from it, send
 an
  email to jacoco-dev+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.
 
 
 
 
  --
  Best regards,
  Evgeny Mandrikov aka Godin http://godin.net.ru
  http://twitter.com/_godin_
 
  --
  You received this message because you are subscribed to the Google Groups
  JaCoCo Developers group.
  To unsubscribe from this group and stop receiving emails from it, send an
  email to jacoco-dev+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/groups/opt_out.

 --
 You received this message because you are subscribed to the Google Groups
 JaCoCo Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to jacoco-dev+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Best regards,
Evgeny Mandrikov aka Godin http://godin.net.ru
http://twitter.com/_godin_


ArtifactNotFoundException 'com.sonatype.nexus.plugins:nexus-staging-client:jar:2.7.0-02'

2014-01-09 Thread Martin Gainty
building 
com.jayway.maven.plugins.android.generation2:maven-android-plugin:3.8.3-SNAPSHOT

 

org.eclipse.aether.transfer.ArtifactNotFoundException: 

com.sonatype.nexus.plugins:nexus-staging-client:jar:2.7.0-02


any ideas where to find this artifact?

 

thanks!
Martin 

__ 
..place longwinded disclaimer here..
  

Re: New logo?

2014-01-09 Thread Kristian Rosenvold
I think the association-work around what maven /is/ is a great way to
approach a logo contest elsewhere. I have worked with some great graphic
designers in my time, and the kind input the good ones want are typically
related around your thoughts/feelings around the product rather than which
particular animal you prefer, which is a bit of a secondary kind of input
along with all different kinds of other constraints/ideas (the boss prefers
blue).

When I first encountered maven I had come to the realization that all my
ant projects were basically the same, and that there was no reason for
customizing
what was basically a standard process. So maven gives me associations to a
mass-production line at a factory, rather than a tailor making individual
processes. Furthermore, the lifecycle amplifies the idea of a conveyor-belt
mass-production line; all parts move through the same conveyor belt
process, stopping at
individual stages to get work done. I would almost be willing to think of a
waterfall (Uh-oh...)

So it would appear to me that I'm not thinking of an animal at all !

Kristian







2014/1/9 Mark H. Wood mw...@iupui.edu

 On Thu, Jan 09, 2014 at 09:32:54AM -0600, Curtis Rueden wrote:
  All of the logos are OK, but none of them really symbolize anything in
  particular about Maven. IMO the best logos encapsulate the purpose of the
  project somehow, either overtly, covertly or both.

 Good point.  I was associating with the name Maven, looking for a
 symbol of in-depth understanding of a specialized field.

 http://en.wiktionary.org/wiki/maven

 So, what does Maven do?  It passes unique source and object code
 inputs through a standardized process, guided by an expression of the
 relationships among those inputs, to assemble a well-specified
 configuration of runnable code.  What does that look like?

 --
 Mark H. Wood, Lead System Programmer   mw...@iupui.edu
 Machines should not be friendly.  Machines should be obedient.