Skip to content

Commit

Permalink
Add Java 11 as default and pom.xml refactor to use props
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelodebittencourt committed Oct 7, 2021
1 parent ce8d1ba commit 3bc1b49
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 11 deletions.
1 change: 1 addition & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 9 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@
<version>1.0-SNAPSHOT</version>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven-surefire.version>2.22.2</maven-surefire.version>
<maven-compiler.version>3.8.1</maven-compiler.version>
<java.version>8</java.version>
<java.version>11</java.version>
<junit.version>5.8.1</junit.version>
<assertj.version>3.21.0</assertj.version>
<maven-site-plugin.version>3.9.1</maven-site-plugin.version>
</properties>

<reporting>
Expand All @@ -31,15 +34,15 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.7.2</version>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/org.assertj/assertj-core -->
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.20.2</version>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -64,7 +67,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.9.1</version>
<version>${maven-site-plugin.version}</version>
</plugin>
</plugins>
</build>
Expand Down
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
Este código foi gerado ao longo do hands-on que foi realizado ao vivo no evento Virada da Qualidade. O vídeo original está disponível no link https://www.youtube.com/watch?v=pdEJNU8rUto&t=21391s no ponto de 05h56min.

## Pré-requisitos
* Java 8 SDK: https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
* Maven >= 3.8.1: https://maven.apache.org/download.cgi
* Git >= 2.32.0: https://git-scm.com/
* IntelliJ IDEA Community >= 2021.1.3: https://www.jetbrains.com/idea/download
* [Java 11 SDK](https://www.oracle.com/java/technologies/downloads/#java11)
* [Maven](https://maven.apache.org/download.cgi) >= 3.8.3
* [Git](https://git-scm.com/) >= 2.33.0
* [IntelliJ IDEA Community](https://www.jetbrains.com/idea/download) >= 2021.2

## O que está contido neste repositório
* Software-alvo dos testes é parte de um sistema de conta-corrente bancária que contém as classes abaixo disponível nas pasta src > java > principal:
Expand Down

0 comments on commit 3bc1b49

Please sign in to comment.