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]

Reply via email to