Coloquei esse código meu pom.xml
Code: Select all
<dependency>
<groupId>com.sisenade.tcc.spark</groupId>
<artifactId>primefaces-spark</artifactId>
<version>1.0</version>
</dependency>
In the build of Maven I put in GOAL the following option:
Code: Select all
mvn install:install-file -Dfile=P:\Projetos\sisEnade\src\main\spark-1.0-theme.jar -DgroupId=com.sisenade.tcc.spark -DartifactId=primefaces-spark -Dversion=1.0 -Dpackaging=jar
nknown lifecycle phase "mvn". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>.