aspose file tools*
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 3274

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: 15632

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
It is sorta covered in the JavaRanch Style Guide.
subject: Help on basic maven configuration...
Similar Threads
MAVEN2: Same dependency - other version on classpath
Seeking simple Spring MVC + Hibernate + MySql + Tomcat tutorial/working project
Exception starting filter struts2
How to get Maven to include "persistence.xml" into a web app??
Could not resolve dependencies for maven project