Re: [VOTE] Name our mascot: Shotgun vs The Maven Owl
Changing to B + figured everyone would call it the Maven Owl anyway. On 15/12/2014 14:02, Alexis Morelle wrote: A Alexis. On 15/12/2014 11:39, Stephen Connolly wrote: 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 saying that the polls are closed) There will be no discussion in this thread, we have talked it all enough already. If you want to discuss something, please use a different thread. Vote: [A]: Shotgun [B]: The Maven Owl Thank you very much for your time -Stephen - 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: [VOTE] Name our mascot: Shotgun vs The Maven Owl
A Alexis. On 15/12/2014 11:39, Stephen Connolly wrote: 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 saying that the polls are closed) There will be no discussion in this thread, we have talked it all enough already. If you want to discuss something, please use a different thread. Vote: [A]: Shotgun [B]: The Maven Owl Thank you very much for your time -Stephen - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Maven failed with error while reading test results
Hi, I have this weird error that keep coming up after a simple mvn clean install. Maven goes out on this error while reading test results and never goes to the package, install etc goal... Would you guys know what this could come from? Thank you very much for your help, Alexis. Tests run: 311, Failures: 4, Errors: 0, Skipped: 0 [ERROR] There are test failures. Please refer to D:\Jenkins-slave\workspace\jobname\modulename\target\surefire-reports for the individual test results. [JENKINS] Recording test results [JENKINS] Archiving D:\Jenkins-slave\workspace\jobname\modulename\pom.xml to /opt/jenkins/projects/jobs/jobname/modules/gpId$artId/builds/2012-04-27_16-16-40/archive/gpId/artId/2.1.020.000-SNAPSHOT/cms-xmlengine-2.1.020.000-SNAPSHOT.pom [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.5:test': Failed to read D:\Jenkins-slave\workspace\jobname\modulename\target\surefire-reports\result.xml Invalid byte 2 of 3-byte UTF-8 sequence. [INFO] [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.5:test': Failed to read D:\Jenkins-slave\workspace\jobname\modulename\target\surefire-reports\result.xml at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:698) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:185) at hudson.maven.MavenBuilder.call(MavenBuilder.java:151) at hudson.maven.Maven2Builder.call(Maven2Builder.java:77) at hudson.maven.Maven2Builder.call(Maven2Builder.java:53) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.maven.plugin.PluginManagerException: Failed to read D:\Jenkins-slave\workspace\OT_1.2-OAMP-CMS-Deploy_All_Inc15mn\xmlengine\cms-xmlengine\target\surefire-reports\result.xml at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:196) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 28 more Caused by: hudson.util.IOException2: Failed to read D:\Jenkins-slave\workspace\OT_1.2-OAMP-CMS-Deploy_All_Inc15mn\xmlengine\cms-xmlengine\target\surefire-reports\result.xml at hudson.tasks.junit.TestResult.parse(TestResult.java:244) at hudson.tasks.junit.TestResult.parse(TestResult.java:163) at hudson.maven.reporters.SurefireArchiver.postExecute(SurefireArchiver.java:141) at hudson.maven.Maven2Builder.postExecute(Maven2Builder.java:155) at hudson.maven.MavenBuilder$Adapter.postExecute(MavenBuilder.java:310) at hudson.maven.agent.PluginManagerInterceptor$1MojoIntercepterImpl.callPost(PluginManagerInterceptor.java:170) at
Re: Maven failed with error while reading test results
The thing is that if I add -fn for example (never fail), the build ends successfully. Anyway I just saw something even more strange with the following log. It says: [INFO] Error for project: CMS - XML Engine Implementation (during install) But then: [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.5:test see this log with the -fn option. [ERROR] There are test failures. Please refer to D:\Jenkins-slave\workspace\OT_1.2-OAMP-CMS-Deploy_All_Inc15mn\xmlengine\cms-xmlengine\target\surefire-reports for the individual test results. [JENKINS] Recording test results [JENKINS] Archiving D:\Jenkins-slave\workspace\OT_1.2-OAMP-CMS-Deploy_All_Inc15mn\xmlengine\cms-xmlengine\pom.xml to /opt/jenkins/projects/jobs/OT_1.2-OAMP-CMS-Deploy_All_Inc15mn/modules/com.alcatel_lucent.ice.oamp.cms.xmlengine$cms-xmlengine/builds/2012-04-27_17-14-12/archive/com.alcatel_lucent.ice.oamp.cms.xmlengine/cms-xmlengine/2.1.020.000-SNAPSHOT/cms-xmlengine-2.1.020.000-SNAPSHOT.pom [INFO] Error for project: CMS - XML Engine Implementation (during install) [INFO] [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.5:test': Failed to read D:\Jenkins-slave\workspace\OT_1.2-OAMP-CMS-Deploy_All_Inc15mn\xmlengine\cms-xmlengine\target\surefire-reports\result.xml Invalid byte 2 of 3-byte UTF-8 sequence. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] + Ignoring failures [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 30 seconds [INFO] Finished at: Fri Apr 27 17:14:44 CEST 2012 [INFO] Final Memory: 72M/371M [INFO] Waiting for Jenkins to finish collecting data Finished: SUCCESS thx very much Alexis. Le 27/04/2012 17:26, Matt Walsh a écrit : Doesn't look like maven failed. Your tests failed, which caused your build to fail, then Jenkins failed looking for results. Maybe you've configured your Jenkins build to do it's post processing even on failure? Matt -Original Message- From: Alexis Morelle [mailto:alexis.more...@alcatel-lucent.com] Sent: Friday, April 27, 2012 9:22 AM To: users@maven.apache.org Subject: Maven failed with error while reading test results Hi, I have this weird error that keep coming up after a simple mvn clean install. Maven goes out on this error while reading test results and never goes to the package, install etc goal... Would you guys know what this could come from? Thank you very much for your help, Alexis. Tests run: 311, Failures: 4, Errors: 0, Skipped: 0 [ERROR] There are test failures. Please refer to D:\Jenkins-slave\workspace\jobname\modulename\target\surefire- reports for the individual test results. [JENKINS] Recording test results [JENKINS] Archiving D:\Jenkins-slave\workspace\jobname\modulename\pom.xml to /opt/jenkins/projects/jobs/jobname/modules/gpId$artId/builds/2012 -04-27_16-16-40/archive/gpId/artId/2.1.020.000-SNAPSHOT/cms- xmlengine-2.1.020.000-SNAPSHOT.pom [INFO] --- - [ERROR] BUILD ERROR [INFO] --- - [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.5:test': Failed to read D:\Jenkins-slave\workspace\jobname\modulename\target\surefire- reports\result.xml Invalid byte 2 of 3-byte UTF-8 sequence. [INFO] --- - [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.5:test': Failed to read D:\Jenkins-slave\workspace\jobname\modulename\target\surefire- reports\result.xml at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defaul tLifecycleExecutor.java:698) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLife cycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Default LifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandl eFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLife cycleExecutor.java:180
Re: Maven failed with error while reading test results
Lol don't consider that, that was a lame attempt to obfuscate few internal details as asked by my company... See my next answer for more details with normal logs, sorry about that. Alexis. Le 27/04/2012 17:37, Wayne Fay a écrit : Please refer to D:\Jenkins-slave\workspace\jobname\modulename\target\surefire-reports for the individual test results. Does the log literally sayjobname andmodulename? If so, this suggests an error in how Jenkins is calling your Maven build (to me at least). [JENKINS] Archiving D:\Jenkins-slave\workspace\jobname\modulename\pom.xml to /opt/jenkins/projects/jobs/jobname/modules/gpId$artId/builds/2012-04-27_16-16-40/archive/gpId/artId/2.1.020.000-SNAPSHOT/cms-xmlengine-2.1.020.000-SNAPSHOT.pom Here we seegpId and $artId which seem wrong. Caused by: org.apache.maven.plugin.PluginManagerException: Failed to read D:\Jenkins-slave\workspace\OT_1.2-OAMP-CMS-Deploy_All_Inc15mn\xmlengine\cms-xmlengine\target\surefire-reports\result.xml Here in the log it looks like the groupIds and artifactIds are fully resolved. There is a lot going on here. I don't know where to begin. Wayne - 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 failed with error while reading test results
I though of that (add the problem long time ago with a pom file) but that's not the issue, I've tried several things (-Dproject.reporting.outputEncoding=UTF-8 and stuff like that). Anyway, I've looked more closely at the file which contains tons of test results and some of them are a big mess of misencoded data. I'll try to look further why would maven just stop its building process later on but I have to solve another issue first. Thank you very much for your help, Alexis. Le 27/04/2012 17:52, Matt Walsh a écrit : D:\Jenkins-slave\workspace\jobname\modulename\target\surefire- reports\result.xml Invalid byte 2 of 3-byte UTF-8 sequence. This would lead me to believe there's a BOM (Byte-Order-Mark) error in the result.xml file. Does the surefire plugin generate BOMs?? -Original Message- From: Alexis Morelle [mailto:alexis.more...@alcatel-lucent.com] Sent: Friday, April 27, 2012 9:42 AM To: Maven Users List Subject: Re: Maven failed with error while reading test results The thing is that if I add -fn for example (never fail), the build ends successfully. Anyway I just saw something even more strange with the following log. It says: [INFO] Error for project: CMS - XML Engine Implementation (during install) But then: [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.5:test see this log with the -fn option. [ERROR] There are test failures. Please refer to D:\Jenkins-slave\workspace\OT_1.2-OAMP-CMS- Deploy_All_Inc15mn\xmlengine\cms-xmlengine\target\surefire-reports for the individual test results. [JENKINS] Recording test results [JENKINS] Archiving D:\Jenkins-slave\workspace\OT_1.2-OAMP-CMS- Deploy_All_Inc15mn\xmlengine\cms-xmlengine\pom.xml to /opt/jenkins/projects/jobs/OT_1.2-OAMP-CMS- Deploy_All_Inc15mn/modules/com.alcatel_lucent.ice.oamp.cms.xmlengine$cm s-xmlengine/builds/2012-04-27_17-14- 12/archive/com.alcatel_lucent.ice.oamp.cms.xmlengine/cms- xmlengine/2.1.020.000-SNAPSHOT/cms-xmlengine-2.1.020.000-SNAPSHOT.pom [INFO] Error for project: CMS - XML Engine Implementation (during install) [INFO] --- - [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.5:test': Failed to read D:\Jenkins-slave\workspace\OT_1.2-OAMP-CMS- Deploy_All_Inc15mn\xmlengine\cms-xmlengine\target\surefire- reports\result.xml Invalid byte 2 of 3-byte UTF-8 sequence. [INFO] --- - [INFO] For more information, run Maven with the -e switch [INFO] --- - [INFO] + Ignoring failures [INFO] --- - [INFO] BUILD SUCCESSFUL [INFO] --- - [INFO] Total time: 30 seconds [INFO] Finished at: Fri Apr 27 17:14:44 CEST 2012 [INFO] Final Memory: 72M/371M [INFO] --- - Waiting for Jenkins to finish collecting data Finished: SUCCESS thx very much Alexis. Le 27/04/2012 17:26, Matt Walsh a écrit : Doesn't look like maven failed. Your tests failed, which caused your build to fail, then Jenkins failed looking for results. Maybe you've configured your Jenkins build to do it's post processing even on failure? Matt -Original Message- From: Alexis Morelle [mailto:alexis.more...@alcatel-lucent.com] Sent: Friday, April 27, 2012 9:22 AM To: users@maven.apache.org Subject: Maven failed with error while reading test results Hi, I have this weird error that keep coming up after a simple mvn clean install. Maven goes out on this error while reading test results and never goes to the package, install etc goal... Would you guys know what this could come from? Thank you very much for your help, Alexis. Tests run: 311, Failures: 4, Errors: 0, Skipped: 0 [ERROR] There are test failures. Please refer to D:\Jenkins-slave\workspace\jobname\modulename\target\surefire- reports for the individual test results. [JENKINS] Recording test results [JENKINS] Archiving D:\Jenkins-slave\workspace\jobname\modulename\pom.xml to /opt/jenkins/projects/jobs/jobname/modules/gpId$artId/builds/2012 -04-27_16-16-40/archive/gpId/artId/2.1.020.000-SNAPSHOT/cms- xmlengine-2.1.020.000-SNAPSHOT.pom [INFO] - -- - [ERROR] BUILD ERROR [INFO] - -- - [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.5:test': Failed to read D:\Jenkins-slave\workspace\jobname\modulename\target\surefire- reports\result.xml Invalid byte 2 of 3-byte UTF-8 sequence. [INFO] - -- - [DEBUG] Trace
Re: help:effective-settings
If you don't happen to have a -s option in your command line, then the settings is either in your .m2 home directory or in your maven installation. I don't know if there's a way to find the location of the settings file but there are few things you may want to look for. First be sure of which user is executing maven. For example if you're executing maven within Jenkins or Hudson, may be the user launching it isn't the one you think so you have to look for the home directory of that user. The second thing you have to know is that the effective pom is a merge of your personal settings file and the one located in the conf directory of your maven installation. May be the information you're looking for is there. Alexis. Le 15/03/2011 14:44, Asmann, Roland a écrit : Hi all, I had this feeling that my Maven was using the wrong settings.xml file and when running help:effective-settings, it indeed shows me the wrong configuration. Now, I looked in all the normal places where settings.xml files are looked for, but I can't seem to find where Maven is seeing this file! Is there some way to have Maven report back on where the settings.xml files where found? Thanks, - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to move $USERHOME\.m2 folder to another directory?
Hi, if that's just for the local repository you can do that otherwise if you want to move the location of the settings file also, you can specify one using -s option in maven. In eclipse you can set the location of the settings.xml file in the maven preferences. Be careful, if you forget the option, the settings file inside the .m2 directory of your home directory will be used. If it's not there, only the global settings file (in the maven installation directory) will be considered. Using mvn --help you get: -gs,--global-settings arg Alternate path for the global settings file -s,--settings arg Alternate path for the user settings file Alexis. Le 25/10/2010 14:51, hermod.opstv...@dnbnor.no a écrit : Hei In $USERHOME\.m2 settings.xml file you can specify the location of the repository ?xml version=1.0 encoding=UTF-8? settings xmlns=http://maven.apache.org/SETTINGS/1.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd; localRepositorypoint to your new location/localRepository . Hermod -Original Message- From: Ben Stover [mailto:bxsto...@yahoo.co.uk] Sent: Monday, October 25, 2010 2:47 PM To: users@maven.apache.org Subject: How to move $USERHOME\.m2 folder to another directory? Currently my Maven settings dir is C:\Documents and Settings\ben\.m2\ resp. C:\Documents and Settings\ben\.m2\repository How can I move this directory to another location e.g. D:\maven Which parameters in which file do I have to change (even in Eclipse maven plugin) to have Maven working with the new config+repository folder? Ben - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the anti virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - 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