Plugins seem to be singletons. Is it a bug ?

2007-03-29 Thread Kristian Rosenvold
, Kristian Rosenvold, Zenior AS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Wrong number of tests run when running JUnit tests in parallel: any help?

2010-04-12 Thread Kristian Rosenvold
Please note that the parallel provider actually requires correctly defined junit4/junit3 tests to run, annotate your methods with @Test. The classic Junit 4 provider would run a large number of tests that were incorrectly defined according to junit specifications. The concurrent provider uses

Re: Wrong number of tests run when running JUnit tests in parallel: any help?

2010-04-12 Thread Kristian Rosenvold
the number of tests executed is correct. Thanks again, Paolo Kristian Rosenvold wrote: Please note that the parallel provider actually requires correctly defined junit4/junit3 tests to run, annotate your methods with @Test. The classic Junit 4 provider would run a large number of tests that were

Re: Wrong number of tests run when running JUnit tests in parallel: any help?

2010-04-12 Thread Kristian Rosenvold
get a significant speed boost by switching to jdk 7 ;) Kristian Den 12.04.2010 14:05, skrev Paolo Castagna: Kristian Rosenvold wrote: All your questions should be answered here; http://incodewetrustinc.blogspot.com/2010/01/run-your-junit-tests-concurrently-with.html Thanks for the link

Re: Wrong number of tests run when running JUnit tests in parallel: any help?

2010-04-12 Thread Kristian Rosenvold
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html perCoreThreadCount is true or false, not a digit. So threadCount=2 and perCoreThreadCount=true gives 16 threads on an 8 core machine. Kristian Den 12.04.2010 14:49, skrev Paolo Castagna: Kristian Rosenvold wrote

Re: [ANN] Apache Maven 3.0-beta-1 Released

