Excessive build time using maven assembly plugin

2012-06-19 Thread jredden

Fellow developers,

Has anyone seen the behavior of revisiting of every object in the 
install/package process looking for EJBs and the like(?).  Is there a 
better plugin?  Missing attributes?  Code snippet:


plugins
plugin
artifactIdmaven-compiler-plugin/artifactId
configuration
source${java-version}/source
target${java-version}/target
/configuration
/plugin

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
version2.10/version
/plugin

plugin
artifactIdmaven-assembly-plugin/artifactId
configuration
descriptorRefs
descriptorRefjar-with-dependencies/descriptorRef
/descriptorRefs
archive
manifest
mainClasscom.mycompany.service.notification.NotificationService/mainClass
/manifest
/archive
/configuration

executions
execution
idmake-assembly/id!-- this is used for inheritance merges --
phasepackage/phase!-- bind to the packaging phase --
goals
goalsingle/goal
/goals
/execution
/executions
/plugin
/plugins




java.lang.NoClassDefFoundError: TestCase

2009-08-12 Thread jredden
I ran into this tricky condition wile building a new branch of a project
in subversion.

mvn test 

produced

org.apache.maven.surefire.booter.SurefireExecutionException: TestCase;
nested exception is java.lang.NoClassDefFoundError: TestCase
java.lang.NoClassDefFoundError: TestCase


I was confused since I had a junit-4.4.jar correctly configured.

After scratching my head for a while, the problem was solved.

I run maven from the command line, but do my editing in eclipse europa.
I *didn't* have junit-4.4.jar configured in eclipse.  Once I configured
it in eclipse all was well.  Reason:  I have both eclipse and maven
using the same target area (.../target/all that stuff)

Just a heads up to the list for a tricky challenge.



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org