Its a surefire testng bug.
It is indeed a very anoying one en apparently there is some working on I
don't know what the bug id is.
however what you can do is use maven-antrun-plugin although I don't know how
to fail a complete build when the tests fail but at least you can figure out
what the
Mark D. responded that TestNG's API changed so they break Surefire,
but this is currently being worked on, so hopefully we'll get some
working releases soon.
He suggested using the latest TestNG Ant plugin with Antrun if you
need functionality in v5.2+.
Wayne
On 4/4/07, Rolf Strijdhorst [EMAIL
Hi Wayne,
I have the tests working in eclipse, but not in maven.
And even then eclipse and maven need to work together because of some
problems in project building with eclipse.
As I've stated before for some reason my maven build fails with testng
because surefire and testng and the embedded
Hi Thorsten,
this is not a junit test but a testng.
Transactions are handled in the testmethods themselves.
The error messages are not describing the real error.
The problem is that for some reason during the maven execution of the test.
Testng and the embeddable ejb container have some
that's
why
you have the classes compiled already in your workspace. Try cleaning
your
workspace, then do a `mvn clean test' in the command line to see if it
still
gives the same error. Provide us with your pom.xml too, it would be very
helpful. :)
Cheers!
Nap
On 3/28/07, Rolf Strijdhorst [EMAIL
Hi Thorsten,
Strange all my resource directories (src/main/resources, src/test/resources,
src/main/java, scr/test/java) are all included in the build path but only
the resources in src/main/java and in src/test/java show up in
target/classes
I have checked the buildpath for excluded and included
Hi during the test phase of my project I get this error in maven2 using
testng
java.lang.Error: Unresolved compilation problems:
The import org.dbunit cannot be resolved
DefaultDataTypeFactory cannot be resolved to a type
DataType cannot be resolved to a type
DataTypeException cannot
Hi this is probably a configuration error from the execution of the m2
plugin in your workspace.
for more help you 'll have to provide your launcher settings and probably
your pom as well.
Rolf.
On 11/28/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Folks,
my projects build fine when
of the eclipse-plugin
On 11/10/06, Barrie Treloar [EMAIL PROTECTED] wrote:
On 11/9/06, Rolf Strijdhorst [EMAIL PROTECTED] wrote:
what do you need the .checkstyle file for. I mean eclipse finds it on
its
own. as soon as you include de builder and the nature.
The .checkstyle file does not exist
what do you need the .checkstyle file for. I mean eclipse finds it on its
own. as soon as you include de builder and the nature.
Rolf
On 11/8/06, Barrie Treloar [EMAIL PROTECTED] wrote:
I found one post here
http://www.nabble.com/forum/ViewPost.jtp?post=2165470framed=yskin=177
which discussed
with an exception stack trace.
On 10/24/06, Dennis Lundberg [EMAIL PROTECTED] wrote:
Rolf Strijdhorst wrote:
Hi,
this is the exception i recieve:
[INFO] There are 3 checkstyle errors.
[WARN] Unable to locate Source XRef to link to - DISABLED
[WARN
/plugins
/build
As said before the error is correct but it just doesn't fail nicely
Rolf
On 10/11/06, Rolf Strijdhorst [EMAIL PROTECTED] wrote:
monday I will put the exception on this list
thanx anyway
Rolf
On 10/10/06, Dennis Lundberg [EMAIL PROTECTED] wrote:
Rolf Strijdhorst wrote
have a look at
http://svn.sourceforge.net/viewvc/el4j/trunk/el4j/pom.xml?view=markup
Cheers,
Martin
-Original Message-
From: Rolf Strijdhorst [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 10. Oktober 2006 16:21
To: Maven Users List
Subject: how do i disable the sunconvention check
Cheers,
Martin
-Original Message-
From: Rolf Strijdhorst [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 10. Oktober 2006 16:21
To: Maven Users List
Subject: how do i disable the sunconvention check with checkstyle?
Hi I have a custom configuration.
But both the sun conventions
monday I will put the exception on this list
thanx anyway
Rolf
On 10/10/06, Dennis Lundberg [EMAIL PROTECTED] wrote:
Rolf Strijdhorst wrote:
Hi when running the checkstyle plugin and some code styles are violated
the
build fails with an exception.
It does not fail nicely like the pmd plugin
Hi when running the checkstyle plugin and some code styles are violated the
build fails with an exception.
It does not fail nicely like the pmd plugin.
Is this supposed to happen like this?
thanx
Rolf
Sorry,
but what error this is just a link,
I think there went something wrong with your copy-past action
On 10/10/06, Laetitia Juers [EMAIL PROTECTED] wrote:
I need to customize the Checkstyle plugin with some new rules. They are
written
in a package and defined in a configuration XML file.
.
Embedded error: Failed during checkstyle configuration
TreeWalker is not allowed as a parent of CheckNJ2EE203
[INFO]
Thanks for advices.
Selon Rolf Strijdhorst [EMAIL PROTECTED]:
Sorry,
but what error this is just a link,
I
Hi I have a custom configuration.
But both the sun conventions are checked as well as my own.
I don't need the sun conventions
btw the build needs to fail on violations so I added the check goal.
here is the part of the config:
plugin
:73)
... 10 more
On 10/9/06, Rolf Strijdhorst [EMAIL PROTECTED] wrote:
Hi all,
I was wondering is it possible to let the checkstyle plugin control the
build process like the pmd plugin can do?
For example right now we are using eclipse to manage our build and the
checkstyle plugin (eclipse
Hi all,
I was wondering is it possible to let the checkstyle plugin control the
build process like the pmd plugin can do?
For example right now we are using eclipse to manage our build and the
checkstyle plugin (eclipse-cs) prevends the workspace from building on
certain criteria.
I've tried to
you'll do better to try the tapestry mailing list
trails is not build using maven and check his blog
On 4/26/06, Jonnalagadda, Sumithra [EMAIL PROTECTED] wrote:
Has anyone here tried Trails?.
Where from to download trails?.
Is it stable and comprehensive enough for a e-commerce site?.
Hi I haven't myself but a college of mine has something on his blog about
maven2 and luntbuild.
Don't be scared it is a dutch domain but the content is english
www.gridshore.nl/blog
Rolf
On 4/23/06, Wayne Fay [EMAIL PROTECTED] wrote:
Wondering if anyone is using Luntbuild CI server [1] with
Hi is this a problem with perm memory? if so I think it is the same problem
Matt Railble describes on his blog:
http://raibledesigns.com/page/rd/20060419
the fix is to collect the memory consumtion data and express a solution on
that problem by setting the perm mem size accordingly
I have this same problem as I mentioned in an earlier post.
It seems that the eclipse compiler is commented out as a possible compiler
option
I have no idea when someone is going to fix this
there are some problems using the eclipse plugin it seems.
Rolf
On 4/10/06, Jochen Wiedmann [EMAIL
.
I have added your instructions for running the jetty plugin
under the eclipse debugger as a FAQ entry on the jetty6
site at:
http://docs.codehaus.org/display/JETTY/Debugging+with+the+Maven+Jetty+Plugin+inside+Eclipse
I've credited your name.
regards
Jan
Rolf Strijdhorst wrote:
yes
I went through some source code on the plexus compilers. And why is Eclipse
comented out as a possible compiler?
Is there a fix comming up?
anyone?
On 2/14/06, Rolf Strijdhorst [EMAIL PROTECTED] wrote:
Hi Jay,
Ok I did try some experiments but they failed. I will try to dig
you find.
Jay
--
*From:* Rolf Strijdhorst [mailto:[EMAIL PROTECTED]
*Sent:* Friday, February 10, 2006 2:12 AM
*To:* Jay H. Hartley
*Subject:* Re: eclipse compiler
Hi Jay I did one test and only including the compilerId eclipse is not
enough.
I am about to do
hi I am wondering is het possible to assign a different compiler. I want to
use the eclipse compiler for my builds.
thanx
Rolf
yes, there is just start maven with:
jetty6:run
but have in the environment tap of externaltools
a variable MAVEN_OPTS with content: -Xdebug -Xnoagent
-Djava.compiler=NONE-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=4000
next run debug on port 4000 or the same portnumber as the
I noticed that first i needed an install cycle before I start Jetty. Only
that way the correct classes are in the repository (my jar)
On 12/17/05, Rolf Strijdhorst [EMAIL PROTECTED] wrote:
I have included the M2_REPO variable and all my other dependencies appear
as normally in my classpath
Hi I'm working with maven2 and using eclipse I have a war project and a jar
project.
when i am using the maven-eclipse plugin and have stated that my war project
has a dependency on my jar project. I do not see the jar in my list of
project dependencies. in the ide.
This seems to cause a problem
PROTECTED] wrote:
Hi Rolf,
Have you specified the M2_REPO classpath variable in eclipse? as stated
in http://maven.apache.org/guides/mini/guide-ide-eclipse.html
regards,
-allan
Rolf Strijdhorst wrote:
Hi I'm working with maven2 and using eclipse I have a war project and a
jar
project
Hi I'm working with maven2 and using eclipse I have a war project and a jar
project.
when i am using the maven-eclipse plugin and have stated that my war project
has a dependency on my jar project. I do not see the jar in my list of
project dependencies. in the ide.
This seems to cause a problem
34 matches
Mail list logo