2010-04-24 Thread Kristian Rosenvold
This will be fixed real soon, the site plugin needs a minor update. On Fri, Apr 23, 2010 at 11:06 PM, Kathryn Huxtable kath...@kathrynhuxtable.org wrote: Any reason why mvn clean package on the checked out source would yield: [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @

[ANN] Maven-archiver 2.4.1 Released

2010-05-16 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven-archiver, version 2.4.1 Maven-archiver is mainly used by plugins to handle packaging. http://maven.apache.org/shared/maven-archiver/ You should specify the version as a dependency: dependency groupIdorg.apache.maven/groupId

Need publicly available TestNG build with working parallel tests

2010-05-17 Thread Kristian Rosenvold
I'm looking into making some performance improvements with parallel running of surefire tests and I need a project with stable working parallel TestNG tests. The project must be public and have stable tests, I can add external repositories if needed. Anyone know any such project ? Kristian

[ANN] Maven Jar Plugin 2.3.1 Released

2010-05-21 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Jar Plugin, version 2.3.1 This plugin provides the capability to build jars. http://maven.apache.org/plugins/maven-jar-plugin/ You should specify the version in your project's plugin configuration: plugin

[ANN] Maven EAR Plugin 2.4.2 Released

2010-05-21 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Ear Plugin, version 2.4.2 This version fixed possible corruption/incorrect data issues that can occur on non-windows machines due to threading issues. It also adds @threadSafe support for maven3.

[ANN] Maven Compiler Plugin 2.3.1 Released

2010-05-21 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Compiler Plugin, version 2.3.1 This 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 configuration: plugin

[ANN] Maven Resources Plugin 2.4.3 Released

2010-05-21 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Resources Plugin, version 2.4.3 This plugin filters non-Java resource files, replacing expressions with values from the POM or any of the filtering properties files you choose to configure. Please see the plugin's site for details:

[ANN] Maven Install Plugin 2.3.1 Released

2010-05-21 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Install Plugin, version 2.3.1 The Install Plugin is used during the install phase to add artifact(s) to the local repository. http://maven.apache.org/plugins/maven-install-plugin/ You should specify the version in your project's

Re: Branch with Google guice?

2010-06-06 Thread Kristian Rosenvold
I have been running this patch on my CI (including m3 IT's) for quite some time now, and it works really well here. Obviously, the more the merrier! But then again, from a user's perspective this change really adds very little to the excitement. It's supposed to be a transparent change without

Re: Branch with Google guice?

2010-06-07 Thread Kristian Rosenvold
I think it's a really nice change, don't get me wrong on that ;) I'm also hoping it'll improve the error handling when something is wrong with the plexus configuration. As of today there's a fair amount of guesswork involved when a change breaks the plexus-configuration, I often end up

Re: Strange surefire error

2010-06-15 Thread Kristian Rosenvold
Does it fail immediately or does it run the tests first ? Is the plugin configured with forkedProcessTimeoutInSeconds ? Kristian - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail:

Re: parallel execution of (test) modules

2010-08-06 Thread Kristian Rosenvold
It sounds like the maven3 parallel build feature would help you out on this, https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in +Maven+3. There is also the -fae option that could be used to proceed even with failing tests, which also works for serial builds. As for the

Re: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread Kristian Rosenvold
Den 23.09.2010 11:31, skrev Jörg Schaible: Is it possible that the new code for parallel processing unintentionally swallows the OOME? Does someone else observe the same behavior? Are you running with the -T option active ? Kristian

Re: running jrprofiler

2010-11-15 Thread Kristian Rosenvold
Den 15.11.2010 21:53, skrev fachhoch: I use jetty:run to start my application , I wat to do profillng using JProfiler , please tell me how to integrate JProfiler That will be something like export MAVEN_OPTS=-agentpath:/opt/yjp-9.0.4/bin/linux-x86-32/libyjpagent.so Check out

Re: parallel execution of unit tests

2010-11-20 Thread Kristian Rosenvold
The way I read your explanation, I am not entirely convinced anything is being run in parallel; look for the maven-surefire-plugin in your pom and see if the parallel setting is active. Much more likely you have static state in your tests that fails when multiple test methods are being run in the

Re: parallel execution of unit tests

2010-11-20 Thread Kristian Rosenvold
+0100 Von: Kristian Rosenvold kristian.rosenv...@gmail.com An: Maven Users List users@maven.apache.org Betreff: Re: parallel execution of unit tests The way I read your explanation, I am not entirely convinced anything is being run in parallel; look for the maven-surefire-plugin in your pom

Re: assembly strange result

2010-12-03 Thread Kristian Rosenvold
Somehow this sounds like the notorious http://jira.codehaus.org/browse/PLXCOMP-149 and the attached http://jira.codehaus.org/browse/MSHARED-148 Upgrade all your plugins to the latest version. Kristian Make sure fr., 03.12.2010 kl. 20.47 +0100, skrev reno: hi, today, we encountered a

Re: maven-surefire-plugin/maven3: junit4 and powermock/easymock support

2010-12-08 Thread Kristian Rosenvold
Works fine on my machine using java 1.6 and maven 3.0.1. I had to remove the sonar plugin though, because I don't have your database. Kristian on., 08.12.2010 kl. 14.05 +0100, skrev Raphael Bossek: Hi, you can find my simple project as ZIP and Maven3 project at the following zip download url:

RE: Maven 3 Sufire 2.6 errors

2010-12-09 Thread Kristian Rosenvold
Martin, Is there an issue for this problem ? surefire 2.7 is about this -- -- close and if there is an issue I can look at it. Kristian to., 09.12.2010 kl. 09.09 -0500, skrev Martin Gainty: Bonjour Remy i reverted all my builds to use surefire 2.4.2 the introduction of Juice IOC injector

[ANN] Maven Surefire Plugin 2.7 Released

2010-12-21 Thread Kristian Rosenvold
he Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.7 This release includes the maven-surefire-plugin, which executes the unit tests of an application, the maven-surefire-report-plugin, which parses surefire/failsafe test results and renders them to DOXIA

Re: Inermediatte surefire reports

2010-12-22 Thread Kristian Rosenvold
The data-files used for producing the reports are written to target/surefire-reports as each test-class completes. I suppose it could be possible to script something that uses this knowledge. - To unsubscribe, e-mail:

[ANN] Maven Surefire Plugin 2.7.1 Released

2010-12-26 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.7.1 This release includes the maven-surefire-plugin, which executes the unit tests of an application, the maven-surefire-report-plugin, which parses surefire/failsafe test results and renders them to DOXIA

Re: why does maven use /bin/sh -c ls -1lna /djb3/... just to get a file attribute?

2011-01-13 Thread Kristian Rosenvold
I have looked at this code earlier, and it actually forks *2* shells to get file attributes when creating any kind of xAR archive. There is definitely room for improvement here, especially on the posix implementation. The last time I googled this it was not as trivial as one could think.

Re: AW: why does maven use /bin/sh -c ls -1lna /djb3/... just to get a file attribute?

2011-01-17 Thread Kristian Rosenvold
-winterthur.ch -Ursprüngliche Nachricht- Von: Kristian Rosenvold [mailto:kristian.rosenv...@gmail.com] Gesendet: Freitag, 14. Januar 2011 08:40 An: Maven Users List Betreff: Re: why does maven use /bin/sh -c ls -1lna /djb3/... just to get a file attribute? I have looked at this code earlier

Re: AW: org.codehaus.modello.ModelloCli fails parsing maven.mdo on OpenVMS

2011-01-18 Thread Kristian Rosenvold
Den 18.01.2011 17:16, skrev Stadelmann Josef: Maybe you have another advise for me. From the general smell of it I would suspect this is somehow related to your xml parsers/versions or some kind of inappropriate version mix. I know this is probably not too helpful Kristian

Re: surefire classpath problems with maven 3 parallel

2011-01-18 Thread Kristian Rosenvold
Den 18.01.2011 18:03, skrev fmeili: a) The symptoms you are encountering seem to indicate that you're getting testng or junit3 in somewhere on your classpath. As to why this is happening, we'll have to try some detective work: The most significant difference between serial and parallel maven

