update: maven + seam numberguess demo

Well… I finally got around to cleaning this up and getting it completely converted over to maven2 using seam 2.0.0.BETA1.

The troubles I had with the ear plugin went away when I move to maven 2.0.9!

Here is the quick and dirty:

% wget http://brianin3d.googlepages.com/in3.tgz
% tar xfz in3.tgz 
% cd in3/
% mvn package
% cp ear/target/in3.ear .  
% mv in3.ear ${JBOSS_HOME}/server/default/deploy/in3.ear 

hit it as http://localhost:8080/seam-numberguess-mvn

Next up, I want to try a bigger app like the dvd-store example.

Then I should be able to create an archetype šŸ˜€

For now, the tarball makes a pretty good maven2 starting point for some types of fun



  1. The build downloaded from http://brianin3d.googlepages.com/in3.tgz places the workflow files in the WEB-INF/classes folder, but the ant scripts from SEAM 2.1.0.SP1 place them in the root of the ear AND in the root of the back-end JAR file. So I’m a little confused!

    Which is right and does it matter?

  2. brianin3d said

    That’s a really good questions, man… Unfortunately there seems to be a lot of “every which way you can” with seam configs and the JBossers have kinda of let maven users go there own way in favor of ant (which reeks).

    I got it to work the way I did it, but that’s not to say it’s the “right way” or the only way.

    I wish I had a better answer for you, but I think all I can really say is the simplest thing that works is probably best.

RSS feed for comments on this post · TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: