title: Broadleaf site <reference pomDeps not found
body: <p>I'm getting site <code>&lt;Reference pomDeps not found&gt;</code> in my ant panel and cannot launch my demosite for broadleaf commerce.</p>
  
  <p>and I get the following error when I run jetty-demo</p>
  
  <pre><code>Buildfile: C:\Users\queue_server\Documents\brodleaf-workspace\DemoSite\site\build.xml
  start-db:
  [artifact:pom] An error has occurred while processing the Maven artifact tasks.
  [artifact:pom]  Diagnosis:
  [artifact:pom] 
  [artifact:pom] Unable to initialize POM pom.xml: Failed to validate POM for project com.uniqueability:site at C:\Users\queue_server\Documents\brodleaf-workspace\DemoSite\site\pom.xml
  [artifact:pom] 
  
  BUILD FAILED
  C:\Users\queue_server\Documents\brodleaf-workspace\DemoSite\site\build.xml:92: Unable to initialize POM pom.xml: Failed to validate POM for project com.[sitenameremoved]:site at C:\Users\queue_server\Documents\brodleaf-workspace\DemoSite\site\pom.xml
  </code></pre>
  
  <p>I can't seem to find the resolution.  I've uninstalled, reinstalled with no luck.  I ran mvn -u and it builds properly.  It just won't build in eclipse.</p>
  
  <p>Here more information about this issue, I am stuck in the same point</p>
  
  <p>I am using windows 7, eclipse Kepler Service Release 1 for Web Developers, maven 3.0.5 and ant 1.8.4 (emmbebed) and I have problems when I want to run a build.xml file with ant that starts or invoke a pom.xml file.</p>
  
  <p>This is the build.xml file, the target I am trying to run is jetty-demo and this file use a file pom.xml in line 97: </p>
  
  <p><strong>build.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project name="site" default="build-app" basedir="."
  xmlns:artifact="antlib:org.apache.maven.artifact.ant"
  xmlns:rsel="antlib:org.apache.tools.ant.types.resources.selectors"&gt;
  
  &lt;!-- import the ant / maven integration tasks --&gt;
  &lt;path id="maven-ant-tasks.classpath" path="../lib/maven-ant-tasks-2.1.3.jar" /&gt;
  &lt;typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="antlib:org.apache.maven.artifact.ant" classpathref="maven-ant-tasks.classpath" /&gt;
  
  &lt;property name="project.root" location="../../"/&gt;
  &lt;property name="project.name" value="site" /&gt;
  
  &lt;!-- See the following URL for a description of this property file strategy --&gt;
  &lt;!-- The only difference is we prepend a . for the home directory property files --&gt;
  &lt;!-- http://www.javaranch.com/ant/properties.jsp --&gt;
  &lt;property file="${user.home}/.${project.name}.properties"/&gt;
  &lt;property file="${user.home}/.build.properties"/&gt;
  &lt;property name="config.filename" value="${user.name}.properties"/&gt;
  &lt;property file="config/${config.filename}"/&gt;
  &lt;property file="../build.properties"/&gt;
  
  &lt;property name="runtime.environment" value="development"/&gt;
  
  &lt;target name="jetty-demo-no-db"&gt;
          &lt;delete dir="war/WEB-INF/lib"/&gt;
          &lt;artifact:mvn mavenHome="${maven.home}" fork="true"&gt;
              &lt;jvmarg value="-XX:MaxPermSize=256M" /&gt;
              &lt;jvmarg value="-Xmx512M" /&gt;
              &lt;jvmarg value="-Xdebug" /&gt;
              &lt;jvmarg value="-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" /&gt;
              &lt;jvmarg value="-javaagent:${spring.instrument.path}" /&gt;
              &lt;jvmarg value="-Druntime.environment=${runtime.environment}" /&gt;
              &lt;arg value="compile"/&gt;
              &lt;arg value="war:exploded"/&gt;
              &lt;arg value="jetty:run"/&gt;
          &lt;/artifact:mvn&gt;
      &lt;/target&gt;
  
  &lt;target name="jetty-demo" depends="start-db"&gt;
      &lt;delete dir="war/WEB-INF/lib"/&gt;
      &lt;artifact:mvn mavenHome="${maven.home}" fork="true"&gt;
          &lt;jvmarg value="-XX:MaxPermSize=256M" /&gt;
          &lt;jvmarg value="-Xmx512M" /&gt;
          &lt;jvmarg value="-Xdebug" /&gt;
          &lt;jvmarg value="-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" /&gt;
          &lt;jvmarg value="-javaagent:${spring.instrument.path}" /&gt;
          &lt;jvmarg value="-Druntime.environment=${runtime.environment}" /&gt;  
          &lt;arg value="compile"/&gt;
          &lt;arg value="war:exploded"/&gt;
          &lt;arg value="jetty:run"/&gt;
      &lt;/artifact:mvn&gt;
  &lt;/target&gt;
  
  &lt;target name="jetty-demo-jrebel" depends="start-db"&gt;
      &lt;delete dir="war/WEB-INF/lib"/&gt;
      &lt;artifact:mvn mavenHome="${maven.home}" fork="true"&gt;
          &lt;jvmarg value="-XX:MaxPermSize=256M" /&gt;
          &lt;jvmarg value="-Xmx512M" /&gt;
          &lt;jvmarg value="-Xdebug" /&gt;
          &lt;jvmarg value="-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" /&gt;
          &lt;jvmarg value="-Drebel.root=${project.root}" /&gt;
          &lt;jvmarg value="-Dlogs.dir=${logs.dir}" /&gt;
          &lt;jvmarg value="-noverify" /&gt;
          &lt;jvmarg value="-javaagent:${jrebel.path}" /&gt;
          &lt;jvmarg value="-javaagent:${spring.instrument.path}" /&gt;
          &lt;jvmarg value="-Druntime.environment=${runtime.environment}" /&gt;  
          &lt;arg value="compile"/&gt;
          &lt;arg value="war:exploded"/&gt;
          &lt;arg value="jetty:run"/&gt;
      &lt;/artifact:mvn&gt;
  &lt;/target&gt;
  
  &lt;target name="jetty-stop"&gt;
      &lt;artifact:mvn mavenHome="${maven.home}" fork="true"&gt;
          &lt;jvmarg value="-XX:MaxPermSize=256M" /&gt;
          &lt;jvmarg value="-Xmx512M" /&gt;
          &lt;arg value="jetty:stop"/&gt;
      &lt;/artifact:mvn&gt;
  &lt;/target&gt;
  
  &lt;target name="stop-all" depends="jetty-stop, stop-db"/&gt;
  
  &lt;!-- Project Reference Targets --&gt;
  &lt;!-- build the application and create the war artifact --&gt;
  &lt;target name="build-app"&gt;
      &lt;delete dir="war/WEB-INF/lib"/&gt;
      &lt;artifact:mvn mavenHome="${maven.home}" fork="true"&gt;
          &lt;arg value="-Dmaven.test.skip=true"/&gt;
          &lt;arg value="install"/&gt;
      &lt;/artifact:mvn&gt;
  &lt;/target&gt;
  
  &lt;target name="start-db"&gt;
      &lt;!-- retrieve the web project pom file and import its jar dependencies --&gt;
      &lt;echo&gt;Maven Home:${maven.home}&lt;/echo&gt;
      &lt;echo&gt;User Home:${user.home}&lt;/echo&gt;
      &lt;artifact:pom id="warPom" file="pom.xml"/&gt;
      &lt;artifact:dependencies filesetId="warDeps" pomRefId="warPom" useScope="test" /&gt;
      &lt;path id="build.runtime.classpath"&gt;
          &lt;fileset refid="warDeps"/&gt;
      &lt;/path&gt;
  
      &lt;echo message="Starting Data Base..." /&gt;
      &lt;java fork="true"  spawn="true" classname="org.hsqldb.Server" classpathref="build.runtime.classpath"&gt;
          &lt;arg  line="-database.0 file:data/broadleaf -dbname.0 broadleaf"/&gt;
      &lt;/java&gt;
  &lt;/target&gt;
  
  &lt;target name="stop-db"&gt;
      &lt;echo message="Execute SQL on new Data Base..." /&gt;
      &lt;artifact:pom id="warPom" file="pom.xml"/&gt;
      &lt;artifact:dependencies filesetId="warDeps" pomRefId="warPom" useScope="test" /&gt;
      &lt;path id="build.runtime.classpath"&gt;
          &lt;fileset refid="warDeps"/&gt;
      &lt;/path&gt;
      &lt;sql
          autocommit="true"
          print="true"
          classpathref="build.runtime.classpath"
          driver="org.hsqldb.jdbcDriver"
          url="jdbc:hsqldb:hsql://localhost/broadleaf;ifexists=true"
          userid="sa"
          password=""&gt;
          &lt;transaction&gt;SHUTDOWN&lt;/transaction&gt;
      &lt;/sql&gt;
      &lt;echo message="SQL Executed on data base..." /&gt;
  &lt;/target&gt;
  
  &lt;target name="build-create-sql" &gt;
      &lt;!--wrapping spring instrument jar--&gt;
      &lt;echo&gt;
           Creating schema insert files
      &lt;/echo&gt;
      &lt;mkdir dir="target/sql/create"/&gt;
      &lt;java  classname="org.apache.tools.ant.launch.Launcher"
              fork="true"
              failonerror="true"
              dir="."
              timeout="4000000"
              taskname="startAnt"&gt;
              &lt;classpath&gt;
               &lt;pathelement location="${ant.home}/lib/ant-launcher.jar"/&gt;
              &lt;/classpath&gt;
              &lt;!--uncomment the following spring insturment jar argument if you require spring instrument--&gt;
              &lt;jvmarg value="-javaagent:${spring.instrument.path}"/&gt;
              &lt;jvmarg value="-XX:MaxPermSize=512M" /&gt;
              &lt;jvmarg value="-Xmx1024M" /&gt;
              &lt;arg value="-buildfile"/&gt;
              &lt;arg file="build.xml"/&gt;
              &lt;arg value="create-sql"/&gt;
        &lt;/java&gt;
  &lt;/target&gt;
  
  &lt;target name="create-sql"&gt;
      &lt;!--
          You will need to run a mvn install on your project before attempting to execute this task.
          Also, you will likely need to assign additional heap space to your ANT process. A setting
          of -XX:MaxPermSize=256M -Xmx512M should be sufficient.
  
          This can be done by populating the 'ANT_OPTS' environment variable:
              export ANT_OPTS=-XX:MaxPermSize=256M -Xmx512M
          which will ensure those settings for all ant processes. Alternatively you could use JAVA_OPTS which is for
          the global JVM and will effect all Java processes.
      --&gt;
      &lt;mkdir dir="target/sql/create"/&gt;
      &lt;artifact:pom id="myPom" file="pom.xml" /&gt;
      &lt;!-- This fileset is will be immediately overridden by the artifact:dependencies element. This is only declared here
          to make eclipse not give a warning about this --&gt;
      &lt;fileset dir="dir" id="pomDeps" /&gt;
      &lt;artifact:dependencies filesetId="pomDeps" pomRefId="myPom" useScope="compile" /&gt;
      &lt;property name="baseTarget" location="target/${myPom.build.finalName}/WEB-INF"/&gt;
      &lt;fileset id="libDir" dir="${baseTarget}/lib"/&gt;
      &lt;path id="build.runtime.classpath"&gt;
          &lt;!--There are some additional libraries needed at compile time that are not included
              in WEB-INF/lib - find those libraries via a difference algorithm--&gt;
          &lt;restrict&gt;
              &lt;difference&gt;
                  &lt;fileset refid="pomDeps" /&gt;
                  &lt;intersect&gt;
                      &lt;fileset refid="pomDeps" /&gt;
                      &lt;fileset refid="libDir" /&gt;
                  &lt;/intersect&gt;
              &lt;/difference&gt;
              &lt;rsel:not&gt;
                  &lt;rsel:name name="**/*.pom" /&gt;
              &lt;/rsel:not&gt;
          &lt;/restrict&gt;
          &lt;!--Add the lib directory to get all the dependencies required for the demo app--&gt;
          &lt;fileset refid="libDir"/&gt;
          &lt;dirset dir="src/main/resources" /&gt;
          &lt;!--Add the classes directory in the war project, if required--&gt;
          &lt;!--&lt;pathelement location="${baseTarget}/classes"/&gt;--&gt;
      &lt;/path&gt;
      &lt;!--If the war project does not contain custom entities (best practice), then it is not necessary to include application context from the WEB-INF directory--&gt;
      &lt;!--&lt;property name="my.app.context" location="src/main/webapp/WEB-INF/applicationContext.xml"/&gt;--&gt;
      &lt;taskdef name="hibernatetool" classname="org.broadleafcommerce.common.util.sql.HibernateToolTask" classpathref="build.runtime.classpath"/&gt;
      &lt;hibernatetool destDir="target/sql/create" combinePersistenceUnits="false" refineFileNames="true"&gt;
          &lt;!--add in additional persistence configuration related to the cms --&gt;
          &lt;classPathApplicationContext path="bl-cms-contentClient-applicationContext.xml"/&gt;
          &lt;classPathApplicationContext path="bl-open-admin-contentClient-applicationContext.xml"/&gt;
          &lt;!--add in additional persistence configuration for our core --&gt;
          &lt;classPathApplicationContext path="applicationContext.xml"/&gt;
          &lt;!--see description for my.app.context above --&gt;
          &lt;fileSystemApplicationContext path="src/main/webapp/WEB-INF/applicationContext.xml"/&gt;
          &lt;classPathApplicationContext path="bl-fake-applicationContext-ant.xml"/&gt;
          &lt;!--select the dialects and persistence units to export--&gt;
          &lt;jpaconfiguration persistenceUnit="blPU" dialect="${ant.hibernate.sql.ddl.dialect}" /&gt;
          &lt;jpaconfiguration persistenceUnit="blSecurePU" dialect="${ant.hibernate.sql.ddl.dialect}" /&gt;
          &lt;jpaconfiguration persistenceUnit="blCMSStorage" dialect="${ant.hibernate.sql.ddl.dialect}" /&gt;
          &lt;!--other required elements--&gt;
          &lt;classpath refid="build.runtime.classpath" /&gt;
          &lt;hbm2ddl export="false" update="false" create="true"/&gt;
      &lt;/hibernatetool&gt;
  &lt;/target&gt;
  
  &lt;target name="build-update-sql" &gt;
      &lt;!--wrapping spring instrument jar--&gt;
      &lt;echo&gt;
           Creating schema insert files
      &lt;/echo&gt;
      &lt;mkdir dir="target/sql/create"/&gt;
      &lt;java  classname="org.apache.tools.ant.launch.Launcher"
              fork="true"
              failonerror="true"
              dir="."
              timeout="4000000"
              taskname="startAnt"&gt;
              &lt;classpath&gt;
               &lt;pathelement location="${ant.home}/lib/ant-launcher.jar"/&gt;
              &lt;/classpath&gt;
              &lt;!--uncomment the following spring insturment jar argument if you require spring instrument--&gt;
              &lt;jvmarg value="-javaagent:${spring.instrument.path}"/&gt;
              &lt;jvmarg value="-XX:MaxPermSize=512M" /&gt;
              &lt;jvmarg value="-Xmx1024M" /&gt;
              &lt;arg value="-buildfile"/&gt;
              &lt;arg file="build.xml"/&gt;
              &lt;arg value="update-sql"/&gt;
        &lt;/java&gt;
  &lt;/target&gt;
  
  &lt;target name="update-sql"&gt;
      &lt;!--
          You will need to run a mvn install on your project before attempting to execute this task.
          Also, you will likely need to assign additional heap space to your ANT process. A setting
          of -XX:MaxPermSize=256M -Xmx512M should be sufficient.
  
          This can be done by populating the 'ANT_OPTS' environment variable:
              export ANT_OPTS=-XX:MaxPermSize=256M -Xmx512M
          which will ensure those settings for all ant processes. Alternatively you could use JAVA_OPTS which is for
          the global JVM and will effect all Java processes.
      --&gt;
      &lt;mkdir dir="target/sql/update"/&gt;
      &lt;artifact:pom id="myPom" file="pom.xml" /&gt;
  
      &lt;!-- This fileset is will be immediately overridden by the artifact:dependencies element. This is only declared here
          to make eclipse not give a warning about this --&gt;
      &lt;fileset dir="dir" id="pomDeps" /&gt;
      &lt;artifact:dependencies filesetId="pomDeps" pomRefId="myPom" useScope="compile" /&gt;
      &lt;property name="baseTarget" location="target/${myPom.build.finalName}/WEB-INF"/&gt;
      &lt;fileset id="libDir" dir="${baseTarget}/lib"/&gt;
      &lt;path id="build.runtime.classpath"&gt;
          &lt;!--There are some additional libraries needed at compile time that are not included
              in WEB-INF/lib - find those libraries via a difference algorithm--&gt;
          &lt;restrict&gt;
              &lt;difference&gt;
                  &lt;fileset refid="pomDeps" /&gt;
                  &lt;intersect&gt;
                      &lt;fileset refid="pomDeps" /&gt;
                      &lt;fileset refid="libDir" /&gt;
                  &lt;/intersect&gt;
              &lt;/difference&gt;
              &lt;rsel:not&gt;
                  &lt;rsel:name name="**/*.pom" /&gt;
              &lt;/rsel:not&gt;
          &lt;/restrict&gt;
          &lt;!--Add the lib directory to get all the dependencies required for the demo app--&gt;
          &lt;fileset refid="libDir"/&gt;
          &lt;dirset dir="src/main/resources" /&gt;
          &lt;!--Add the classes directory in the war project, if required--&gt;
          &lt;!--&lt;pathelement location="${baseTarget}/classes"/&gt;--&gt;
      &lt;/path&gt;
      &lt;!--If the war project does not contain custom entities (best practice), then it is not necessary to include application context from the WEB-INF directory--&gt;
      &lt;!--&lt;property name="my.app.context" location="src/main/webapp/WEB-INF/applicationContext.xml"/&gt;--&gt;
      &lt;taskdef name="hibernatetool" classname="org.broadleafcommerce.common.util.sql.HibernateToolTask" classpathref="build.runtime.classpath" /&gt;
      &lt;hibernatetool destDir="target/sql/update" combinePersistenceUnits="false" refineFileNames="true"&gt;
          &lt;!--add in additional persistence configuration related to the cms --&gt;
          &lt;classPathApplicationContext path="bl-cms-contentClient-applicationContext.xml"/&gt;
          &lt;classPathApplicationContext path="bl-open-admin-contentClient-applicationContext.xml"/&gt;
          &lt;!--add in additional persistence configuration for our core --&gt;
          &lt;classPathApplicationContext path="applicationContext.xml"/&gt;
          &lt;!--see description for my.app.context above --&gt;
          &lt;fileSystemApplicationContext path="src/main/webapp/WEB-INF/applicationContext.xml"/&gt;
          &lt;classPathApplicationContext path="bl-fake-applicationContext-ant.xml"/&gt;
          &lt;!--select the dialects and persistence units to export--&gt;
          &lt;jpaconfiguration persistenceUnit="blPU" dialect="${ant.hibernate.sql.ddl.dialect}" 
              url="${ant.blPU.url}" 
              userName="${ant.blPU.userName}" 
              password="${ant.blPU.password}" 
              driverClassName="${ant.blPU.driverClassName}"/&gt;
          &lt;jpaconfiguration persistenceUnit="blSecurePU" dialect="${ant.hibernate.sql.ddl.dialect}" 
              url="${ant.blSecurePU.url}" 
              userName="${ant.blSecurePU.userName}" 
              password="${ant.blSecurePU.password}" 
              driverClassName="${ant.blSecurePU.driverClassName}"/&gt;
          &lt;jpaconfiguration persistenceUnit="blCMSStorage" dialect="${ant.hibernate.sql.ddl.dialect}" 
              url="${ant.blCMSStorage.url}" 
              userName="${ant.blCMSStorage.userName}" 
              password="${ant.blCMSStorage.password}" 
              driverClassName="${ant.blCMSStorage.driverClassName}"/&gt;
          &lt;!--other required elements--&gt;
          &lt;classpath refid="build.runtime.classpath" /&gt;
          &lt;hbm2ddl export="false" update="true" create="false"/&gt;
      &lt;/hibernatetool&gt;
  &lt;/target&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p><strong>pom.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;parent&gt;
      &lt;groupId&gt;pe.equifax&lt;/groupId&gt;
      &lt;artifactId&gt;ecommerce-website&lt;/artifactId&gt;
      &lt;version&gt;1.0&lt;/version&gt;
  &lt;/parent&gt;
  &lt;artifactId&gt;site&lt;/artifactId&gt;
  &lt;packaging&gt;war&lt;/packaging&gt;
  &lt;name&gt;site&lt;/name&gt;
  &lt;description&gt;Web Module For Broadleaf Commerce Based ECommerce Site&lt;/description&gt;
  &lt;properties&gt;
      &lt;webappDirectory&gt;${project.build.directory}/${project.build.finalName}&lt;/webappDirectory&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;!-- httpsPort and httpPort are used by embeded jetty server.--&gt;
      &lt;!-- Make sure the following httpsPort matches what's in the runtime-properties file,  --&gt;
      &lt;httpsPort&gt;8443&lt;/httpsPort&gt; 
      &lt;httpPort&gt;8080&lt;/httpPort&gt;
  &lt;/properties&gt;
  &lt;build&gt;
      &lt;outputDirectory&gt;${webappDirectory}/WEB-INF/classes&lt;/outputDirectory&gt;
      &lt;finalName&gt;equifax&lt;/finalName&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
              &lt;configuration&gt;
                  &lt;webappDirectory&gt;${webappDirectory}&lt;/webappDirectory&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          &lt;plugin&gt;
              &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
              &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;8.1.5.v20120716&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;webAppSourceDirectory&gt;${webappDirectory}&lt;/webAppSourceDirectory&gt;
                  &lt;contextPath&gt;/&lt;/contextPath&gt;
                  &lt;stopPort&gt;9966&lt;/stopPort&gt;
                  &lt;stopKey&gt;foo&lt;/stopKey&gt;
                  &lt;connectors&gt;
                      &lt;connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"&gt;
                          &lt;port&gt;${httpPort}&lt;/port&gt;
  
                          &lt;maxIdleTime&gt;60000&lt;/maxIdleTime&gt;
                      &lt;/connector&gt;
                      &lt;connector implementation="org.eclipse.jetty.server.ssl.SslSelectChannelConnector"&gt;
                          &lt;port&gt;${httpsPort}&lt;/port&gt;
                          &lt;keystore&gt;${webappDirectory}/WEB-INF/blc-example.keystore&lt;/keystore&gt;
                          &lt;keyPassword&gt;broadleaf&lt;/keyPassword&gt;
                          &lt;password&gt;broadleaf&lt;/password&gt;
                      &lt;/connector&gt;
                  &lt;/connectors&gt;
                  &lt;webAppConfig&gt;
                       &lt;allowDuplicateFragmentNames&gt;true&lt;/allowDuplicateFragmentNames&gt;
                  &lt;/webAppConfig&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          &lt;plugin&gt;
              &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
              &lt;artifactId&gt;keytool-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.2&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;phase&gt;generate-resources&lt;/phase&gt;
                      &lt;id&gt;clean&lt;/id&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;clean&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
                  &lt;execution&gt;
                      &lt;phase&gt;generate-resources&lt;/phase&gt;
                      &lt;id&gt;genkey&lt;/id&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;genkey&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
              &lt;configuration&gt;
                  &lt;keystore&gt;${webappDirectory}/WEB-INF/blc-example.keystore&lt;/keystore&gt;
                  &lt;dname&gt;cn=localhost&lt;/dname&gt;
                  &lt;keypass&gt;broadleaf&lt;/keypass&gt;
                  &lt;storepass&gt;broadleaf&lt;/storepass&gt;
                  &lt;alias&gt;broadleaf&lt;/alias&gt;
                  &lt;keyalg&gt;RSA&lt;/keyalg&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          &lt;plugin&gt;
              &lt;groupId&gt;org.zeroturnaround&lt;/groupId&gt;
              &lt;artifactId&gt;jrebel-maven-plugin&lt;/artifactId&gt;
              &lt;configuration&gt;
                  &lt;packaging&gt;war&lt;/packaging&gt;
                  &lt;rootPath&gt;${basedir}&lt;/rootPath&gt;
              &lt;/configuration&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;generate-rebel-xml&lt;/id&gt;
                      &lt;phase&gt;process-resources&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;generate&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;jdk.tools&lt;/groupId&gt;
          &lt;artifactId&gt;jdk.tools&lt;/artifactId&gt;
          &lt;version&gt;1.7.0_45&lt;/version&gt;
          &lt;scope&gt;system&lt;/scope&gt;
          &lt;systemPath&gt;${JAVA_HOME}/lib/tools.jar&lt;/systemPath&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;pe.equifax&lt;/groupId&gt;
          &lt;artifactId&gt;core&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.broadleafcommerce&lt;/groupId&gt;
          &lt;artifactId&gt;broadleaf-framework-web&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.hsqldb&lt;/groupId&gt;
          &lt;artifactId&gt;hsqldb&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
          &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.tomcat&lt;/groupId&gt;
          &lt;artifactId&gt;tomcat-jdbc&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;commons-dbcp&lt;/groupId&gt;
          &lt;artifactId&gt;commons-dbcp&lt;/artifactId&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p><strong>output : after run jetty-demo target in build.xml</strong></p>
  
  <pre><code>Buildfile: C:\Tools\eclipse_workspaces\DemoSite-3.0.6-GA-eworkspace\eclipse-workspace\DemoSite\site\build.xml
  start-db:
   [echo] Maven Home:C:/Tools/Tools/apache-maven-3.0.5
   [echo] User Home:C:\Users\kcondezo
  [artifact:pom] An error has occurred while processing the Maven artifact tasks.
  [artifact:pom]  Diagnosis:
  [artifact:pom] 
  [artifact:pom] Unable to initialize POM pom.xml: Failed to validate POM for project pe.equifax:site at C:\Tools\eclipse_workspaces\DemoSite-3.0.6-GA-eworkspace\eclipse-workspace\DemoSite\site\pom.xml
  [artifact:pom] 
  
  BUILD FAILED
  C:\Tools\eclipse_workspaces\DemoSite-3.0.6-GA-eworkspace\eclipse-workspace\DemoSite\site\build.xml:97: Unable to initialize POM pom.xml: Failed to validate POM for project pe.equifax:site at C:\Tools\eclipse_workspaces\DemoSite-3.0.6-GA-eworkspace\eclipse-workspace\DemoSite\site\pom.xml
  
  Total time: 4 seconds
  </code></pre>
  
  <p><strong>build.properties :</strong></p>
  
  <pre><code>#required
  maven.home=C:/Tools/Tools/apache-maven-3.0.5
  #optional
  #jrebel.path=/usr/lib/jrebel/jrebel.jar
  
  #optional for build-create-sql and build-update-sql ant tasks
  ant.hibernate.sql.ddl.dialect=org.hibernate.dialect.HSQLDialect
  
  #The following allow the build-update-sql ant task to connect to a database and generate DDL to 
  #update the schema
  ant.blPU.url=jdbc:hsqldb:hsql://localhost/broadleaf
  ant.blPU.userName=sa
  ant.blPU.password=null
  ant.blPU.driverClassName=org.hsqldb.jdbcDriver
  
  ant.blSecurePU.url=jdbc:hsqldb:hsql://localhost/broadleaf
  ant.blSecurePU.userName=sa
  ant.blSecurePU.password=null
  ant.blSecurePU.driverClassName=org.hsqldb.jdbcDriver
  
  ant.blCMSStorage.url=jdbc:hsqldb:hsql://localhost/broadleaf
  ant.blCMSStorage.userName=sa
  ant.blCMSStorage.password=null
  ant.blCMSStorage.driverClassName=org.hsqldb.jdbcDriver
  
  #Required for correct operation of some 3rd party modules
  #Relative paths are from the ant build.xml files, so site/build.xml and     admin/build.xml.
  spring.instrument.path=../lib/spring-instrument-3.2.2.RELEASE.jar
  
  #End build-*-sql Ant Task Properties
  </code></pre>
  
  <p>I have made some reserach in this links but each one has at least a diagnosis of the causes ( wrong dependencies for example). In my case I don't  have this diagnosis and when I run pom.xml file with maven install it runs without problems:</p>
  
  <p><a href="http://forum.broadleafcommerce.org/viewtopic.php?f=14&amp;t=2326&amp;p=6478&amp;hilit=jetty+demo+validate+pom#p6478" rel="nofollow">http://forum.broadleafcommerce.org/viewtopic.php?f=14&amp;t=2326&amp;p=6478&amp;hilit=jetty+demo+validate+pom#p6478</a></p>
  
  <p><a href="http://mail-archives.apache.org/mod_mbox/maven-users/200802.mbox/%3Cf0c159810802020349m6d770b56wdd56f58c4d05e1d8@mail.gmail.com%3E" rel="nofollow">http://mail-archives.apache.org/mod_mbox/maven-users/200802.mbox/%3Cf0c159810802020349m6d770b56wdd56f58c4d05e1d8@mail.gmail.com%3E</a></p>
  
  <pre><code>https://jira.codehaus.org/browse/MANTTASKS-207
  </code></pre>