gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <bpor...@f2network.com.au>
Subject RE: Maven & Gump (again)
Date Mon, 09 Feb 2004 21:57:04 GMT
Adam, I suggest (1) to minimize the issues for now. (2) just won't work -
you need forehead for Maven to run. Under (1), you'll get Maven running with
whatever is in $MAVEN_HOME/lib, you'll get the plugins runing with the
versions they were released against, but you can specify the versions of all
of the projects you build with maven by using the jar overrides discussed
previously. From there, you might be able to make attempts to swap in a
different boot classpath, rebuild the plugins with the jar overrides - but I
suggest taking it in steps to get it up and running quicker.

The newer versions of Maven are designed to be more embeddable and you
should be able to run it with more recent JARs, and you can rebuild the
plugins each night with more recent JARs so they all talk with the same
thing. This is probably 2-3 months off, and not backwards compatible, so I
think for now (1) is definitely the best shot.

While its not a perfect fit to gumps world, you'll be able to build projects
that otherwise couldn't be - so its not a backwards step.

Cheers,
Brett

> -----Original Message-----
> From: Adam R. B. Jack [mailto:ajack@trysybase.com] 
> Sent: Tuesday, 10 February 2004 7:26 AM
> To: Gump code and data
> Subject: Maven & Gump (again)
> 
> 
> Ok, I've dug into this a little, and recall (pretty much) 
> where I left things.
> 
> I see two choices in the command line to Maven:
> 
> 1) Run the maven script (.bat or .sh) to let Maven run java 
> (with it's JVM
> settings) and set it's environment. I worry about this, a 
> little -- since we don't run Ant.bat|sh, we call it.
> 
> 2) Run the following: org.apache.maven.cli.App
> 
> which allows us to control the JVM, and hence set CLASSPATH, 
> JVM Arguments, BootClasspath, etc.
> 
> Clearly the second is likely to be better if we ever could 
> use the Maven just Gumped, but will Maven allow it? I know 
> the maven script inserts a classloader into the JVM, but I'm 
> not sure that fits Gump's world.
> 
> I'm uncertain as to the best short/medium/longterm approach. 
> Any thoughts?
> 
> regards,
> 
> Adam
> --
> Experience the Unwired Enterprise: 
> http://www.sybase.com/unwiredenterprise
> Try Sybase: 
> http://www.try.sybase.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: gump-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: gump-help@jakarta.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message