4
I created a project Maven
(NOTE: It is the first time I am touching this technology), but he is making this mistake. This plugin
what message is talking about I need to install it? How do?
Another thing, when I go to propriedades do projeto >> Project faces
and click on dynamic web module 3.1
he asks for the version of java 1.7
. Is that right? In my opinion it should point to the Java 1.8
, since the technologies I’m using are more current.
My grief is with these settings:
- Maven 3.3
- JDK 1.8
- Tomcat 8.0.23
Could someone help me?
EDITION: this is my 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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.hellemos</groupId>
<artifactId>Financeiro</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
I think you could separate your doubt into two publications. Or not, if this topic solves you the second: Maven how to set JDK version?
– Math
I had already done this setup, and it’s not working either.
– user25945
Two things: First, are you running Maven somewhere with an internet connection so that Maven downloads <strike>the entire internet</strike> the plugin dependencies? Second, post your
pom.xml
.– Victor Stafusa
Yes, I have an internet connection.
– user25945
Use the link from editing in your question to include the archive
pom.xml
, in the comments becomes difficult to visualize :)– Renan Gomes
Thanks @re22 =) that was what was looking for rs
– user25945
Have you thought about using the Maven per command line? mvn clean install should run the clean and install phases of your project, just open the prompt, go to the folder where your pom.xml is and run this command> mvn clean intall I had bad experiences with Maven plugins, especially in Eclipse, in Intellij everything always worked for me.
– Filipe Miranda
In this video you teach how to set up: https://www.youtube.com/watch?v=0M6h8PrZN00
– Lucas Eduardo
It worked the/ It was the configuration of the Maven that I had not yet done, so it was going wrong. Thanks @Lucaseduardo
– user25945
@user25945 put the answer to be able to help other people.
– Reginaldo Soares
or you also @Lucaseduardo
– Reginaldo Soares
in the video that @Lucaseduardo posted is already with the answer Reginaldo ^^
– user25945