|
1 | 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"> |
2 | 2 | <modelVersion>4.0.0</modelVersion> |
| 3 | + |
3 | 4 | <groupId>br.com.swconsultoria</groupId> |
4 | 5 | <artifactId>java-nfe</artifactId> |
5 | | - <version>4.00.39-SNAPSHOT</version> |
| 6 | + <version>4.00.40-SNAPSHOT</version> |
6 | 7 | <name>Java_NFe</name> |
7 | 8 | <description>Api java para consumo do webService de nota fiscal eletronica</description> |
8 | 9 | <url>https://github.com/Samuel-Oliveira/Java_NFe</url> |
|
28 | 29 | <maven.compiler.source>1.8</maven.compiler.source> |
29 | 30 | <maven.compiler.target>1.8</maven.compiler.target> |
30 | 31 | <java.version>1.8</java.version> |
| 32 | + |
| 33 | + <!-- Versions --> |
| 34 | + <java-certificado.version>3.10</java-certificado.version> |
| 35 | + <ini4j.version>0.5.4</ini4j.version> |
| 36 | + <httpcore.version>4.4.6</httpcore.version> |
| 37 | + <jaxb-impl.version>2.3.1</jaxb-impl.version> |
| 38 | + <jaxb-xjc.version>2.3.1</jaxb-xjc.version> |
| 39 | + <jaxb-core.version>2.3.0.1</jaxb-core.version> |
| 40 | + <axis2.version>1.7.5</axis2.version> |
| 41 | + <axiom-api.version>1.2.20</axiom-api.version> |
| 42 | + <jmockit.version>1.46</jmockit.version> |
| 43 | + <junit-jupiter.version>5.4.0</junit-jupiter.version> |
| 44 | + <lombok.version>1.18.30</lombok.version> |
| 45 | + <maven-assembly-plugin.version>3.1.1</maven-assembly-plugin.version> |
| 46 | + <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version> |
| 47 | + <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version> |
| 48 | + <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> |
| 49 | + <maven-release-plugin.version>3.0.0</maven-release-plugin.version> |
| 50 | + <maven-source-plugin.version>3.2.1</maven-source-plugin.version> |
| 51 | + <maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version> |
| 52 | + <maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version> |
31 | 53 | </properties> |
32 | 54 |
|
33 | 55 | <distributionManagement> |
|
57 | 79 | <plugin> |
58 | 80 | <groupId>org.apache.maven.plugins</groupId> |
59 | 81 | <artifactId>maven-assembly-plugin</artifactId> |
60 | | - <version>3.1.1</version> |
| 82 | + <version>${maven-assembly-plugin.version}</version> |
61 | 83 | <configuration> |
62 | 84 | <descriptorRefs> |
63 | 85 | <descriptorRef>jar-with-dependencies</descriptorRef> |
|
80 | 102 | </profiles> |
81 | 103 |
|
82 | 104 | <dependencies> |
83 | | - <!-- Certificado Utils --> |
84 | 105 | <dependency> |
85 | 106 | <groupId>br.com.swconsultoria</groupId> |
86 | 107 | <artifactId>java_certificado</artifactId> |
87 | | - <version>3.9</version> |
| 108 | + <version>${java-certificado.version}</version> |
88 | 109 | </dependency> |
89 | | - |
90 | 110 | <dependency> |
91 | 111 | <groupId>org.apache.httpcomponents</groupId> |
92 | 112 | <artifactId>httpcore</artifactId> |
93 | | - <version>4.4.6</version> |
| 113 | + <version>${httpcore.version}</version> |
94 | 114 | </dependency> |
95 | | - |
96 | | - <!--Java 11--> |
97 | 115 | <dependency> |
98 | 116 | <groupId>com.sun.xml.bind</groupId> |
99 | 117 | <artifactId>jaxb-impl</artifactId> |
100 | | - <version>2.3.1</version> |
| 118 | + <version>${jaxb-impl.version}</version> |
101 | 119 | </dependency> |
102 | 120 | <dependency> |
103 | 121 | <groupId>com.sun.xml.bind</groupId> |
104 | 122 | <artifactId>jaxb-xjc</artifactId> |
105 | | - <version>2.3.1</version> |
| 123 | + <version>${jaxb-xjc.version}</version> |
106 | 124 | </dependency> |
107 | 125 | <dependency> |
108 | 126 | <groupId>com.sun.xml.bind</groupId> |
109 | 127 | <artifactId>jaxb-core</artifactId> |
110 | | - <version>2.3.0.1</version> |
| 128 | + <version>${jaxb-core.version}</version> |
111 | 129 | </dependency> |
112 | | - |
113 | 130 | <dependency> |
114 | 131 | <groupId>org.apache.axis2</groupId> |
115 | 132 | <artifactId>axis2-kernel</artifactId> |
116 | | - <version>1.7.5</version> |
| 133 | + <version>${axis2.version}</version> |
117 | 134 | <exclusions> |
118 | 135 | <exclusion> |
119 | | - <artifactId>servlet-api</artifactId> |
120 | 136 | <groupId>javax.servlet</groupId> |
| 137 | + <artifactId>servlet-api</artifactId> |
121 | 138 | </exclusion> |
122 | 139 | <exclusion> |
123 | | - <artifactId>commons-fileupload</artifactId> |
124 | 140 | <groupId>commons-fileupload</groupId> |
| 141 | + <artifactId>commons-fileupload</artifactId> |
125 | 142 | </exclusion> |
126 | 143 | </exclusions> |
127 | 144 | </dependency> |
128 | | - |
129 | 145 | <dependency> |
130 | 146 | <groupId>org.apache.axis2</groupId> |
131 | 147 | <artifactId>axis2-adb</artifactId> |
132 | | - <version>1.7.5</version> |
| 148 | + <version>${axis2.version}</version> |
133 | 149 | </dependency> |
134 | | - |
135 | 150 | <dependency> |
136 | 151 | <groupId>org.apache.axis2</groupId> |
137 | 152 | <artifactId>axis2-jaxws</artifactId> |
138 | | - <version>1.7.5</version> |
| 153 | + <version>${axis2.version}</version> |
139 | 154 | </dependency> |
140 | | - |
141 | 155 | <dependency> |
142 | 156 | <groupId>org.apache.axis2</groupId> |
143 | 157 | <artifactId>axis2-transport-http</artifactId> |
144 | | - <version>1.7.5</version> |
| 158 | + <version>${axis2.version}</version> |
145 | 159 | </dependency> |
146 | | - |
147 | 160 | <dependency> |
148 | 161 | <groupId>org.apache.axis2</groupId> |
149 | 162 | <artifactId>axis2-transport-local</artifactId> |
150 | | - <version>1.7.5</version> |
| 163 | + <version>${axis2.version}</version> |
151 | 164 | </dependency> |
152 | | - |
153 | 165 | <dependency> |
154 | 166 | <groupId>org.apache.ws.commons.axiom</groupId> |
155 | 167 | <artifactId>axiom-api</artifactId> |
156 | | - <version>1.2.20</version> |
| 168 | + <version>${axiom-api.version}</version> |
157 | 169 | </dependency> |
158 | 170 | <dependency> |
159 | 171 | <groupId>org.jmockit</groupId> |
160 | 172 | <artifactId>jmockit</artifactId> |
161 | | - <version>1.46</version> |
| 173 | + <version>${jmockit.version}</version> |
162 | 174 | <scope>test</scope> |
163 | 175 | </dependency> |
164 | 176 | <dependency> |
165 | 177 | <groupId>org.junit.jupiter</groupId> |
166 | 178 | <artifactId>junit-jupiter</artifactId> |
167 | | - <version>5.4.0</version> |
| 179 | + <version>${junit-jupiter.version}</version> |
168 | 180 | <scope>test</scope> |
169 | 181 | </dependency> |
170 | 182 | <dependency> |
171 | 183 | <groupId>org.projectlombok</groupId> |
172 | 184 | <artifactId>lombok</artifactId> |
173 | | - <version>1.18.30</version> |
| 185 | + <version>${lombok.version}</version> |
174 | 186 | <scope>provided</scope> |
175 | 187 | </dependency> |
176 | | - |
177 | 188 | </dependencies> |
178 | 189 |
|
179 | 190 | <build> |
180 | 191 | <plugins> |
181 | 192 | <plugin> |
182 | 193 | <groupId>org.apache.maven.plugins</groupId> |
183 | 194 | <artifactId>maven-compiler-plugin</artifactId> |
184 | | - <version>3.8.0</version> |
| 195 | + <version>${maven-compiler-plugin.version}</version> |
185 | 196 | <configuration> |
186 | 197 | <source>1.8</source> |
187 | 198 | <target>1.8</target> |
|
190 | 201 | <plugin> |
191 | 202 | <groupId>org.sonatype.plugins</groupId> |
192 | 203 | <artifactId>nexus-staging-maven-plugin</artifactId> |
193 | | - <version>1.6.13</version> |
| 204 | + <version>${nexus-staging-maven-plugin.version}</version> |
194 | 205 | <extensions>true</extensions> |
195 | 206 | <configuration> |
196 | 207 | <serverId>sonatype-nexus</serverId> |
|
201 | 212 | <plugin> |
202 | 213 | <groupId>org.apache.maven.plugins</groupId> |
203 | 214 | <artifactId>maven-gpg-plugin</artifactId> |
204 | | - <version>1.6</version> |
| 215 | + <version>${maven-gpg-plugin.version}</version> |
205 | 216 | <executions> |
206 | 217 | <execution> |
207 | 218 | <id>sign-artifacts</id> |
|
215 | 226 | <plugin> |
216 | 227 | <groupId>org.apache.maven.plugins</groupId> |
217 | 228 | <artifactId>maven-release-plugin</artifactId> |
218 | | - <version>3.0.0</version> |
| 229 | + <version>${maven-release-plugin.version}</version> |
219 | 230 | <configuration> |
220 | 231 | <pushChanges>false</pushChanges> |
221 | 232 | <localCheckout>true</localCheckout> |
|
224 | 235 | <plugin> |
225 | 236 | <groupId>org.apache.maven.plugins</groupId> |
226 | 237 | <artifactId>maven-source-plugin</artifactId> |
227 | | - <version>3.2.1</version> |
| 238 | + <version>${maven-source-plugin.version}</version> |
228 | 239 | <executions> |
229 | 240 | <execution> |
230 | 241 | <id>attach-sources</id> |
|
237 | 248 | <plugin> |
238 | 249 | <groupId>org.apache.maven.plugins</groupId> |
239 | 250 | <artifactId>maven-javadoc-plugin</artifactId> |
240 | | - <version>3.5.0</version> |
| 251 | + <version>${maven-javadoc-plugin.version}</version> |
241 | 252 | <executions> |
242 | 253 | <execution> |
243 | 254 | <id>attach-javadocs</id> |
|
253 | 264 | <plugin> |
254 | 265 | <groupId>org.apache.maven.plugins</groupId> |
255 | 266 | <artifactId>maven-surefire-plugin</artifactId> |
256 | | - <version>3.0.0</version> |
| 267 | + <version>${maven-surefire-plugin.version}</version> |
257 | 268 | <configuration> |
258 | | - <argLine> |
259 | | - -javaagent:src/test/resources/agent.jar |
260 | | - </argLine> |
| 269 | + <argLine>-javaagent:src/test/resources/agent.jar</argLine> |
261 | 270 | </configuration> |
262 | 271 | </plugin> |
263 | 272 | </plugins> |
|
0 commit comments