Agregar primefaces 4.0.RC1.jar al repositorio maven local

Tenemos el jar descargado
Desde terminal ejecutamos
mvn install:install-file -DgroupId=org.primerfaces -DartifactId=primefaces-4.0.RC1 -Dversion=4.0.RC1 -Dpackaging=jar -DgeneratePom=true -Dfile=primefaces-4.0.RC1.jar
al presionar enter se coloca el jar en el repositorio local
Editar el archivo pom.xml y y colocar en la dependencia
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>4.0.RC1</version>
</dependency>
Dar clic derecho y seleccionar Build with Dependencies
Se agrega la dependencia al proyecto
Comments