File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes How to configure maven for a web project 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 "How to configure maven for a web project" Watch "How to configure maven for a web project" New topic
Author

How to configure maven for a web project

Sijesh Alayaril
Ranch Hand

Joined: Jan 13, 2012
Posts: 37
Hi All,

I configured one project in prime face.Now i want to configure the build tool maven for this project.Bellow i'm mentioning bit details about my project

my project : PrimeFaceDemo

Can any one help me to configure the maven.How the pom.xml file looks like?


Thanks in Advance!!!
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

Your best bet would be to find a PrimeFaces archetype and have Maven generate from that. If not PrimeFaces specifically, there are several archetypes for more generic JSF projects.


Customer surveys are for companies who didn't pay proper attention to begin with.
Sijesh Alayaril
Ranch Hand

Joined: Jan 13, 2012
Posts: 37
Thanks Tim,Let me check that.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

Have you looked at the PrimeFaces docs? Chapter 2 tells you how to set up a pom.xml.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to configure maven for a web project
 
Similar Threads
Maven change project setup m2eclipse
how to configure my already existing project in Maven
eclipse galileo + m2eclipse + enterprise application
Tomcat startup problems
Can't import Spring classes in SpringSource Tool Suite