Re: Anyone using annotationProcessorPaths in maven-compiler-plugin

2016-03-27 Thread Andreas Gudian
Am Sonntag, 27. März 2016 schrieb Mark Derricutt : > On 27 Mar 2016, at 0:28, Andreas Gudian wrote: > > > Right, in 3.5.1 I fixed an oversight that caused the modules direct > > dependencies to also show up in -processorpath. > > Hrm, actually that's the reason I was look

Re: Anyone using annotationProcessorPaths in maven-compiler-plugin

2016-03-26 Thread Andreas Gudian
Right, in 3.5.1 I fixed an oversight that caused the modules direct dependencies to also show up in -processorpath. So anyway, in 3.5.1, it should work just as expected. Are you maybe using a different plexus-compiler implementation by configuring an addidtional plugin-dependency? Here's another

[ANN] Apache Maven Compiler Plugin 3.5.1 Released

2016-02-09 Thread Andreas Gudian
The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin, version 3.5.1. The Compiler Plugin is used to compile the sources of your project. http://maven.apache.org/plugins/maven-compiler-plugin/ You should specify the version in your project's plugin

Re: Combination of deployAtEnd and installAtEnd does not seem to work

2016-01-22 Thread Andreas Gudian
I think there are some rules in the maven-enforcer-plugin that might be able to help you there (I'm on my phone now, so I can't say for sure). Am Freitag, 22. Januar 2016 schrieb Alexander Kriegisch : > Okay, I just found a subtle problem: One of my co-workers has added a > slightly older

Fwd: [ANN] Apache Maven Compiler Plugin Version 3.5 Released

2016-01-21 Thread Andreas Gudian
cross-posting to the users-list... -- Forwarded message -- From: Andreas Gudian <andreas.gud...@gmail.com> Date: 2016-01-21 20:49 GMT+01:00 Subject: Re: [ANN] Apache Maven Compiler Plugin Version 3.5 Released To: Maven Developers List <d...@maven.apache.org> I've ju

[ANN] Apache Maven Compiler Plugin Version 3.5 Released

2016-01-20 Thread Andreas Gudian
The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin, version 3.5. The Compiler Plugin is used to compile the sources of your project. http://maven.apache.org/plugins/maven-compiler-plugin/ You should specify the version in your project's plugin

Re: Message typo

2016-01-20 Thread Andreas Gudian
The message itself originates from the compiler (javac). No idea why it's truncated, though... ;-) 2016-01-20 6:18 GMT+01:00 Gary Gregory : > I'm not sure who output this message but there is obviously a etter issing: > > [INFO]

Re: [EXTERNAL] How best to override maven-javadoc-plugin to do nothing?

2016-01-15 Thread Andreas Gudian
The clean way would be to skip the plugin execution using something like this at the appropriate level in your pom / parent-pom hierarchy: org.apache.maven.plugins maven-javadoc-plugin .. true 2016-01-14 23:38

Re: surefire 'forked vm failed'

2016-01-12 Thread Andreas Gudian
You might wanna try 2.19.1, where Tibor fixed a couple of issues regarding the fork-communication that crept in to 2.19. 2016-01-12 15:13 GMT+01:00 Benson Margulies : > It might be related to: > > [SUREFIRE] std/in stream corrupted > java.io.IOException: Command NOOP

Re: [VOTE] Retire Maven Application Skin, Maven Classic Skin, Maven Stylus Skin

2015-12-26 Thread Andreas Gudian
+1 Am Samstag, 26. Dezember 2015 schrieb Maxim Solodovnik : > +1 > > WBR, Maxim > (from mobile, sorry for the typos) > On Dec 26, 2015 02:54, "Mirko Friedenhagen" > wrote: > > > +1 > > > > Regards > > Mirko > > -- > > Sent from my mobile > > Am

[ANN] Apache Maven Eclipse Plugin 2.10 Released

2015-05-27 Thread Andreas Gudian
The Apache Maven team is pleased to announce the release of the Apache Maven Eclipse Plugin, version 2.10 This plugin is used to generate Eclipse IDE files (*.classpath, *.project, *.wtpmodules and the .settings folder) for use with a project - if the M2E Eclipse-Plugin does not fit you. This

