• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Maven (was: WO 5.4 Linux Deployment)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Maven (was: WO 5.4 Linux Deployment)


  • Subject: Re: Maven (was: WO 5.4 Linux Deployment)
  • From: Lachlan Deck <email@hidden>
  • Date: Wed, 26 Mar 2008 15:53:58 +1100

Hi Jake,

On 26/03/2008, at 3:40 PM, Jake MacMullin wrote:
Lachlan,

would you mind sharing a little more about your use of maven?

I'd be happy to.

Great. Much appreciated...

Firstly, how does this differ from woproject's maven stuff?
http://wiki.objectstyle.org/confluence/display/WOL/WOProject-Maven2

From memory, the WOProject Maven stuff uses a Maven Ant Plug-in to build a WebObjects application as a .woa from Maven. My understanding is that it ends up running the same ant task that you would run from Eclipse - but the Maven plug-in allows you to call it from a Maven build. (My memory might be wrong here - or it may have changed since I last looked at it)


In contrast, I'm using Maven to build a WAR and I don't need any plug-ins to do this (as Maven supports building WARs 'out of the box'). The 'wocreator' plug-in I linked to is just a handy shortcut to create a Maven project (Like the WOLips 'new project' wizard) - the actual build process itself doesn't require any special plug-ins.

Okay. Interesting.


Is there a remote repository already set up, either at objectstyle or
otherwise, with the relevant plugins available?

I believe there is a Maven repository containing the WOProject Maven plug-ins - not sure where though. The main thing you need a repository for though is the WebObjects jars themselves. Unfortunately, Apple don't make the WebObjects jars available in this way - but you can easily extract them from an installed copy of WebObjects (see the scripts on the wocreator site for examples of how to do this).

Sure.

- is it possible to set up an additional maven repo (e.g., local to
trunk) that can be checked in/out of svn

I'm not really sure what you mean by this - or what you'd be hoping to achieve.

Political ease ;-) er, I mean for a shared environment being able to maintain the repo at my end and have it transparently updated for any remote users (or build server) whenever they do an svn up.


i.e., this kind of thing but checked in/out of svn:
http://maven.apache.org/guides/mini/guide-multiple-repositories.html

- what's the maven target for building a framework project as a .jar
and/or .framework

I build frameworks as .jars using the standard 'mvn package' goal which will create a .jar from your project's source code if your project file (pom.xml) specifies 'jar' as the 'packaging'.

...and the components, resources, EOModels?

I haven't used Maven to build a .framework so I'm not sure what the goal is - but I believe this is supported by the WOProject Maven plug-ins

- and for a woapp, building as a woa?

I haven't used Maven to build a .woa so I'm not sure what the goal is - but I believe this is supported by the WOProject Maven plug-ins


- how do you push a release to a server etc

I'm not using the Maven deployment mechanisms at the moment, so I just manually copy the .WAR to a server


Any tutorials you've got for the various parts of usage that are worth
adding to the wiki would be great.

There is a screencast on the wocreator site - perhaps I should add a link to the relevant section of the wiki.


Hope this helps,

Thanks. All good to know.

Jake

Any other sets of how-tos (and real examples) on the net for practical
usage of maven would be good :-)


Thanks.

On 26/03/2008, at 1:59 PM, Jake MacMullin wrote:
I also deploy on linux using Tomcat (and recently Jetty too), but I
build my applications using Maven. I've written a simple Maven plug-
in to create a Maven project to build WebObjects applications as
WARs if you're interested:

http://wocreator.sourceforge.net/

with regards, --

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Maven (was: WO 5.4 Linux Deployment)
      • From: Jake MacMullin <email@hidden>
References: 
 >WO 5.4 Linux Deployment (From: Aleksey Novicov <email@hidden>)
 >Re: WO 5.4 Linux Deployment (From: David Avendasora <email@hidden>)
 >Re: WO 5.4 Linux Deployment (From: Jake MacMullin <email@hidden>)
 >Re: Maven (was: WO 5.4 Linux Deployment) (From: Lachlan Deck <email@hidden>)
 >Re: Maven (was: WO 5.4 Linux Deployment) (From: Jake MacMullin <email@hidden>)

  • Prev by Date: Re: Maven (was: WO 5.4 Linux Deployment)
  • Next by Date: Re: Maven (was: WO 5.4 Linux Deployment)
  • Previous by thread: Re: Maven (was: WO 5.4 Linux Deployment)
  • Next by thread: Re: Maven (was: WO 5.4 Linux Deployment)
  • Index(es):
    • Date
    • Thread