Skip to content

Commit 3031b8c

Browse files
committed
Ajusta Pom do Base
1 parent 57e4b03 commit 3031b8c

File tree

1 file changed

+70
-38
lines changed

1 file changed

+70
-38
lines changed

pom-base.xml

Lines changed: 70 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>br.com.swconsultoria</groupId>
44
<artifactId>java-nfe</artifactId>
5-
<version>4.00.38-${versao}-SNAPSHOT</version>
5+
<version>4.00.40-${versao}-SNAPSHOT</version>
66
<name>Java_NFe</name>
77
<description>Api java para consumo do webService de nota fiscal eletronica</description>
88
<url>https://github.com/Samuel-Oliveira/Java_NFe</url>
@@ -28,6 +28,25 @@
2828
<maven.compiler.source>1.8</maven.compiler.source>
2929
<maven.compiler.target>1.8</maven.compiler.target>
3030
<java.version>1.8</java.version>
31+
32+
<!-- Versions -->
33+
<java-certificado.version>3.12</java-certificado.version>
34+
<httpcore.version>4.4.6</httpcore.version>
35+
<jaxb-impl.version>2.3.1</jaxb-impl.version>
36+
<jaxb-xjc.version>2.3.1</jaxb-xjc.version>
37+
<jaxb-core.version>2.3.0.1</jaxb-core.version>
38+
<axis2.version>1.7.5</axis2.version>
39+
<axiom-api.version>1.2.20</axiom-api.version>
40+
<jmockit.version>1.49</jmockit.version>
41+
<junit-jupiter.version>5.13.3</junit-jupiter.version>
42+
<lombok.version>1.18.38</lombok.version>
43+
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
44+
<central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
45+
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
46+
<maven-assembly-plugin.version>3.7.1</maven-assembly-plugin.version>
47+
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
48+
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
49+
<maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
3150
</properties>
3251

3352
<!-- Environment Settings -->
@@ -55,7 +74,7 @@
5574
<plugin>
5675
<groupId>org.apache.maven.plugins</groupId>
5776
<artifactId>maven-assembly-plugin</artifactId>
58-
<version>3.1.1</version>
77+
<version>${maven-assembly-plugin.version}</version>
5978
<configuration>
6079
<descriptorRefs>
6180
<descriptorRef>jar-with-dependencies</descriptorRef>
@@ -78,114 +97,97 @@
7897
</profiles>
7998

