Skip to content

Commit 7ba02b4

Browse files
- Adicionado log para utilização de Webservice INI Customizado
- Atualizado Schemas para PL.009k - Implementado NT 2022.003 - Implementado NT 2023.001 - Melhorias Git-Actions
1 parent afd14ae commit 7ba02b4

File tree

449 files changed

+96636
-85962
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

449 files changed

+96636
-85962
lines changed

.github/workflows/release.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
2+
name: Liberar nova versão
3+
4+
on:
5+
workflow_dispatch:
6+
push:
7+
tags:
8+
- '4.*'
9+
10+
jobs:
11+
12+
package:
13+
runs-on: ubuntu-20.04
14+
name: Empacotar executavel
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions/setup-java@v2
18+
with:
19+
java-version: '8'
20+
distribution: 'adopt'
21+
cache: maven
22+
- name: Cache local Maven repository
23+
uses: actions/cache@v3
24+
with:
25+
path: ~/.m2/repository
26+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27+
restore-keys: |
28+
${{ runner.os }}-maven-
29+
- name: Ajustando Timezone
30+
uses: szenius/[email protected]
31+
with:
32+
timezoneLinux: "America/Sao_Paulo"
33+
timezoneMacos: "America/Sao_Paulo"
34+
timezoneWindows: "America/Sao_Paulo"
35+
- name: Criando executavel
36+
run: mvn -B package --file pom.xml
37+
- name: Criando pasta para Zip
38+
run: mkdir java-nfe && cp target/*.jar java-nfe && cp schemas.zip
39+
- uses: montudor/action-zip@v1
40+
with:
41+
args: zip -qq -r java-nfe.zip java-nfe
42+
- name: Criando release
43+
uses: actions/create-release@v1
44+
id: create_release
45+
with:
46+
draft: false
47+
prerelease: false
48+
release_name: ${{ steps.version.outputs.version }}
49+
tag_name: ${{ github.ref }}
50+
body_path: CHANGELOG.md
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
- name: Subir executavel (zip) para release
54+
uses: actions/upload-release-asset@v1
55+
env:
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+
with:
58+
upload_url: ${{ steps.create_release.outputs.upload_url }}
59+
asset_path: ./java-nfe.zip
60+
asset_name: java-nfe.zip
61+
asset_content_type: application/zip

CHANGELOG.MD

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Notas de versão
2+
3+
- Adicionado log para utilização de Webservice INI Customizado
4+
- Atualizado Schemas para PL.009k
5+
- Implementado NT 2022.003
6+
- Implementado NT 2023.001
7+
- Melhorias Git-Actions

README.md

Lines changed: 12 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Java-NFe [![Build Status](https://travis-ci.org/Samuel-Oliveira/Java_NFe.svg?branch=master)](https://travis-ci.org/Samuel-Oliveira/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.20/jar)
1+
# Java-NFe [![Build Status](https://travis-ci.org/Samuel-Oliveira/Java_NFe.svg?branch=master)](https://travis-ci.org/Samuel-Oliveira/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.21/jar)
22
Biblioteca Java para consumo do WebService de NFe/NFCe
33

44
## Dúvidas, Sugestões ou Consultoria
@@ -7,16 +7,17 @@ Biblioteca Java para consumo do WebService de NFe/NFCe
77
## Gostou do Projeto? Dê sua colaboração pelo Pix: 01713390108 <img src="https://swconsultoria.com.br/pix.png" width="200">
88

99
Para Iniciar :
10-
- Caso use Libs baixe o java-nfe-4.00.20.jar (https://github.com/Samuel-Oliveira/Java_NFe/raw/master/java-nfe-4.00.20.jar) e o adicione às bibliotecas de Seu Projeto.
11-
1210
- Baixe o Schemas.rar (https://github.com/Samuel-Oliveira/Java_NFe/raw/master/schemas.zip) e extraia na sua Máquina.
1311

12+
- External Jar: Baixe e adicione às bibliotecas de seu Projeto.
13+
- https://github.com/Java-Brasil/Java-Boletos/releases
14+
1415
- Maven :
1516
```xml
1617
<dependency>
1718
<groupId>br.com.swconsultoria</groupId>
1819
<artifactId>java-nfe</artifactId>
19-
<version>4.00.20</version>
20+
<version>4.00.21</version>
2021
</dependency>
2122
```
2223

@@ -28,7 +29,7 @@ repositories {
2829
}
2930
}
3031
dependencies {
31-
implementation "br.com.swconsultoria:java-nfe:4.00.20"
32+
implementation "br.com.swconsultoria:java-nfe:4.00.21"
3233
}
3334
```
3435

@@ -38,62 +39,12 @@ ________________________________________________________________________________
3839

3940
# Historico de Versões
4041

41-
[//]: # (## v4.00.19A - SNAPSHOT - 21/04/2022 - Schemas PL.009i)
42-
43-
[//]: # (- Atualizado Cacert)
44-
45-
[//]: # (- Alteração WebService CE)
46-
47-
[//]: # (- Adicionado System.getProperty&#40;"file.separator"&#41; como separado de arquivos)
48-
49-
[//]: # (- Implementado NT 2021.004 1.20)
50-
51-
[//]: # (- Corrigido Consulta Cadastro MS)
52-
53-
[//]: # (- Alterado URL QrCode NFCe MG)
54-
55-
[//]: # (- Atualizado Servidor DFe Homologação)
56-
57-
[//]: # (- Adicionado Compatibilidade com Java 14+)
58-
59-
[//]: # (- Adicionado Evento Ator Interessado)
60-
61-
[//]: # (- Corrigido erro de Logs)
62-
63-
[//]: # (- Adicionado Melhorias JaxB)
64-
65-
[//]: # ()
66-
[//]: # (Snapshot é a versão que se encontra em teste, só use em caso de extrema necessidade.)
67-
68-
[//]: # (Para usar, adicione o repositorio de Snapshot ao Maven:)
69-
70-
[//]: # (```)
71-
72-
[//]: # (<repositories>)
73-
74-
[//]: # ( <repository>)
75-
76-
[//]: # ( <id>sonatype-nexus-snapshots</id>)
77-
78-
[//]: # ( <url>https://oss.sonatype.org/content/repositories/snapshots</url>)
79-
80-
[//]: # ( </repository>)
81-
82-
[//]: # (</repositories>)
83-
84-
[//]: # (<dependency>)
85-
86-
[//]: # ( <groupId>br.com.swconsultoria</groupId>)
87-
88-
[//]: # ( <artifactId>java-nfe</artifactId>)
89-
90-
[//]: # ( <version>4.00.19-SNAPSHOT</version>)
91-
92-
[//]: # (</dependency>)
93-
94-
[//]: # (```)
95-
96-
[//]: # (Ou baixe o Jar aqui: https://github.com/Samuel-Oliveira/Java_NFe/raw/master/java-nfe-4.00.19-SNAPSHOT.jar)
42+
## v4.00.21 - 19/03/2023 - Schemas PL.009k
43+
- Adicionado log para utilização de Webservice INI Customizado
44+
- Atualizado Schemas para PL.009k
45+
- Implementado NT 2022.003
46+
- Implementado NT 2023.001
47+
- Melhorias Git-Actions
9748

9849
## v4.00.20 - 07/03/2023 - Schemas PL.009i
9950
- Correção URL MG

docs/docs/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/Samuel-Oliveira/Java_NFe.svg?branch=master)](https://travis-ci.org/Samuel-Oliveira/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.20/jar) [![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/Samuel-Oliveira/Java_NFe.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Samuel-Oliveira/Java_NFe/context:java) [![Total alerts](https://img.shields.io/lgtm/alerts/g/Samuel-Oliveira/Java_NFe.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Samuel-Oliveira/Java_NFe/alerts/)
1+
[![Build Status](https://travis-ci.org/Samuel-Oliveira/Java_NFe.svg?branch=master)](https://travis-ci.org/Samuel-Oliveira/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.21/jar) [![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/Samuel-Oliveira/Java_NFe.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Samuel-Oliveira/Java_NFe/context:java) [![Total alerts](https://img.shields.io/lgtm/alerts/g/Samuel-Oliveira/Java_NFe.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Samuel-Oliveira/Java_NFe/alerts/)
22

33
***Biblioteca Java para consumo do WebService de NFe/NFCe***
44

@@ -11,7 +11,7 @@
1111
</p>
1212

1313
Para Iniciar :
14-
- Caso use Libs baixe o [java-nfe-4.00.20.jar](https://github.com/Samuel-Oliveira/Java_NFe/raw/master/java-nfe-4.00.20.jar) e o adicione às bibliotecas de Seu Projeto.
14+
- Caso use Libs baixe o [java-nfe-4.00.21.jar](https://github.com/Samuel-Oliveira/Java_NFe/raw/master/java-nfe-4.00.21.jar) e o adicione às bibliotecas de Seu Projeto.
1515

1616
- Baixe o [Schemas.rar](https://github.com/Samuel-Oliveira/Java_NFe/raw/master/schemas.zip) e extraia na sua Máquina.
1717

@@ -20,7 +20,7 @@ Para Iniciar :
2020
<dependency>
2121
<groupId>br.com.swconsultoria</groupId>
2222
<artifactId>java-nfe</artifactId>
23-
<version>4.00.20</version>
23+
<version>4.00.21</version>
2424
</dependency>
2525
```
2626

@@ -32,7 +32,7 @@ repositories {
3232
}
3333
}
3434
dependencies {
35-
implementation "br.com.swconsultoria:java-nfe:4.00.20"
35+
implementation "br.com.swconsultoria:java-nfe:4.00.21"
3636
}
3737
```
3838

java-nfe-4.00.20.jar

-20.7 MB
Binary file not shown.

pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,15 +200,17 @@
200200
<plugin>
201201
<groupId>org.apache.maven.plugins</groupId>
202202
<artifactId>maven-assembly-plugin</artifactId>
203-
<version>2.4</version>
203+
<version>3.1.1</version>
204204
<configuration>
205205
<descriptorRefs>
206206
<descriptorRef>jar-with-dependencies</descriptorRef>
207207
</descriptorRefs>
208+
<appendAssemblyId>false</appendAssemblyId>
208209
</configuration>
209210
<executions>
210211
<execution>
211-
<phase>none</phase>
212+
<id>make-assembly</id>
213+
<phase>package</phase>
212214
<goals>
213215
<goal>single</goal>
214216
</goals>

schemas.zip

4.43 KB
Binary file not shown.

schemas/consCad_v2.00.xsd

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<xs:schema xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:xs="http://www.w3.org/2001/XMLSchema"
3+
targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified"
4+
attributeFormDefault="unqualified">
5+
<xs:include schemaLocation="leiauteConsultaCadastro_v2.00.xsd"/>
6+
<xs:element name="ConsCad" type="TConsCad">
7+
<xs:annotation>
8+
<xs:documentation>Schema XML de validação do retorno da consulta cadastro contribuintes</xs:documentation>
9+
</xs:annotation>
10+
</xs:element>
11+
</xs:schema>

0 commit comments

Comments
 (0)