Re: surefire classpath problems with maven 3 parallel

2011-01-24 Thread Kristian Rosenvold
ma., 24.01.2011 kl. 00.19 -0800, skrev fmeili: Do you have any other idea how I may isolate the problem? TestNG dependencies can also cause the same behaviour as I described in my original mail (wrt junit3). If that fails, there is no other way than to do as I said: Surefire stores the

[ANN] Maven Surefire Plugin 2.7.2 Released

2011-01-26 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.7.2 This release includes the maven-surefire-plugin, which executes the unit tests of an application, the maven-surefire-report-plugin, which parses surefire/failsafe test results and renders them to DOXIA

Re: Surefire plugin 2.7.1 always fails - not even using it????

2011-02-09 Thread Kristian Rosenvold
You,re cutting away so much of the log that it doesn't even show 2.7.1 being run ;) Maybe mvn --fail-never --file CSKAutoCommon\pom.xml help:effective-pom Can provide some insight ? Kristian on., 09.02.2011 kl. 08.59 -0700, skrev twilliamso...@oreillyauto.com: I apologize if this is a

Re: Borrowing function from surefire

2011-02-12 Thread Kristian Rosenvold
Surefire does not have any official public library apart from the proposed provider api. The flurry of surefire activity is about catching up with a few years of bug backlog, as well as lifting the code to a higher quality level. In this process a lot of functionality is getting looser

Re: Problems with Surefire, TestNG, and Guice 3

2011-02-14 Thread Kristian Rosenvold
The logic that forces testng and its resolved dependencies onto the system classpath of the forked process can be switched off by commenting out the statement in line 1025 of AbstractSurefireMojo.java: public void addProviderArtifactToBootClasspath( Classpath bootclasspath )

Re: Problems with Surefire, TestNG, and Guice 3

2011-02-14 Thread Kristian Rosenvold
, schrieb Kristian Rosenvold: The logic that forces testng and its resolved dependencies onto the system classpath of the forked process can be switched off by commenting out the statement in line 1025 of AbstractSurefireMojo.java: public void addProviderArtifactToBootClasspath( Classpath

Re: Problems with Surefire, TestNG, and Guice 3

2011-02-14 Thread Kristian Rosenvold
Reinhard Nägele: Here's the JIRA: http://jira.codehaus.org/browse/SUREFIRE-699 Thanks, Reinhard Am 14.02.2011 13:49, schrieb Kristian Rosenvold: A jira sounds nice. I will probably change this to apply only for guice [3.0), just to avoid creating regressions. In other words, don't worry about

Re: Maven/Surefire ignores TestNG priority on test methods

2011-02-17 Thread Kristian Rosenvold
Surefire delegates all of this to TestNg and does nothing with these things. You'll have to check if the combination of parallel and order is supported by asking over there. Kristian to., 17.02.2011 kl. 15.37 +, skrev Burns, Scott: Hi, some of our test specify a priority at the method

Re: Stop escaping html tags when generating surefire xml report

2011-03-01 Thread Kristian Rosenvold
I have't looked into the exact details of this, but generally if you want to embed HTML inside XML you have two choices; escaping or CDATA (with escaping of ]]) Escaping or cdata *has* to be used here to get well formed xml. There might be some reason for continuing the escaping all the way

[ANN] Maven Surefire Plugin 2.8 Released

2011-03-13 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.8 This release includes the maven-surefire-plugin, which executes the unit tests of an application, the maven-surefire-report-plugin, which parses surefire/failsafe test results and renders them to DOXIA

Re: Surefire Maven Plugin - additional providers. JIRA: SUREFIRE-141

2011-03-22 Thread Kristian Rosenvold
I see quite a few people dabbling around with providers, some forking existing providers to add/change features. I am not aware if any providers have been written yet for any of the alternate jvm languages. The API's are not officially frozen yet, and one of the main reasons I have not been

Re: Starting using the maven 3 parallel building

2011-03-28 Thread Kristian Rosenvold
Please read https://cwiki.apache.org/MAVEN/parallel-builds-in-maven-3.html it is possible to run in parallel with plugins that are not verified thread safe, but there may be problems, therefore the loud warning. Since your build is actually failing you obviously must upgrade your plugins.

Re: Two processes accessing the local repository?

2011-03-28 Thread Kristian Rosenvold
Note item 2. http://www.sonatype.com/people/2009/01/maven-continuous-integration-best-practices/ Kristian Den 28.03.2011 12:06, skrev Manuel Doninger: We have sometimes problems, if multiple builds on Jenkins use the same local Maven repository and if those builds download new artifacts. Then

Re: surefire-junit47 provider does not see my tests (while older one does but fails)

2011-04-07 Thread Kristian Rosenvold
I haven't looked at the code, but did you try adding includes to the config and not just excludes ? If that solves the issue you should file a jira. Kristian Den 06.04.2011 19:00, skrev Igor Petruk: Hi. I forced surefire provider in the following way plugin

Re: Setting properties in pom.xml from command line

2011-04-15 Thread Kristian Rosenvold
The trick is to give the artifact a *default* version in properties so you can override from the command line but still build without any command line options; properties mygroup-myartifact.version1.1/mygroup-myartifact.version properties Then you can build with

Re: Is maven3 repository safe for concurrent access

2011-04-15 Thread Kristian Rosenvold
fr., 15.04.2011 kl. 11.54 -0400, skrev Sony Antony: Thank you Jason : If 3.x local repository is not safe for concurrent access, how does maven3 implement parallel builds ( -T switch ) ( maybe they decide on teh parallelism by making sure that there is no concurrent read/write access on teh

Re: Surefire is very slow on old JUnit3 tests with suite() methods

2011-05-03 Thread Kristian Rosenvold
Make sure you're using a recent version of surefire (2.8+), since newer versions have become far less eager at loading tests inside each fork and scanning the classpath than older versions. The behaviour you describe is consitent with running an older version of surefire. For instance, it

Re: is there a way to remove or truncate the newly-introduced failure messages from the test results summary?

2011-05-03 Thread Kristian Rosenvold
I know. Especially the spring messages can be a PITA. Just file an issue under http://jira.codehaus.org/browse/SUREFIRE and we'll try to get another improvement for 2.8.2. The following comes to mind: A) Special handling of the spring messages, truncate from the END of the first line, which is

[ANN] Maven Surefire Plugin 2.9 Released

2011-06-18 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.9 This release includes the maven-surefire-plugin, which executes the unit tests of an application, the maven-surefire-report-plugin, which parses surefire/failsafe test results and renders them to DOXIA

[ANN] Maven remote-resources-plugin 1.2.1 Released

2011-06-18 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Remote Resources Plugin, version 1.2.1 This plugin is used to retrieve JARs of resources from remote repositories, process those resources, and incorporate them into JARs you build with Maven.

[ANN] Maven Verifier 1.3 Released

2011-06-18 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Verifier, version 1.3 This is a shared library for use in testing various Maven components. It allows the user to execute Maven builds as part of the testing process, with methods supporting test preparation and assertion of results.

Re: maven 3.0.3 out of memory error, version ranges, lots of maven meta downloads

2011-06-21 Thread Kristian Rosenvold
From what I can understand this issue is almost certainly some kind of combinatorial explosion caused in the calculation of the dependencies. Sample project/and or heap dumps will be required here as far as I can understand. As for the embedded building, you might want to take note that

[ANN] Jar Plugin version 2.3.2 and maven-archiver version 2.4.2

2011-08-21 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven jar Plugin, version 2.3.2 and maven-archiver 2.4.2 in a combined release. This plugin provides the capability to build jars, and the maven archiver is used to create custom archives that are configured from the POM. You can find more

RE: Surefire plugin: aggregator project - aggregate test results from all children?

2011-08-25 Thread Kristian Rosenvold
Not really. P.S: If you added some copy-task to the root project that copied all the surefire-reports to the root project you could run surefire-reports over the aggregate. But you're not going to get Tests run: 4, Failures: 0, Errors: 0, Skipped: 0 Kristian on., 24.08.2011 kl. 17.06 +,

Re: Running tests against surefire providers

2011-08-30 Thread Kristian Rosenvold
If you intend your provider to be part of the official distribution at some time it makes sense for your provider to have the surefire parent. Otherwise just remove the reference to the apache parent in your provider and use any testing tool you like. If you intent to build in the surefire

Re: maven-surefire-plugin redirecting System.err and showing delayed output from junit tests

2011-10-05 Thread Kristian Rosenvold
Den 05.10.2011 18:26, skrev Farrukh Najmi: Sometime in the recent past I noticed that when I run my projects junit tests via maven-surefire-plugin I no longer see the log messages or println statements sent to System.err until *after* the test completes. Since these message are important

Re: maven-surefire-plugin redirecting System.err and showing delayed output from junit tests

2011-11-03 Thread Kristian Rosenvold
You would have to try version 2.8.1; I will take a look at this for 2.11. Kristian to., 03.11.2011 kl. 08.38 -0700, skrev farrukh_najmi: Note that I have tried this with both maven-surefire-plugin 2.9 and 2.10 and there is no difference. -- View this message in context:

Re: maven-surefire-plugin redirecting System.err and showing delayed output from junit tests

2011-11-03 Thread Kristian Rosenvold
. Kristian Rosenvold-4 wrote: There were some changes in the capture/buffering algorithm for test output for surefire 2.9, which might be what you are seeing. If you are running your tests in parallel, this is the intended behaviour, but I assume there might have been some change

Re: Surefire not behaving the way I expect....

2011-11-18 Thread Kristian Rosenvold
FWIW, surefire 2.11-SNAPSHOT supports the use of JUnit @Categories, which I believe a lot of users should be looking at for including/excluding tests, since it allows you to tag at the class/method level and apply multiple include/exclude filters, which means you can cross-cut a much more

Re: Maven surefire 2.11 release date

2011-11-22 Thread Kristian Rosenvold
I have one other major piece of new (exciting!) functionality I'm adding, then just a quick bug scrub and off we go. It will be released soon. Kristian Den 21.11.2011 21:50, skrev Stephen Connolly: i cannot recall if kristian is aiming fir an 8 or 12 week average cycle... but it is likely

Re: Maven surefire 2.11 release date

2011-11-22 Thread Kristian Rosenvold
Den 22.11.2011 09:36, skrev Stephen Connolly (in private message): Does that major new piece include the per-method threading you promised you'd deliver for 2.10 in return for me consolidating the site generation? :-P I said I'd do it, but not for which version ;) No. There are some pain

Re: Maven surefire 2.11 release date

2011-11-23 Thread Kristian Rosenvold
Den 22.11.2011 13:35, skrev Stephen Connolly: On 22 November 2011 08:51, Kristian Rosenvold kristian.rosenv...@zenior.no wrote: Den 22.11.2011 09:36, skrev Stephen Connolly (in private message): Does that major new piece include the per-method threading you promised you'd deliver for 2.10

[ANN] Maven Surefire Plugin 2.11 Released

2011-12-04 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.11 This release includes the maven-surefire-plugin, which executes the unit tests of an application, the maven-surefire-report-plugin, which parses surefire/failsafe test results and renders them to DOXIA

[ANN] Maven Surefire Plugin 2.11 Released

2011-12-04 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.11 This release includes the maven-surefire-plugin, which executes the unit tests of an application, the maven-surefire-report-plugin, which parses surefire/failsafe test results and renders them to DOXIA

Re: [maven-failsafe-plugin] Augmenting the fork configuration?

2011-12-09 Thread Kristian Rosenvold
Interesting post; you suggest that the surefire-providers should have extensive freedoms in terms of controlling details of the fork, I like that suggestion a lot, it's a very good extension of the current provider api. I'll give you some pointers into the code on this; The

Re: Specifying a custom DirectoryScanner for surefire

2012-01-01 Thread Kristian Rosenvold
No, there are no such user-configurable extension points, so any extension points you need will have to be added. That being said, there is an ongoing effort to create an official API for surefire, but this is an ongoing process that is expected to take some time. This does not prevent you from

Re: Managing module dependency in Maven parallel build

2012-01-20 Thread Kristian Rosenvold
The maven-module creating the zip file (the one with assembly) needs to have dependency on the modules that produce the required jar files. Kristian 2012/1/20 Ashish Srivastava ashis...@yahoo.com: Hi,    (I just subscribed to the mailing list so would appreciate if you could reply directly

Re: Surefire TestNG Group Exclusions not working

2012-01-25 Thread Kristian Rosenvold
this is a bug and it /may/ not have been reported before. We had a regression in 2.11 (http://jira.codehaus.org/browse/SUREFIRE-805) which actually broke the feature for TestNG (only in 2.11=. You may want to test surefire 2.10 while we're releasing 2.12, which should be pretty soon. If it does

Re: surefire report missing css, images

2012-01-31 Thread Kristian Rosenvold
I've been wondering about SUREFIRE-616; what is the correct way to actually fix this issue ? Kristian Den 31.01.2012 01:46, skrev Barrie Treloar: On Tue, Jan 31, 2012 at 5:31 AM, Michael Norman michael.nor...@oracle.comwrote: Running maven 3.0.4 via m2e (Maven Integration for Eclipse

[ANN] Maven Jar Plugin 2.4 Released

2012-02-01 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Jar Plugin, version 2.4 This plugin provides the capability to build jars. http://maven.apache.org/plugins/maven-jar-plugin/ You should specify the version in your project's plugin configuration: plugin

[ANN] Maven Assembly Plugin 2.3 Released

2012-02-01 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Assembly Plugin, version 2.3 This plugin allows the user to create customized archives based on their project and its dependencies. For example, the assembly plugin is commonly used to create distribution archives for projects.

[ANN] Maven WAR Plugin 2.2 Released

2012-02-05 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven WAR Plugin, version 2.2 The WAR Plugin is responsible for collecting all artifact dependencies, classes and resources of the web application and packaging them into a web application archive.

[ANN] Maven Archiver 2.5 Released

2012-02-05 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Archiver shared component, version 2.5. This component is used to create custom archives that are configured from the POM. You can find more information at: http://maven.apache.org/shared/maven-archiver/ To use this component in

[ANN] Maven Surefire Plugin 2.12 Released

2012-02-05 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.12 This release includes the maven-surefire-plugin, which executes the unit tests of an application, the maven-surefire-report-plugin, which parses surefire/failsafe test results and renders them to DOXIA

Re: bug in maven-jar-plugin 2.4

2012-02-05 Thread Kristian Rosenvold
I think Jörg sums it up quite nicely. But there is also the issue about being lenient about what we accept and strict about what we write. So I think we might want to be keeping our eyes on the consequences of this change; if it turns out to be enough of a problem we can consider adding some

Re: maven-war-plugin 2.2 snapshot suddenly throws ClassDefError Plexus

2012-02-05 Thread Kristian Rosenvold
You probably want to to be using the released 2.2. Kristian 2012/2/3 mschipperheyn m.schipperh...@gmail.com: I'm using the snapshot and am suddenly seeing this error [FATAL ERROR] Container realm = plexus.core urls[0] = file:/C:/java/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar [INFO]

Re: maven-failsafe-plugin incorrect reports when running parallel tests

2012-02-06 Thread Kristian Rosenvold
Depending on your forkMode, there was a classloading issue in 2.11 that caused tests to fail (works in all other versions). (That was SUREFIRE-804, there may have been other permutations of forkMode/useSystemClassLoader that were affected, I tested/closed a few duplicates on this one) As for

Re: maven-failsafe-plugin incorrect reports when running parallel tests

2012-02-07 Thread Kristian Rosenvold
The thing is, you might be hitting two different problems, which is where I'd really like for you to test 2.10. 2.11 had a *known* problem with certain classloading combinations, which could cause all tests to fail (basically all or nothing, but it would only be hitting users with specific

Re: maven-failsafe-plugin incorrect reports when running parallel tests

2012-02-07 Thread Kristian Rosenvold
] Im Auftrag von Kristian Rosenvold Gesendet: Dienstag, 7. Februar 2012 18:30 An: Maven Users List; christ...@schlichtherle.de Betreff: Re: maven-failsafe-plugin incorrect reports when running parallel tests The thing is, you might be hitting two different problems, which is where I'd really

Re: feedback on surefire issue?

2012-02-14 Thread Kristian Rosenvold
You just missed the 2.12 release with your patch. After making a release we're typically so busy celebrating that we tend to only look for regressions for a week or two ;) Your problem/patch seems ok. A test-case is required, and I look forward to such a testcase since we have very little prior

Re: Junit ignored by Maven

2012-02-19 Thread Kristian Rosenvold
The combination in your pom is illegal. The 4.7 provider requires JUnit 4.7 or higher. Kristian 2012/2/19 Gogirl claudia.fr...@gmail.com: My goal is to run different versions of Junit Framework work. Surefire supports three different generations of JUnit: JUnit 3.8.x, JUnit 4.x (serial

Re: known problem to get JUnit 4 and TestNG working together

2012-02-20 Thread Kristian Rosenvold
Don't even bother filing an issue, at least not here. JUnit4.X is not compatible with 3.8.1 in the sense that you can expect to have both jars in the same maven module and expect them to work. JUnit 4.X can run JUnit 3 tests on itself though, so I think you can save the calories if you're

Re: maven-failsafe-plugin incorrect reports when running parallel tests

2012-02-22 Thread Kristian Rosenvold
] Im Auftrag von Kristian Rosenvold Gesendet: Dienstag, 7. Februar 2012 21:15 An: Maven Users List; christ...@schlichtherle.de Betreff: Re: maven-failsafe-plugin incorrect reports when running parallel tests I have looked through all our current integration tests regarding failing of build

Re: Issue with running junit tests in parallel

2012-02-28 Thread Kristian Rosenvold
The configuration looks correct; make sure you run mvn clean install; maybe you have some earlier versions in target. Kristian 2012/2/29 akhilhingane akhil.hing...@gmail.com: Hi,   I am using maven-surefire-plugin 2.12. I intend to run test classes in parallel and fork per test class; for

Re: Issue with running junit tests in parallel

2012-03-01 Thread Kristian Rosenvold
Try; in this order: A) Use mvn help:effective-pom and analyze your surefire configuration and see if you have multiple executions B) Run mvn -X clean install cd target/surefire grep classnameyouthinkisbeingruntwice * The folder you are in contains all the specifications used to start the forks,

