File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes Help on basic maven configuration... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Help on basic maven configuration..." Watch "Help on basic maven configuration..." New topic

Help on basic maven configuration...

Karl Krasnowsky
Ranch Hand

Joined: Jan 16, 2009
Posts: 97
So I'm going through a tutorial that states:

I do have maven configured and running, but into which pom (or other configuration file) am I supposed to inject this?

thanks in advance for any feedback...

[SCJP 6]
[SCBCD in process]
Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

The pom for your project that you are using Struts 2 with.

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

In other words, just copy and paste the sample dependency XML you've got there into your Struts project's pom.xml file.

Incidentally, I think there's probably a Struts project archetype, if you're starting from scratch. That will save some time.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Help on basic maven configuration...
It's not a secret anymore!