[m2e-users] JUnit runs well using "Run As > Maven test" but fails at "Run As > JUnit test"

2012-07-24 Thread Markus Karg
I have a strange classpath problem in m2e and hope you can help. At the command line (CMD.EXE) on my Windows 7 (64 Bit) machine I can type "mvn test", which compiles and tests and then says all is good. Also, I can run "Run As > Maven test", which prints in the "Console" view that the test

Re: [m2e-users] JUnit runs well using "Run As > Maven test" but fails at "Run As > JUnit test"

2012-07-24 Thread Fred Bricon
javaee-api-6.0.jar contains classes with empty methods and is only useful for compiling. You should use one of the javaee6 implementations provided by jboss ( http://search.maven.org/#artifactdetails%7Corg.jboss.spec%7Cjboss-javaee_6.0_spec%7C1.0.0.Beta3%7Cpom ) or glassfish (not sure what artifac

Re: [m2e-users] JUnit runs well using "Run As > Maven test" but fails at "Run As > JUnit test"

2012-07-24 Thread Markus Karg
Well, it is simple to explain why the tests run well in mvn: None of the code covered by the tests is throwing or catching the mentioned exception. So it is not a problem that the class is abstract. Von: m2e-users-boun...@eclipse.org [mailto:m2e-users-boun...@eclipse.org] Im Auftrag von Fred

Re: [m2e-users] JUnit runs well using "Run As > Maven test" but fails at "Run As > JUnit test"

2012-07-24 Thread Fred Bricon
Yes it is, the stacktrace is very explicit about it. I think the difference with maven is Eclipse Junit finds something else in its classpath that triggers the error : I have no idea what de.quipsy.entities.ProjectAPQPCompliance.canBeEdited is and why it's called, but it's the source of your issue

Re: [m2e-users] JUnit runs well using "Run As > Maven test" but fails at "Run As > JUnit test"

2012-07-24 Thread Markus Karg
Well, „canBeEdited“ is the Unit Test itself, so it cannot be the source, as it runs well in mvn (and, BTW, it does nothing but simply creating an instance of a class). Von: m2e-users-boun...@eclipse.org [mailto:m2e-users-boun...@eclipse.org] Im Auftrag von Fred Bricon Gesendet: Dienstag, 24.

Re: [m2e-users] JUnit runs well using "Run As > Maven test" but fails at "Run As > JUnit test"

2012-07-24 Thread Greg Thomas
On 24 July 2012 13:10, Markus Karg wrote: > Well, „canBeEdited“ is the Unit Test itself, so it cannot be the source, as > it runs well in mvn (and, BTW, it does nothing but simply creating an > instance of a class). By default, de.quipsy.entities.ProjectAPQPCompliance.canBeEdited is not a class t

Re: [m2e-users] JUnit runs well using "Run As > Maven test" but fails at "Run As > JUnit test"

2012-07-24 Thread Markus Karg
Thank you for this very good hint! Indeed, at command line the test simply was skipped. When renaming it (so it ends on "*Test") the same problem occurs at CLI, too! So it is definitively not a m2e problem! Thanks! :-) Markus -Ursprüngliche Nachricht- Von: m2e-users-boun...@eclipse.org

Re: [m2e-users] *.lastUpdated files (problem with downloading depenendencies)

2012-07-24 Thread Matthew Piggott
Looks like it is timing out. On 23 July 2012 19:04, Sergey Ionov wrote: > I often get messages like this: > > --- > ArtifactTransferException: Failure to transfer cglib:cglib-full:jar:2.0.2 > from was cached in the local repository, resolution will not be > reattempted until the update interval

[m2e-users] Contributing to m2e

2012-07-24 Thread Kamesh Sampath
Hi, I am interested in contributing a patch to m2e, but I am having difficulties setting up my development workspace. I searched and found old codehaus document but that is not valid any more. Can anyone tell me or point to the documentation how to setup a local dev workspace to get started

Re: [m2e-users] Contributing to m2e

2012-07-24 Thread Fred Bricon
See http://wiki.eclipse.org/M2E_Development_Environment On Tue, Jul 24, 2012 at 4:56 PM, Kamesh Sampath wrote: > Hi, > > I am interested in contributing a patch to m2e, but I am having > difficulties setting up my development workspace. I searched and found old > codehaus document but that is n

[m2e-users] Error Accessing milestones repository

2012-07-24 Thread Kamesh Sampath
Hi, I am trying to setup the local dev environment as per the instruction from http://wiki.eclipse.org/M2E_Development_Environment When trying to access the http://download.eclipse.org/technology/m2e/milestones/1.2 from Juno SDK I am getting the error _"No repository found at http://downl

Re: [m2e-users] Error Accessing milestones repository

2012-07-24 Thread Fred Bricon
m2e 1.2 has not been released as a milestone yet (contrary to what http://www.eclipse.org/m2e/download/ says). Either use m2e 1.1 from http://download.eclipse.org/technology/m2e/releases/ or the latest 1.2 CI build from https://repository.sonatype.org/content/repositories/forge-sites/m2e/1.2.0/N/L

Re: [m2e-users] [Bug 384660] m2e version 1.0 fails to update dependencies on opened sub projects when Workspace Resolution is enabled

2012-07-24 Thread Shalini Bhandari
Hi Fred, where can I find the m2e-wtp configurators if I need to make modifications? under .settings of each projects ? If so, is there a way to configure it in eclipse (properties > deployment assembly ?? ) ? Could you also send me a link of a good tutorial where they actually talk about m2e-wtp

[m2e-users] Having problems with M2Eclipse lately

2012-07-24 Thread Keith Barlow
Hiyas, I recently had to reinstall my eclipse instance (last week) and since then have been having a lot of problems with M2Eclipse. For starters, when I checkout a multi-module project using any of the SCM handlers (confirmed both in Subclipse and Subversive on both Juno and Indigo), only the pa

Re: [m2e-users] Error Accessing milestones repository

2012-07-24 Thread Kamesh Sampath
I guess there needs to be an update to the Orbit repo which currently pointing to http://download.eclipse.org/tools/orbit/downloads/drops/S20120123151124/repository/ --> http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository/ As the build is failing when when pulli

Re: [m2e-users] Having problems with M2Eclipse lately

2012-07-24 Thread Mike Youngstrom
I think I experienced similar issues. Ended up that m2e scm integration was renaming my sub project folders. That was causing all kinds of problems. Perhaps this could be your problem as well? I filed an issue and a candidate patch for it. https://bugs.eclipse.org/bugs/show_bug.cgi?id=384510

[m2e-users] Antwort: [SPAM] Re: Having problems with M2Eclipse lately

2012-07-24 Thread Sascha Vujevic
I think the problem is in the ProjectConfigurationManager.class. If i understand the code right, the methode "create" renames the project-folders if the name of the project differs from the entry of the modul-name in the pom.xml. Why this is implemented in the m2e-core modul and not in m2eeclips