maven local jar in project

Add in pom.xml:

        <dependency>  
            <groupId>origami.primefaces</groupId>  
            <artifactId>primefaces</artifactId>  
            <version>4.0.7</version>
            <scope>system</scope>
            <systemPath>${basedir}\librerias\primefaces-4.0.7.jar</systemPath>
        </dependency> 

And in

          <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.1.1</version>
                <configuration>
                    <failOnMissingWebXml>false</failOnMissingWebXml>
                    
                </configuration>
            </plugin>

Add the web resources:

          <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.1.1</version>
                <configuration>
                    <failOnMissingWebXml>false</failOnMissingWebXml>

                    <webResources>
                    <resource>
                      <directory>librerias</directory>
                        <targetPath>WEB-INF/lib</targetPath>
                        <filtering>false</filtering>
                        <includes>
                           <include>**/*.jar</include>
                        </includes>
                    </resource>
                  </webResources>

                </configuration>
            </plugin>