Sorry, I should have included all the text:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plu
gins:maven-surefire-plugin:2.2:test': Unable to find the mojo 'org.apache.maven.
plugins:maven-surefire-plugin:2.2:test' in the plugin 'org.apache.maven.plugins:
maven-surefire-plugin'
org/apache/maven/surefire/booter/SurefireExecutionException
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the pl
ugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.2:
test': Unable to find the mojo 'org.apache.maven.plugins:maven-surefire-plugin:2
.2:test' in the plugin 'org.apache.maven.plugins:maven-surefire-plugin'
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:538)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.PluginManagerException: Unable to find the mo
jo 'org.apache.maven.plugins:maven-surefire-plugin:2.2:test' in the plugin 'org.
apache.maven.plugins:maven-surefire-plugin'
        at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
tPluginManager.java:533)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:390)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        ... 16 more
Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupExc
eption: Unable to lookup component 'org.apache.maven.plugin.Mojoorg.apache.maven
.plugins:maven-surefire-plugin:2.2:test', it could not be created
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:335)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:440)
        at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul
tPluginManager.java:524)
        ... 18 more
Caused by: org.codehaus.plexus.component.factory.ComponentInstantiationException
: Could not instanciate component: role: 'null', implementation: 'org.apache.mav
en.plugin.surefire.SurefirePlugin'
        at org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeE
xception(JavaComponentFactory.java:77)
        at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
stance(JavaComponentFactory.java:62)
        at org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De
faultPlexusContainer.java:1464)
        at org.codehaus.plexus.component.manager.AbstractComponentManager.create
ComponentInstance(AbstractComponentManager.java:93)
        at org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo
mponent(PerLookupComponentManager.java:48)
        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai
ner.java:331)
        ... 20 more
Caused by: java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/Sure
fireExecutionException
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
        at java.lang.Class.getConstructor0(Class.java:1930)
        at java.lang.Class.newInstance0(Class.java:278)
        at java.lang.Class.newInstance(Class.java:261)
        at org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn
stance(JavaComponentFactory.java:44)
        ... 24 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Wed May 31 17:40:03 CDT 2006
[INFO] Final Memory: 5M/10M
[INFO] ------------------------------------------------------------------------




----- Original Message ----
From: Carlos Sanchez <[EMAIL PROTECTED]>
To: Maven Users List <[email protected]>; Sean McNamara <[EMAIL PROTECTED]>
Sent: Wednesday, May 31, 2006 5:40:28 PM
Subject: Re: EJB Module troubles - new changes?

Run with -X or -e to see the error

On 5/31/06, Sean McNamara <[EMAIL PROTECTED]> wrote:
> Thanks Carlos.  Doing the update has caused some more trouble in paradise:
>
> -----------------------------------------------------
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal 
> 'org.apache.maven.plu
> gins:maven-surefire-plugin:2.2:test': Unable to find the mojo 
> 'org.apache.maven.
> plugins:maven-surefire-plugin:2.2:test' in the plugin 
> 'org.apache.maven.plugins:
> maven-surefire-plugin'
> org/apache/maven/surefire/booter/SurefireExecutionException
> [INFO] 
> ------------------------------------------------------------------------
>
> Any tips?
>
> ----- Original Message ----
> From: Carlos Sanchez <[EMAIL PROTECTED]>
> To: Maven Users List <[email protected]>; Sean McNamara <[EMAIL 
> PROTECTED]>
> Sent: Wednesday, May 31, 2006 5:31:23 PM
> Subject: Re: EJB Module troubles - new changes?
>
> You are using snapshots that by default are checked every day.
> Use the option
>
>  -U,--update-snapshots         Update all snapshots regardless of
>                               repository policies
>
> There's no mirror of apache snapshot repo
>
> On 5/31/06, Sean McNamara <[EMAIL PROTECTED]> wrote:
> > One more question:  How long will does this usually take to propogate out 
> > to the repositories?  I need to get a release built, and am hung up on this 
> > particular issue.
> >
> > Thanks again!
> >
> > ----- Original Message ----
> > From: Carlos Sanchez <[EMAIL PROTECTED]>
> > To: Maven Users List <[email protected]>; Sean McNamara <[EMAIL 
> > PROTECTED]>
> > Sent: Wednesday, May 31, 2006 5:24:21 PM
> > Subject: Re: EJB Module troubles - new changes?
> >
> > I just fixed it. I used a method only available in 1.5
> >
> > On 5/31/06, Sean McNamara <[EMAIL PROTECTED]> wrote:
> > > I recently had a build that was working fine start failing, and I'm 
> > > wondering if there were changes to maven-ejb-module that might be causing 
> > > me problems, and if so, what to do about them.
> > >
> > > I'm compiling for EJB 2.0 with JDK v1.4.  The build process has been 
> > > working fine, but recently when I rand the compile, I had the following 
> > > happen:
> > >
> > > [INFO] [ejb:ejb]
> > > [INFO] Building ejb surveillance-ejb-3.5.1.i with ejbVersion 2.1
> > > [INFO] Building jar: 
> > > C:\development\AuditTrail_GTC\AuditTrailSearch\surveillance
> > > -ejb\target\surveillance-ejb-3.5.1.i.jar
> > > [INFO] 
> > > ------------------------------------------------------------------------
> > > [ERROR] FATAL ERROR
> > > [INFO] 
> > > ------------------------------------------------------------------------
> > > [INFO] java.lang.Boolean.parseBoolean(Ljava/lang/String;)Z
> > > [INFO] 
> > > ------------------------------------------------------------------------
> > > [INFO] Trace
> > > java.lang.NoSuchMethodError: 
> > > java.lang.Boolean.parseBoolean(Ljava/lang/String;)Z
> > >
> > >
> > > It's building for EJB v2.1, and is constructing code using JDK v1.5 
> > > methods (Boolean.parseBoolean()).
> > >
> > > I looked in the archives, and found the discussion of the <ejbVersion> 
> > > tag, which I set to 2.0.  After doing so, I see the following:
> > >
> > > [INFO] [ejb:ejb]
> > > [INFO] Building ejb surveillance-ejb-3.5.1.i with ejbVersion 2.0
> > > [INFO] Building jar: 
> > > C:\development\AuditTrail_GTC\AuditTrailSearch\surveillance
> > > -ejb\target\surveillance-ejb-3.5.1.i.jar
> > > [INFO] 
> > > ------------------------------------------------------------------------
> > > [ERROR] FATAL ERROR
> > > [INFO] 
> > > ------------------------------------------------------------------------
> > > [INFO] java.lang.Boolean.parseBoolean(Ljava/lang/String;)Z
> > >
> > > So it appears to understand I want to build 2.0 EJBs, but is still using 
> > > the Java 1.5 constructs.
> > >
> > > Any pointers on what I need to add/change to get this back to working?
> > >
> > > Thanks!
> > >
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > I could give you my word as a Spaniard.
> > No good. I've known too many Spaniards.
> >                              -- The Princess Bride
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> I could give you my word as a Spaniard.
> No good. I've known too many Spaniards.
>                              -- The Princess Bride
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                             -- The Princess Bride

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to