Re: How to run multiple rounds of integration tests in one build

2015-03-29 Thread Andreas Gudian
You can do it one build if you just specify two executions for the failsafe plugin. Then you can configure different system variables for the executions. Andreas Am Samstag, 28. März 2015 schrieb Tecno Brain : Separate attract build from integration tests. In the integration test: -Set up

Re: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-17 Thread Andreas Gudian
Markus, as for an ASAP quick fix, did you try using the vfs-maven-plugin to unpack your zip files? I don't fully understand your usecase, but I use that one to download and unpack zip files within a maven build. 2015-03-17 13:34 GMT+01:00 Kristian Rosenvold kristian.rosenv...@gmail.com : I can

Re: Easy way to test maven / surefire with only changed classes? javac dependencies?

2015-02-10 Thread Andreas Gudian
Hi, You can't do that with javac, but the takari-plugins maintain a fine grained dependency graph in order to do incremental builds. With tests, it is a different thing, though. Their runtime behaviour may depend on more than their class dependency might tell you: property/xml files, dependency

Re: [VOTE] Name our mascot: Shotgun vs The Maven Owl

2014-12-15 Thread Andreas Gudian
A Am Montag, 15. Dezember 2014 schrieb Stephen Connolly : After the run-off round, we are left with two names standing. This second vote will be a straight and simple majority wins. The vote will be open for at least 72 hours (with the potential of an extension until I send a message

Re: [RESULT] [VOTE] Change project logo and adopt owl as mascot

2014-12-04 Thread Andreas Gudian
Héritier (pmc), James Green, Thorsten Heit, Raphael Ackermann, Dominik Bartholdi (committer), Maxim Solodovnik, Andreas Gudian (committer), Paul Benedict, Alexandre Bretet, Mark Struberg (pmc), Dan Rollo, Kristian Rosenvold (pmc), Karl Heinz Marbaise (pmc), Tony Jewell, Emilio Lopez, Hilton

[ANN] Apache Maven Surefire Plugin 2.18 Released

2014-11-08 Thread Andreas Gudian
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.18 The release contains a number of bug fixes, and introduces an option to automatically rerun failing tests, including proper reporting on the console and in the XML reports for the individual

Re: Maven occasionally hangs within Surefire

2014-10-23 Thread Andreas Gudian
Hi there, I bet that's a bug that we already fixed for Surefire 2.18 - you could try a current snapshot version to verify if it works for you. Jira issue: https://jira.codehaus.org/plugins/servlet/mobile#issue/SUREFIRE-1091 We are planning to release 2.18 soonish, definitely this year ;-).

Re: Maven occasionally hangs within Surefire

2014-10-23 Thread Andreas Gudian
org.apache.maven.plugins:maven-surefire-plugin:2.18-SNAPSHOT:test (default-test) on project SingularityService: There was a timeout or other error in the fork - [Help 1] On Thu, Oct 23, 2014 at 9:29 AM, Andreas Gudian andreas.gud...@gmail.com wrote: Hi there, I bet that's a bug that we already fixed

Re: retrying flakey tests?

2014-09-20 Thread Andreas Gudian
Hi there, We had a pull request for such a feature and it was merged. It will be part of our next release: https://jira.codehaus.org/browse/SUREFIRE https://jira.codehaus.org/browse/SUREFIRE-1087-1087 I think the feature makes expecially sense for tracking flaky tests over a longer period of

Re: Maven sure fire plugin npe problem.

2014-09-18 Thread Andreas Gudian
There is an issue filed for it already: https://jira.codehaus.org/browse/SUREFIRE-1077 The fix should be quite simple, I just didn't get to it, yet. But we should aim for wrapping up Surefire 2.18 within the next (very) weeks, which would include this issue. Am Donnerstag, 18. September 2014

Re: maven-surefire-plugin does not fail build if TestNG and JUnit47 are used

2014-09-12 Thread Andreas Gudian
Hi, 2.10 is rather old. Could you try it with a more recent version such as 2.17? Am Donnerstag, 11. September 2014 schrieb David Hoffer : I have a module where maven-surefire-plugin (2.10) is configured to use TestNG and JUnit47. The former has several tests that all succeed and the later

Re: [Surefire] Run executions in parallel

2014-08-29 Thread Andreas Gudian
Hi Leo, What's your use case? Could forkCount1 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 execute

[ANN] Apache Maven Surefire Plugin 2.17 Released

2014-03-16 Thread Andreas Gudian
The Apache Maven team is pleased to announce the release of the Apache Maven Surefire Plugin, version 2.17 This release comes with some smaller improvements and bug fixes for TestNG, for the JUnit Parallel Computer, the removal of temporary files, and last but not least it fixes a compatibility

Re: Broken links in surefire-report

2014-03-12 Thread Andreas Gudian
Hi Martin, Would you mind filing the bug in our Jira? And as you seem to have spotted the problem already, perhaps you'd have fun making a fork on GitHub and providing a pull request with a test and a fix? That would definetly increase the chances of fixing getting it fixed ;-). Cheers, Andreas

Re: `mvn test` doesn't notice compilation errors

2013-11-19 Thread Andreas Gudian
(Just repeating what Vincent wrote already) When you invoke 'mvn test', you tell maven to run the default lifecycle up to phase 'test', which _already_ includes the phases 'compile' and 'test-compile'. Check that link to the lifecycle documentation. In your case, you probably used an older

Re: deplot at end not working

2013-11-08 Thread Andreas Gudian
Hi, Check if you really use 2.8.1 and 2.5.1 everywhere. If there is at least one module that uses versions, it might just not work. Am Freitag, 8. November 2013 schrieb : I'm using m-d-p 2.8.1 using the new deploy at end config. I also use install at end in the m-i-p. However, what I see is

Re: Maven: How can I run/include a class in a jar with the failsafe plugin?

2013-10-18 Thread Andreas Gudian
Check the dependenciesToScan property in the latest Failsafe version. It tells the plugin to scan for the test class patterns in the specified artifacts. Am Freitag, 18. Oktober 2013 schrieb Dan Kaplan : I've found an ok solution. I just extend the class in the module I plan to run the tests

Re: Alternate to SureFire plugin forkmode=always?

2013-10-03 Thread Andreas Gudian
There you go, at the bottom if this page: http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html Am Donnerstag, 3. Oktober 2013 schrieb Russell Gold : Hi, We have some unit tests that were always forked per-test in ant, and are now

Re: Welcome Tibor Digana as a Maven Committer !

2013-09-26 Thread Andreas Gudian
Welcome, Tibor! Great to have you on board! Andreas Am Donnerstag, 26. September 2013 schrieb Robert Scholte : Welcome, happy hacking! Robert Op Thu, 26 Sep 2013 19:45:54 +0200 schreef Kristian Rosenvold krosenv...@apache.org: Somewhat delayed I'd like to welcome Tibor Digana as our

Re: SureFire 2.16 doesn't respect forkCount

2013-09-25 Thread Andreas Gudian
That sounds bad. reuseForks=false and forkCount=2 should spawn up to two JVMs in parallel (a new one for each test class), and the foobar parameter should be populated with a value of 1 or 2 and be distinct between concurrently running JVMs. If that doesn't work, you found a bug. :) What happens

Re: SureFire 2.16 doesn't respect forkCount

2013-09-25 Thread Andreas Gudian
Ah, ok. I see what happens. Maven-core replaces the stand-alone term ${surefire.forkNumber} during the normal property resolving phase with an empty String (it does not know any properties with that name in the pom). Try using: surefire.forkNumber$${ surefire.forkNumber}/surefire.forkNumber

Re: SureFire 2.16 doesn't respect forkCount

2013-09-25 Thread Andreas Gudian
2013/9/25 Laird Nelson ljnel...@gmail.com On Wed, Sep 25, 2013 at 2:21 PM, Laird Nelson ljnel...@gmail.com wrote: However, I would still expect to see something in the system property, yeah? Aha, found the root issue here. You were faster... ;)

