Re: Problem with SNAPSHOT

2008-05-02 Thread Stanley Lee
Problem found: In my repository setting, I didn't set true. So that repository is treated as regular, instead of snapshot repository. Now I only get MyApp-1.0-SNAPSHOT.jar in WEB-INF/lib. Thanks for the help!

Re: Problem with SNAPSHOT

2008-05-01 Thread Stanley Lee
I see the problem: 1. In first build, Maven generate MyApp.1.0-SNAPSHOT.jar and MyApp.1.0.war includes it. 2. In second build, because MyApp war depends on MyApp jar (SNAPSHOT), so Maven download MyApp.1.0-20080501.201241-13.jar (which is last build jar) and insert into WEB-INF/lib. After the MyAp

Re: Problem with SNAPSHOT

2008-04-30 Thread Olivier Dehon
Most likely you had the MyApp.1.0-2008***.jar in the ${warSourceDirectory}/WEB-INF/lib folder prior to running the build the second time. Maybe you ran "mvn war:inplace" between the two builds? HTH, -Olivier On Wed, 2008-04-30 at 15:30 -0400, Stanley Lee wrote: > Hi, > > I define a MyApp.war wh

RE: Problem with SNAPSHOT

2008-04-30 Thread Brian E. Fox
Try clean? -Original Message- From: Stanley Lee [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 30, 2008 3:30 PM To: Maven Users List Subject: Problem with SNAPSHOT Hi, I define a MyApp.war which depends on MyApp.jar. Like com.mine MyApp 1.0

Problem with SNAPSHOT

2008-04-30 Thread Stanley Lee
Hi, I define a MyApp.war which depends on MyApp.jar. Like com.mine MyApp 1.0-SNAPSHOT When I generate WAR, it runs fine in first time. In next run, it includes two MyApp jars: one is MyApp.1.0-2008***.jar, which is last build; another is MyApp.1.0-SNAPSHOT.ja

Re: [M2] Newbie Problem with Snapshot Dependencies

2007-04-16 Thread Kevin Moran
Thank you, Jo, for the quick response. Unfortunately, the problem persists even with snapshots and releases enabled. After you responded, I found someone with the same problem: http://mail-archives.apache.org/mod_mbox/maven-users/200606.mbox/[EMAIL PROTECTED] The problem is that Maven is gener

Re: [M2] Newbie Problem with Snapshot Dependencies

2007-04-16 Thread Jo Vandermeeren
Kevin, You have to enable snapshots for your repository. I haven't tried it myself using the ant lib, but you could try to set the 'releases' and 'snapshots' attributes both to 'true'. Cheers Jo On 4/16/07, Kevin Moran <[EMAIL PROTECTED]> wrote: Hello all, I've set up a Maven 2 repository

[M2] Newbie Problem with Snapshot Dependencies

2007-04-16 Thread Kevin Moran
Hello all, I've set up a Maven 2 repository and followed the directions at http://maven.apache.org/ant-tasks.html to retrofit my project's build.xml's so they pull in dependencies from my repository. I set up each build file's classpath along the lines of and then referenced

Re: Problem with snapshot libraries

2007-04-12 Thread franz see
d in England (registered no. > 551334, registered office 30 Gresham Street, London EC2V 7PG), and is > authorised and regulated by the FSA. Dresdner Kleinwort Securities > Limited is a company incorporated in England (registered no. 1767419, > registered office 30 Gresham Street, London EC2

Problem with snapshot libraries

2007-04-12 Thread Orford, Ian
Hi, I've just noticed a change that must have been introduced in a recent maven update (in the last 2 days). When I assemble my deliverable project, rather than include the snapshot jars named "-SNAPSHOT", it is instead including the dated versions. The reason this is causing me a problem is tha

Re: Problem with snapshot of org.apache.maven.plugins:maven-dependency-plugin

2006-10-27 Thread Wayne Fay
Probably better to file a JIRA report against this plugin than simply send an email to the Users list. I know many/most Maven Devs do follow this list, but if you want to be certain they'll see it, JIRA is the way to go. Wayne On 10/27/06, David J. M. Karlsen <[EMAIL PROTECTED]> wrote: I'm get

Problem with snapshot of org.apache.maven.plugins:maven-dependency-plugin

2006-10-27 Thread David J. M. Karlsen
I'm getting this: [ERROR] FATAL ERROR [INFO] [INFO] org.apache.maven.project.artifact.ActiveProjectArtifact [INFO] [DEBUG] Trace java.lang.ClassCas

Re: M1 : Problem with SNAPSHOT

2005-04-28 Thread Brett Porter
> > > > > - Brett > > > > On 4/29/05, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > > > Hi guys, > > > > > > At work I have a little problem with SNAPSHOT dependencies > > > > > > My company repository and my computer h

RE: M1 : Problem with SNAPSHOT

2005-04-28 Thread Arnaud HERITIER
nd some updated plugins. I'll check tomorrow if I didn't make an error but I'm almost sure that I didn't. Can I make some additional tests ? Arnaud > > - Brett > > On 4/29/05, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > > Hi guys, > > > >

Re: M1 : Problem with SNAPSHOT

2005-04-28 Thread Brett Porter
do you happen to be at +2 or -2 in your timezone? I seem to remember fixing that bug for 1.0.2... what version are you using? - Brett On 4/29/05, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > Hi guys, > > At work I have a little problem with SNAPSHOT dependencies > > My c

Re: M1 : Problem with SNAPSHOT

2005-04-28 Thread Mykel Alvis
I don't know if it'll help, but I can answer one of your questions. The time differences are timezone based. If-Modified-Since: Thu, 28-Apr-05 17:14:22 GMT vs eu 28 avr 19:26:51 DFT 2005 On 4/28/05, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > Hi guys, > > At work I h

M1 : Problem with SNAPSHOT

2005-04-28 Thread Arnaud HERITIER
Hi guys, At work I have a little problem with SNAPSHOT dependencies My company repository and my computer have approximatively the same time. But when maven try to get an artifact, it find 2 hours less :-( My computer : - With maven : Getting failed dependencies: [EMAIL PROTECTED], [EMAIL