Boa Noite a Todos,
Estou estudando Maven e resolvi criar uma App web usando JSF 2.2 + JPA por diversão utilizando como servidor de aplicação o wildfly, ja havia configurado projetos de teste com o tomcat e jetty, mas com este estou tendo problemas.
estou com os seguintes erros:
Cannot change version of project facet Dynamic Web Module to 3.1.
JavaServer Faces 2.2 requires Dynamic Web Module 2.5 or newer
One or more constraints have not been satisfied
o servidor eu coloquei manualmente.
segue meu pom.xml:
<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/maven-v4_0_0.xsd>
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.technology</groupId>
<artifactId>learningJPA</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>learningJPA Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.7-dmr</version>
</dependency>
<dependency>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>1.2.0.Final</version>
</dependency>
</dependencies>
<build>
<finalName>learningJPA</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</project>
OBS: TIREI AS ASPAS DO CABEÇALHO DO XML PARA PODER FORMATA-LO NO GUJ, MAS NO SISTEMA ESTA COM ASPAS.
web.xml:
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
</web-app>
já não sei mais o que fazer!!
alguem pode me dar uma ajuda???