Re: [surefire] Combining test, runOrder and forkCount

2013-08-30 Thread Andreas Gudian
I'll have to check the code, but I'm pretty sure that the order of the test classes to be handed over to the forked VMs is supposed to be what was is specified with runOrder. However, using -Dtest= might disable the ordering - but again, I'd have to check the code. Bit there's more: when having

Re: [surefire] Combining test, runOrder and forkCount

2013-08-30 Thread Andreas Gudian
tests do not run well together, was wrong - failing test had a bug, it makes use of random number generator, but didn't set test seed to make execution deterministic. Kind regards, Stevo Slavic. On Fri, Aug 30, 2013 at 8:06 AM, Andreas Gudian andreas.gud...@gmail.comjavascript:; wrote

[ANN] Maven Surefire Plugin 2.16 Released

2013-08-20 Thread Andreas Gudian
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.16 This release addresses some serious problems with character encodings in the test report XML files and adds a new Parallel Computer implementation to the JUnit 4.7+ provider, offering a bunch of new

Re: agency theory and software development

2013-08-14 Thread Andreas Gudian
Am Mittwoch, 14. August 2013 schrieb SARTAJ HUNDAL : Given the future of computation and being in a technological singularity, how do we divert a total disaster when the 'machines' have solid bodies? Since Hume, we have had theories about ghosts in the machine, and if we look even at the