Re: How do you specify that only a given execution id of the surefire plugin should run?

2012-03-12 Thread Kristian Rosenvold
This is undocumented, un-intentional and mostly un-nice. Run with forkMode=always, and surefire will only fork when there are tests to run. Kristian - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional

Re: Surefire plugin single test not working on 2.12

2012-03-13 Thread Kristian Rosenvold
Yes, there is https://jira.codehaus.org/browse/SUREFIRE-844 and probably som duplicates. This is on the short list of issues that need to be fixed before 2.12.1, ETA undecided. Kristian 2012/3/13 saltnlight5 saltnlig...@gmail.com: Hi there, When using `maven-surefire-plugin` version 2.12,

Re: Memory Leak?

2012-05-14 Thread Kristian Rosenvold
You *will* want to make sure you're running the latest versions of most plugins, since a few leaks of this type have been fixed over the last year or so. surefire had one. Kristian - To unsubscribe, e-mail:

Re: JUnit test failures stop the build, but test errors do not

2012-05-14 Thread Kristian Rosenvold
You probably want to make sure you're running at least verision 2.11 of surefire. 2.12 is the latest. Kristian 2012/5/14 Heinrichs, Dirk dirk.heinri...@capgemini.com: Hi, I've just joined a project which is using Maven for its builds. When running JUnit tests, the build fails if there is a

