Skip to content

Commit 4cddbdb

Browse files
Atualizado Biblioteca certificado E organizado pom.xml
1 parent 6408f3a commit 4cddbdb

File tree

2 files changed

+53
-42
lines changed

2 files changed

+53
-42
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Notas de versão
2-
- Atualizado WebServices NFCe Ceara
2+
- Atualizado WebServices NFCe Ceara
3+
- Atualizado CACERT

pom.xml

Lines changed: 51 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
<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">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24
<modelVersion>4.0.0</modelVersion>
5+
36
<groupId>br.com.swconsultoria</groupId>
47
<artifactId>java-nfe</artifactId>
58
<version>4.00.39-SNAPSHOT</version>
@@ -28,6 +31,27 @@
2831
<maven.compiler.source>1.8</maven.compiler.source>
2932
<maven.compiler.target>1.8</maven.compiler.target>
3033
<java.version>1.8</java.version>
34+
35+
<!-- Versions -->
36+
<java-certificado.version>3.10</java-certificado.version>
37+
<ini4j.version>0.5.4</ini4j.version>
38+
<httpcore.version>4.4.6</httpcore.version>
39+
<jaxb-impl.version>2.3.1</jaxb-impl.version>
40+
<jaxb-xjc.version>2.3.1</jaxb-xjc.version>
41+
<jaxb-core.version>2.3.0.1</jaxb-core.version>
42+
<axis2.version>1.7.5</axis2.version>
43+
<axiom-api.version>1.2.20</axiom-api.version>
44+
<jmockit.version>1.46</jmockit.version>
45+
<junit-jupiter.version>5.4.0</junit-jupiter.version>
46+
<lombok.version>1.18.22</lombok.version>
47+
<maven-assembly-plugin.version>3.1.1</maven-assembly-plugin.version>
48+
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
49+
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
50+
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
51+
<maven-release-plugin.version>3.0.0</maven-release-plugin.version>
52+
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
53+
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
54+
<maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version>
3155
</properties>
3256

3357
<distributionManagement>
@@ -57,7 +81,7 @@
5781
<plugin>
5882
<groupId>org.apache.maven.plugins</groupId>
5983
<artifactId>maven-assembly-plugin</artifactId>
60-
<version>3.1.1</version>
84+
<version>${maven-assembly-plugin.version}</version>
6185
<configuration>
6286
<descriptorRefs>
6387
<descriptorRef>jar-with-dependencies</descriptorRef>
@@ -80,114 +104,102 @@
80104
</profiles>
81105

82106
<dependencies>
83-
<!-- Certificado Utils -->
84107
<dependency>
85108
<groupId>br.com.swconsultoria</groupId>
86109
<artifactId>java_certificado</artifactId>
87-
<version>3.9</version>
110+
<version>${java-certificado.version}</version>
88111
</dependency>
89-
<!-- Ini4J -->
90112
<dependency>
91113
<groupId>org.ini4j</groupId>
92114
<artifactId>ini4j</artifactId>
93-
<version>0.5.4</version>
115+
<version>${ini4j.version}</version>
94116
</dependency>
95-
96117
<dependency>
97118
<groupId>org.apache.httpcomponents</groupId>
98119
<artifactId>httpcore</artifactId>
99-
<version>4.4.6</version>
120+
<version>${httpcore.version}</version>
100121
</dependency>
101-
102-
<!--Java 11-->
103122
<dependency>
104123
<groupId>com.sun.xml.bind</groupId>
105124
<artifactId>jaxb-impl</artifactId>
106-
<version>2.3.1</version>
125+
<version>${jaxb-impl.version}</version>
107126
</dependency>
108127
<dependency>
109128
<groupId>com.sun.xml.bind</groupId>
110129
<artifactId>jaxb-xjc</artifactId>
111-
<version>2.3.1</version>
130+
<version>${jaxb-xjc.version}</version>
112131
</dependency>
113132
<dependency>
114133
<groupId>com.sun.xml.bind</groupId>
115134
<artifactId>jaxb-core</artifactId>
116-
<version>2.3.0.1</version>
135+
<version>${jaxb-core.version}</version>
117136
</dependency>
118-
119137
<dependency>
120138
<groupId>org.apache.axis2</groupId>
121139
<artifactId>axis2-kernel</artifactId>
122-
<version>1.7.5</version>
140+
<version>${axis2.version}</version>
123141
<exclusions>
124142
<exclusion>
125-
<artifactId>servlet-api</artifactId>
126143
<groupId>javax.servlet</groupId>
144+
<artifactId>servlet-api</artifactId>
127145
</exclusion>
128146
<exclusion>
129-
<artifactId>commons-fileupload</artifactId>
130147
<groupId>commons-fileupload</groupId>
148+
<artifactId>commons-fileupload</artifactId>
131149
</exclusion>
132150
</exclusions>
133151
</dependency>
134-
135152
<dependency>
136153
<groupId>org.apache.axis2</groupId>
137154
<artifactId>axis2-adb</artifactId>
138-
<version>1.7.5</version>
155+
<version>${axis2.version}</version>
139156
</dependency>
140-
141157
<dependency>
142158
<groupId>org.apache.axis2</groupId>
143159
<artifactId>axis2-jaxws</artifactId>
144-
<version>1.7.5</version>
160+
<version>${axis2.version}</version>
145161
</dependency>
146-
147162
<dependency>
148163
<groupId>org.apache.axis2</groupId>
149164
<artifactId>axis2-transport-http</artifactId>
150-
<version>1.7.5</version>
165+
<version>${axis2.version}</version>
151166
</dependency>
152-
153167
<dependency>
154168
<groupId>org.apache.axis2</groupId>
155169
<artifactId>axis2-transport-local</artifactId>
156-
<version>1.7.5</version>
170+
<version>${axis2.version}</version>
157171
</dependency>
158-
159172
<dependency>
160173
<groupId>org.apache.ws.commons.axiom</groupId>
161174
<artifactId>axiom-api</artifactId>
162-
<version>1.2.20</version>
175+
<version>${axiom-api.version}</version>
163176
</dependency>
164177
<dependency>
165178
<groupId>org.jmockit</groupId>
166179
<artifactId>jmockit</artifactId>
167-
<version>1.46</version>
180+
<version>${jmockit.version}</version>
168181
<scope>test</scope>
169182
</dependency>
170183
<dependency>
171184
<groupId>org.junit.jupiter</groupId>
172185
<artifactId>junit-jupiter</artifactId>
173-
<version>5.4.0</version>
186+
<version>${junit-jupiter.version}</version>
174187
<scope>test</scope>
175188
</dependency>
176189
<dependency>
177190
<groupId>org.projectlombok</groupId>
178191
<artifactId>lombok</artifactId>
179-
<version>1.18.22</version>
192+
<version>${lombok.version}</version>
180193
<scope>provided</scope>
181194
</dependency>
182-
183195
</dependencies>
184196