Re: [DISCUSS] Should the Maven PMC be an example of how we want the Maven Community to behave (was Re: svn commit: r1506778 - /maven/site/trunk/content/markdown/project-roles.md)

2013-07-25 Thread Andreas Gudian
I also find it quite odd an almost offensive to the open source community in general to state that a PMC member shall not be allowed to fork too much around. It's not a marriage, you know ;-). I tend to agree with Jason: the PMC needs people who *do* stuff, meaning: * bring the project foward

Re: maven surefire - selecting providers

2013-07-25 Thread Andreas Gudian
Well, I guess you found a bug. TestNG should be able to handle JUnit4 tests, and thus the surefire TestNG provider should be able to hand over the tests in a way that TestNG understands what we want it to do. Would you be so kind and file a bug at https://jira.codehaus.org/browse/SUREFIRE? No

Re: maven surefire - selecting providers

2013-07-24 Thread Andreas Gudian
When both Junit and TestNg tests are found, then the TestNG provider should be selected automatically and used in mixed mode. Did you try not specifying any provider at all? Am Mittwoch, 24. Juli 2013 schrieb Andreas Dolk : But on second thought - TestNG looked at the test but actually didn't

Re: Unable to run a particular test group in testng

2013-07-12 Thread Andreas Gudian
Am Freitag, 12. Juli 2013 schrieb vishwa : Hi Members, I am very new to this forum. I am trying to run a particular group of tests from testng. I have to groups of tests: *first* and *second*. *testng.xml: --* /!DOCTYPE suite SYSTEM quot;http://testng.org/testng-1.0.dtdquot;

Re: Unable to run a particular test group in testng

