Created a Portlet Project and I am trying to use maven to compile it into a WAR file. The WEB-INF/lib folder contains the library files used by the java classes. When i execute the goal war it gives compilation problem " Cannot resolve symbol". I tried putting the jars in the Home/.maven/repostiory and creating a dependency on the jar but to no avail. Here is my Project.xml and project.properties file Project.xml <project> <pomVersion>3</pomVersion> <name>maven</name> <id>maven</id> <currentVersion>1.0-b4-dev</currentVersion> <organization> <name>QualComm Incorporated</name> <url>http://www.qualcomm.com/</url> </organization> <inceptionYear>xxxx</inceptionYear> <package>com.qualcomm.myqn.portlets.calculator</package> <shortDescription>Java Project Management Tools</shortDescription> <!-- Gump integration --> <!-- <gumpRepositoryId>jakarta</gumpRepositoryId> --> <description> Maven is a project management and project comprehension tool. Maven is based on the concept of a project object model: builds, documentation creation, site publication, and distribution publication are all controlled from the project object model. Maven also provides tools to create source metrics, change logs based directly on source repository, and source cross-references. </description> <url>http://corpmetrodev.qualcomm.com/MyQualNet_NG/RUP/</url> <issueTrackingUrl> http://nagoya.apache.org/scarab/servlet/scarab/ </issueTrackingUrl> <siteAddress>corpmetrodev.qualcomm.com</siteAddress> <siteDirectory> /MyQualNet_NG/RUP/ </siteDirectory> <distributionDirectory> corpmetrodev.qualcomm.com/MyQualNet_NG/RUP/ </distributionDirectory> <mailingLists> <mailingList> <name>Maven User List</name> <subscribe> c_apali@qualcomm.com </subscribe> <unsubscribe> c_apali@qualcomm.com </unsubscribe> </mailingList> <mailingList> <name>Maven Developer List</name> <subscribe> dev-subscribe@maven.apache.org </subscribe> <unsubscribe> dev-unsubscribe@maven.apache.org </unsubscribe> <archive> http://www.mail-archive.com/dev@maven.apache.org/ </archive> </mailingList> </mailingLists>