Skip to content

Commit

Permalink
Merge branch 'release/4.00.29'
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel-Oliveira committed Mar 2, 2024
2 parents 1676f5e + e9e4890 commit 9c6b919
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 24 deletions.
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Notas de versão

- Adicionado Eventos Suframa Vistoria E Internaliza
- Atualizado Java Certificado
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Java-NFe [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_NFe.svg) ](https://github.com/Samuel-Oliveira/Java_NFe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-nfe.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-nfe/4.00.28/jar)
# Java-NFe [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_NFe.svg) ](https://github.com/Samuel-Oliveira/Java_NFe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-nfe.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-nfe/4.00.29/jar)
Biblioteca Java para consumo do WebService de NFe/NFCe

## Dúvidas, Sugestões ou Consultoria
Expand All @@ -17,7 +17,7 @@ Para Iniciar :
<dependency>
<groupId>br.com.swconsultoria</groupId>
<artifactId>java-nfe</artifactId>
<version>4.00.28</version>
<version>4.00.29</version>
</dependency>
```

Expand All @@ -29,7 +29,7 @@ repositories {
}
}
dependencies {
implementation "br.com.swconsultoria:java-nfe:4.00.28"
implementation "br.com.swconsultoria:java-nfe:4.00.29"
}
```

Expand All @@ -39,6 +39,9 @@ ________________________________________________________________________________

# Historico de Versões

## v4.00.29 - 02/03/2024 - Schemas PL.009k
- Atualizado Java Certificado

## v4.00.28 - 20/01/2024 - Schemas PL.009k
- Adicionado Eventos Suframa Vistoria E Internaliza

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.swconsultoria</groupId>
<artifactId>java-nfe</artifactId>
<version>4.00.29-SNAPSHOT</version>
<version>4.00.30-SNAPSHOT</version>
<name>Java_NFe</name>
<description>Api java para consumo do webService de nota fiscal eletronica</description>
<url>https://github.com/Samuel-Oliveira/Java_NFe</url>
Expand Down Expand Up @@ -84,7 +84,7 @@
<dependency>
<groupId>br.com.swconsultoria</groupId>
<artifactId>java_certificado</artifactId>
<version>2.13</version>
<version>3.1</version>
</dependency>
<!-- Ini4J -->
<dependency>
Expand Down
22 changes: 10 additions & 12 deletions src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@
import br.com.swconsultoria.nfe.dom.enuns.EstadosEnum;
import br.com.swconsultoria.nfe.util.ConstantesUtil;
import br.com.swconsultoria.nfe.util.ObjetoUtil;
import lombok.extern.java.Log;

import java.io.InputStream;
import java.lang.reflect.Field;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.time.ZoneId;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
* @author Samuel Oliveira
Expand All @@ -31,6 +30,7 @@
* @see ConfiguracoesNfe
* @see ConfiguracoesWebNfe
*/
@Log
public class ConfiguracoesNfe {

private EstadosEnum estado;
Expand Down Expand Up @@ -107,16 +107,14 @@ public static ConfiguracoesNfe criarConfiguracoes(EstadosEnum estado, AmbienteEn
}
}

if (Logger.getLogger("").isLoggable(Level.SEVERE)) {
System.err.println("####################################################################");
System.err.println(" Api Java Nfe - Versão 4.00.28 - 20/01/2024");
if (Logger.getLogger("").isLoggable(Level.WARNING)) {
System.err.println(" Samuel Olivera - [email protected] ");
}
System.err.println(" Pasta Schemas: " + pastaSchemas);
System.err.println(" Ambiente: " + (ambiente.equals(AmbienteEnum.PRODUCAO) ? "Produção" : "Homologação") + " - Estado: " + estado.getNome());
System.err.println("####################################################################");
}
log.info(String.format("JAVA-NFE | Samuel Oliveira | [email protected] " +
"| VERSAO=%s | DATA_VERSAO=%s | PASTA_SCHEMAS=%s | AMBIENTE=%s | ESTADO=%s",
"4.00.29",
"02/03/2024",
pastaSchemas,
ambiente,
estado.getNome().toUpperCase()));

if (!certificado.isValido()) {
throw new CertificadoException("Certificado Vencido/Inválido");
}
Expand Down

0 comments on commit 9c6b919

Please sign in to comment.