Re: How to run parallel test suite files in Maven

2012-06-25 Thread Kristian Rosenvold
Probably not; if you switch to classes there should be some threading. Is there any good reason why you choose the generally inferior methods threading ? Kristian 2012/6/26 sreekumar sreekumarthe...@gmail.com: Hi Team I am try to run parallel test suitesXML files from Maven as below

Re: problem: Maven creates the second plugin classloader during parallel build and uses two classloader hierachies simultaneously

2012-07-24 Thread Kristian Rosenvold
Thanks for a precise problem description. Having studied the source a bit, I found a race condition that would make this happen. I'm still analyzing the implications a bit, but I suspect this one is the underlying source of a few of the jiras on the parallel build, your report was the first that

Re: Unexpected and not-intentional switching of thread during a test method execution by maven-surefire-plugin

2012-07-26 Thread Kristian Rosenvold
The *only* way to make surefire use threads is to set the parallel attribute to some legal value. Use mvn help:effective-pom to see if this is set. I can see from your log output that this is not set, so this is something happening in your code/libs. I might suggest using

[ANN] Maven Surefire Plugin 2.12.2 (And 2.12.1) Released

2012-08-11 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.12.2. The release announcement for 2.12.1 seems to have bounced, so it is included in this mail too. This release includes the maven-surefire-plugin, which executes the unit tests of an application, the