185197
<build>
186198
<plugins>
187199
<plugin>
188200
<groupId>org.apache.maven.plugins</groupId>
189201
<artifactId>maven-compiler-plugin</artifactId>
190-
<version>3.8.0</version>
202+
<version>${maven-compiler-plugin.version}</version>
191203
<configuration>
192204
<source>1.8</source>
193205
<target>1.8</target>
@@ -196,7 +208,7 @@
196208
<plugin>
197209
<groupId>org.sonatype.plugins</groupId>
198210
<artifactId>nexus-staging-maven-plugin</artifactId>
199-
<version>1.6.13</version>
211+
<version>${nexus-staging-maven-plugin.version}</version>
200212
<extensions>true</extensions>
201213
<configuration>
202214
<serverId>sonatype-nexus</serverId>
@@ -207,7 +219,7 @@
207219
<plugin>
208220
<groupId>org.apache.maven.plugins</groupId>
209221
<artifactId>maven-gpg-plugin</artifactId>
210-
<version>1.6</version>
222+
<version>${maven-gpg-plugin.version}</version>
211223
<executions>
212224
<execution>
213225
<id>sign-artifacts</id>
@@ -221,7 +233,7 @@
221233
<plugin>
222234
<groupId>org.apache.maven.plugins</groupId>
223235
<artifactId>maven-release-plugin</artifactId>
224-
<version>3.0.0</version>
236+
<version>${maven-release-plugin.version}</version>
225237
<configuration>
226238
<pushChanges>false</pushChanges>
227239
<localCheckout>true</localCheckout>
@@ -230,7 +242,7 @@
230242
<plugin>
231243
<groupId>org.apache.maven.plugins</groupId>
232244
<artifactId>maven-source-plugin</artifactId>
233-
<version>3.2.1</version>
245+
<version>${maven-source-plugin.version}</version>
234246
<executions>
235247
<execution>
236248
<id>attach-sources</id>
@@ -243,7 +255,7 @@
243255
<plugin>
244256
<groupId>org.apache.maven.plugins</groupId>
245257
<artifactId>maven-javadoc-plugin</artifactId>
246-
<version>3.5.0</version>
258+
<version>${maven-javadoc-plugin.version}</version>
247259
<executions>
248260
<execution>
249261
<id>attach-javadocs</id>
@@ -259,11 +271,9 @@
259271
<plugin>
260272
<groupId>org.apache.maven.plugins</groupId>
261273
<artifactId>maven-surefire-plugin</artifactId>
262-
<version>3.0.0</version>
274+
<version>${maven-surefire-plugin.version}</version>
263275
<configuration>
264-
<argLine>
265-
-javaagent:src/test/resources/agent.jar
266-
</argLine>
276+
<argLine>-javaagent:src/test/resources/agent.jar</argLine>
267277
</configuration>
268278
</plugin>
269279
</plugins>

0 commit comments

Comments
 (0)