8099
<dependencies>
81-
<!-- Certificado Utils -->
82100
<dependency>
83101
<groupId>br.com.swconsultoria</groupId>
84102
<artifactId>java_certificado</artifactId>
85-
<version>3.9</version>
103+
<version>${java-certificado.version}</version>
86104
</dependency>
87-
<!-- Ini4J -->
88-
<dependency>
89-
<groupId>org.ini4j</groupId>
90-
<artifactId>ini4j</artifactId>
91-
<version>0.5.4</version>
92-
</dependency>
93-
94105
<dependency>
95106
<groupId>org.apache.httpcomponents</groupId>
96107
<artifactId>httpcore</artifactId>
97-
<version>4.4.6</version>
108+
<version>${httpcore.version}</version>
98109
</dependency>
99-
100-
<!--Java 11-->
101110
<dependency>
102111
<groupId>com.sun.xml.bind</groupId>
103112
<artifactId>jaxb-impl</artifactId>
104-
<version>2.3.1</version>
113+
<version>${jaxb-impl.version}</version>
105114
</dependency>
106115
<dependency>
107116
<groupId>com.sun.xml.bind</groupId>
108117
<artifactId>jaxb-xjc</artifactId>
109-
<version>2.3.1</version>
118+
<version>${jaxb-xjc.version}</version>
110119
</dependency>
111120
<dependency>
112121
<groupId>com.sun.xml.bind</groupId>
113122
<artifactId>jaxb-core</artifactId>
114-
<version>2.3.0.1</version>
123+
<version>${jaxb-core.version}</version>
115124
</dependency>
116-
117125
<dependency>
118126
<groupId>org.apache.axis2</groupId>
119127
<artifactId>axis2-kernel</artifactId>
120-
<version>1.7.5</version>
128+
<version>${axis2.version}</version>
121129
<exclusions>
122130
<exclusion>
123-
<artifactId>servlet-api</artifactId>
124131
<groupId>javax.servlet</groupId>
132+
<artifactId>servlet-api</artifactId>
125133
</exclusion>
126134
<exclusion>
127-
<artifactId>commons-fileupload</artifactId>
128135
<groupId>commons-fileupload</groupId>
136+
<artifactId>commons-fileupload</artifactId>
129137
</exclusion>
130138
</exclusions>
131139
</dependency>
132-
133140
<dependency>
134141
<groupId>org.apache.axis2</groupId>
135142
<artifactId>axis2-adb</artifactId>
136-
<version>1.7.5</version>
143+
<version>${axis2.version}</version>
137144
</dependency>
138-
139145
<dependency>
140146
<groupId>org.apache.axis2</groupId>
141147
<artifactId>axis2-jaxws</artifactId>
142-
<version>1.7.5</version>
148+
<version>${axis2.version}</version>
143149
</dependency>
144-
145150
<dependency>
146151
<groupId>org.apache.axis2</groupId>
147152
<artifactId>axis2-transport-http</artifactId>
148-
<version>1.7.5</version>
153+
<version>${axis2.version}</version>
149154
</dependency>
150-
151155
<dependency>
152156
<groupId>org.apache.axis2</groupId>
153157
<artifactId>axis2-transport-local</artifactId>
154-
<version>1.7.5</version>
158+
<version>${axis2.version}</version>
155159
</dependency>
156-
157160
<dependency>
158161
<groupId>org.apache.ws.commons.axiom</groupId>
159162
<artifactId>axiom-api</artifactId>
160-
<version>1.2.20</version>
163+
<version>${axiom-api.version}</version>
161164
</dependency>
162165
<dependency>
163166
<groupId>org.jmockit</groupId>
164167
<artifactId>jmockit</artifactId>
165-
<version>1.46</version>
168+
<version>${jmockit.version}</version>
166169
<scope>test</scope>
167170
</dependency>
168171
<dependency>
169172
<groupId>org.junit.jupiter</groupId>
170173
<artifactId>junit-jupiter</artifactId>
171-
<version>5.4.0</version>
174+
<version>${junit-jupiter.version}</version>
172175
<scope>test</scope>
173176
</dependency>
174177
<dependency>
175178
<groupId>org.projectlombok</groupId>
176179
<artifactId>lombok</artifactId>
177-
<version>1.18.22</version>
180+
<version>${lombok.version}</version>
178181
<scope>provided</scope>
179182
</dependency>
180-
181183
</dependencies>
182184

183185
<build>
184186
<plugins>
185187
<plugin>
186188
<groupId>org.apache.maven.plugins</groupId>
187189
<artifactId>maven-compiler-plugin</artifactId>
188-
<version>3.8.0</version>
190+
<version>${maven-compiler-plugin.version}</version>
189191
<configuration>
190192
<source>1.8</source>
191193
<target>1.8</target>
@@ -211,10 +213,24 @@
211213
<localCheckout>true</localCheckout>
212214
</configuration>
213215
</plugin>
216+
<plugin>
217+
<groupId>org.apache.maven.plugins</groupId>
218+
<artifactId>maven-gpg-plugin</artifactId>
219+
<version>${maven-gpg-plugin.version}</version>
220+
<executions>
221+
<execution>
222+
<id>sign-artifacts</id>
223+
<phase>verify</phase>
224+
<goals>
225+
<goal>sign</goal>
226+
</goals>
227+
</execution>
228+
</executions>
229+
</plugin>
214230
<plugin>
215231
<groupId>org.apache.maven.plugins</groupId>
216232
<artifactId>maven-source-plugin</artifactId>
217-
<version>3.2.1</version>
233+
<version>${maven-source-plugin.version}</version>
218234
<executions>
219235
<execution>
220236
<id>attach-sources</id>
@@ -224,9 +240,25 @@
224240
</execution>
225241
</executions>
226242
</plugin>
243+
<plugin>
244+
<groupId>org.apache.maven.plugins</groupId>
245+
<artifactId>maven-javadoc-plugin</artifactId>
246+
<version>${maven-javadoc-plugin.version}</version>
247+
<executions>
248+
<execution>
249+
<id>attach-javadocs</id>
250+
<goals>
251+
<goal>jar</goal>
252+
</goals>
253+
</execution>
254+
</executions>
255+
<configuration>
256+
<failOnError>false</failOnError>
257+
</configuration>
258+
</plugin>
227259
<plugin>
228260
<artifactId>maven-surefire-plugin</artifactId>
229-
<version>3.0.0</version>
261+
<version>${maven-surefire-plugin.version}</version>
230262
<configuration>
231263
<argLine>
232264
-javaagent:src/test/resources/agent.jar

0 commit comments

Comments
 (0)