[ANN] Maven Surefire Plugin 2.12.3 Released

2012-08-28 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.12.3. This release includes the maven-surefire-plugin, which executes the unit tests of an application, the maven-surefire-report-plugin, which parses surefire/failsafe test results and renders them to DOXIA

Re: Improving project build time

2012-09-17 Thread Kristian Rosenvold
You should probably be looking into parallelizing your tests :) . Either through using the parallel attribute of surefire or or forkMode=perThread. ( see http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html) forkMode=perThread is probably the easiest to get going with, but the

[ANN] Maven Surefire Plugin 2.12.4 Released

2012-09-28 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Surefire Plugin, version 2.12.4. This release includes the maven-surefire-plugin, which executes the unit tests of an application, the maven-surefire-report-plugin, which parses surefire/failsafe test results and renders them to DOXIA

[ANN] Maven Plugin Testing 1.3/2.1 Released

2012-09-28 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Plugin Testing, version 1.3 and 2.1 This release is Java7 compatible and updates all the dependencies of plugin-testing, especially easymock to version 2.5.2. Projects wishing to upgrade to this version will need to update their own

[ANN] Maven Maven Project Info Reports Plugin 2.6 Released

2012-10-29 Thread Kristian Rosenvold
The Maven team is pleased to announce the release of the Maven Project Info Reports Plugin, version 2.6 This version fixed an annoying bug in the 2.5.x range, where the plugin was actually downloading a noticeable part of the internet. It also adds image/gravatar.com avatar support to the team

[ANN] Maven Shared Utils 0.1 Released

2012-11-02 Thread Kristian Rosenvold
The Maven team is pleased to announce the initial release of maven-shared-utils, version 0.1 This project aims to be a functional replacement for {{{http://plexus.codehaus.org/plexus-utils}plexus-utils}} in Maven. It is not a 100% API compatible replacement though but a replacement with

  1   2   >