aspose 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
Register / Login


JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply 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: 14568
    
    7

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

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to configure maven for a web project
 
Similar Threads
how to configure my already existing project in Maven
Maven change project setup m2eclipse
Can't import Spring classes in SpringSource Tool Suite
Tomcat startup problems
eclipse galileo + m2eclipse + enterprise application