2013-07-12 Thread Andreas Gudian
Am Freitag, 12. Juli 2013 schrieb vishwa : Hi Andreas, Thanks for the quick reply. Replaced 2.5.1 with 2.15 and tried but I got some errors: /[ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:2.15 or one of its dependencies could not be resolved: Failed to read artifact

[ANN] Maven Surefire Plugin 2.15 Released

2013-06-10 Thread Andreas Gudian
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.15 This is the first release that does not support JVM versions prior 1.5 to be forked. You should specify the version in your project's plugin configuration: plugin

Re: maven-surefire-plugin

2013-05-15 Thread Andreas Gudian
Hi, The timeout is for each forked JVM process. So I you use reuseForks=true it counts for all the tests executed in each of the parallel forks (forkCount=1). With reuseForks=false, it counts for each test class. Cheers, Andreas Am Mittwoch, 15. Mai 2013 schrieb : Hello everyone I'm

Re: mvn test shall run all tests

2013-05-13 Thread Andreas Gudian
You're right, what you would configure is in Ant-style notation. Here's the deault config: includes include**/*Test*.java/include include**/*Test.java/include include**/*TestCase.java/include /includes 2013/5/13 Jörg Schaible joerg.schai...@gmx.de Stephen Connolly wrote: Surefire only

Re: Executing tests in a newer JVM version than the one used to build project.

2013-05-03 Thread Andreas Gudian
You can also use the property jvm in the surefire configuration to specify the path to the jvm you want to use to execute your tests. http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#jvm Am Donnerstag, 2. Mai 2013 schrieb Stephen Connolly : On Thursday, 2 May 2013, Jean

Re: Building selected projects with nested aggregators

2013-05-03 Thread Andreas Gudian
Hi, You may actually want to check out the difference between -am (also make dependencies) and -amd (also make dependents). In conjunction with -pl called from your topmost aggregator directory, you should pretty much get what you need. I guess. ;-) Am Freitag, 3. Mai 2013 schrieb spoots :

Re: Can Maven recover from OutOfMemoryErrors during JUnit test runs?

2013-05-03 Thread Andreas Gudian
Hi, The safest option is to configure surefire to spawn a new JVM for each test class: reuseForksfalse/reuseForks [1]. That will of cause give you some considerable bump in the execution time. Good luck, Andreas [1]

Re: Possible to have list of systemProperties in an external file?

2013-04-23 Thread Andreas Gudian
Hi, You can use the systemPropertyValues config element of the surefire plugin: http://maven.apache.org/surefire/maven-surefire-plugin/examples/system-properties.html Cheers, Andreas Am Dienstag, 23. April 2013 schrieb Wayne Fay : My problem is that I am working on a test where I will need

Re: Building selected projects with nested aggregators

2013-04-12 Thread Andreas Gudian
Hi, just use the directory notation. The following will build the module in module-dir/sub-module-dir and all the modules in the reactor that depend on it: mvn test -pl module-dir/sub-module-dir -amd Andreas Am Freitag, 12. April 2013 schrieb spoots : Hi, I've got a project structure where

Re: Multiple build arguments

2013-03-15 Thread Andreas Gudian
You can specify more than one profile at a time. Separated by comma or with multiple -P. Am Freitag, 15. März 2013 schrieb Stephane-3 : Hello, Thanks for the input. But maybe my original post was not so clear. I already have four profiles in my pom file. So if I factor in the choice between

Re: Problem when running testng testcase

2013-03-13 Thread Andreas Gudian
Hi, Please also let us know for comparison how you execute your test in eclipse. Using the TestNG Eclipse plugin? Andreas Am Mittwoch, 13. März 2013 schrieb Baptiste MATHUS : I suppose you're using junit. The information you've provided is not enough to be sure, but maybe you manually forced

Re: Unpacking jars into target/classes

2013-03-07 Thread Andreas Gudian
Am Donnerstag, 7. März 2013 schrieb Joachim Durchholz : Warning: Just philosophy here. I AM trying to restrict myself to things I haven't said before. Some amount of repetition is inevitable, and this kind of discussion is nearing the point of diminishing returns, so I'm trying to cut down on

Re: Maven SCM plugin fails to do a scm:update after a scm:checkout with strange error message Command failed.The git-log command failed.

2013-02-28 Thread Andreas Gudian
Hi, Don't you have to use the https or ssh transport for github write access? The git protocol is read-only on github. Anyway you're right, the error message is a bit confusing. ;) Andreas Am Donnerstag, 28. Februar 2013 schrieb seba.wag...@gmail.com : Hi, I have configured a Maven project

Re: Eclipse plugin and project references

2013-02-25 Thread Andreas Gudian
The plugin will always resolve the artifact as eclipse project, if it detects that project within your eclipse workspace, or if it is in the reactor (i.e. part of the maven build). Remove the other project from the workspace and you should be fine. Or make sure that core now has a new version (it

Re: maven-surefire-plugin 2.13: test order (know about runOrder)?

2013-02-12 Thread Andreas Gudian
Hi Laird, The execution order of the methods within a test class is in control of Junit itself. AFAIK, Junit 4.11 contains a change to order the execution of @Test methods alphabetically by default. [1] has some information on how to control that behavior. I think what's now called the JVM