Re: Maven checkstyle plugin - how to get this working

2007-07-13 Thread jason r tibbetts
Si_Simon wrote: So I configured my pom to use the checkstyle plugin. It is looking for the configuration files. Not wanting to create them from scratch, I then downloaded the .zip for checkstyle-4.3 that has these config files but when I point to them in the pom.xml there are many, many

exec-maven-plugin: Swing app disappears immediately?

2007-03-23 Thread jason r tibbetts
I've configured the exec plugin to launch a simple Swing app using the 'java' goal, not 'exec'. The app appears, but then immediately disappears. I understand that the app is running within Maven's VM, but I don't understand whether or how the various options can be used to keep the app alive

Re: exec-maven-plugin: Swing app disappears immediately?

2007-03-23 Thread jason r tibbetts
I haven't tried this, but from reading http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html I believe that cleanupDaemonThreads

maven-exec-plugin: Launching a main class in a module?

2007-03-23 Thread jason r tibbetts
Here's another maven-exec-plugin question: how can it be made to work in a multi-module project? Right now, I've added the exec plugin configuration to the pom.xml in my 'client' subproject, but that requires me to do mvn install mvn -f client/pom.xml exec:java every time, and the second

Surefire 2.3 ignores suite()?

2007-03-13 Thread jason r tibbetts
I'm using Surefire 2.3 to test with JUnit 4, and it seems as though my tests' suite() methods aren't being used by the Surefire booter. Does it simply look for the @Test-annotated tests manually? I'm using suite() because I have a couple of Parameterized tests implemented as inner classes of

[1.0.2] JDK 1.5 vs. XML: The NoSuchMethodError

2006-04-12 Thread jason r tibbetts
Alright, I'm at my wits' end here. I'm using the DOM APIs that are part of JDK 1.5. I've found three DOM methods so far that compile without problems, but barf a NoSuchMethodError at run in unit tests (via standard 'maven test'). The three perps are: org.w3c.dom.Node.getTextContent()

Re: Include Junit src test from another project

2006-03-01 Thread jason r tibbetts
Emmanuel Venisse wrote: You can create a project that contain all tests in src/main/java in projects A and B, you add a dependency to test project with test scope. and finally in src/test/java of projects A and B, you create empty classes that extends classes in test project. I take a

Re: There were test failures

2006-02-24 Thread jason r tibbetts
Graham Leggett wrote: Hi all, I have just given a go at getting a test suite to be run when the maven build runs (this build depends on maven v1.0.2). The test suite runs painlessly, but then a test fails as below. I am mystified though: there is no indication of *which* of the 7 tests

[m1] Findbugs 1.1 plugin's dependencies not in repository

2006-02-01 Thread jason r tibbetts
Version 1.1 of the Findbugs plugin was posted to iBiblio on January 3rd, but two of its dependencies, findbugs-ant-0.9.4.jar and coreplugin-0.9.4.jar are missing. Whom do I ask to have these uploaded? - To unsubscribe, e-mail:

Re: pmd crashes

2006-01-26 Thread jason r tibbetts
Dan, Folks my problem is PMD not the plugin, but I ask anyway here Here is the error: = [INFO] Error during report generation Embedded error: Failure executing PMD for: ..\ui\internal\launcher\configuration\PreferencePageHistory.java Encountered abstract at line 151, column

[m2] Stack trace from webdoclet or its dependencies?

2005-12-19 Thread jason r tibbetts
I'm a Maven 1 user who's been trying out Maven 2 on a new project. It's a project that has the usual core jar, servlet war, ejb jar, and combined ear format. However, the build fails when it gets to the servlet war subproject, and I have no idea how to parse out the Maven 2 log format. This is

1.0.2: JCoverage doesn't use unit test resources?

2005-12-14 Thread jason r tibbetts
Is there any way to tell JCoverage to use the unit test resources? JCoverage worked fine until I added some tests which rely on properties files. Because these files are neither copied over to JCoverage's instrumented classes dir nor picked up in its classpath, these tests now fail. I tried to