|
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.22</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 | | - <!-- Ini4J --> |
90 | 110 | <dependency> |
91 | 111 | <groupId>org.ini4j</groupId> |
92 | 112 | <artifactId>ini4j</artifactId> |
93 | | - <version>0.5.4</version> |
| 113 | + <version>${ini4j.version}</version> |
94 | 114 | </dependency> |
95 | | - |
96 | 115 | <dependency> |
97 | 116 | <groupId>org.apache.httpcomponents</groupId> |
98 | 117 | <artifactId>httpcore</artifactId> |
99 | | - <version>4.4.6</version> |
| 118 | + <version>${httpcore.version}</version> |
100 | 119 | </dependency> |
101 | | - |
102 | | - <!--Java 11--> |
103 | 120 | <dependency> |
104 | 121 | <groupId>com.sun.xml.bind</groupId> |
105 | 122 | <artifactId>jaxb-impl</artifactId> |
106 | | - <version>2.3.1</version> |
| 123 | + <version>${jaxb-impl.version}</version> |
107 | 124 | </dependency> |
108 | 125 | <dependency> |
109 | 126 | <groupId>com.sun.xml.bind</groupId> |
110 | 127 | <artifactId>jaxb-xjc</artifactId> |
111 | | - <version>2.3.1</version> |
| 128 | + <version>${jaxb-xjc.version}</version> |
112 | 129 | </dependency> |
113 | 130 | <dependency> |
114 | 131 | <groupId>com.sun.xml.bind</groupId> |
115 | 132 | <artifactId>jaxb-core</artifactId> |
116 | | - <version>2.3.0.1</version> |
| 133 | + <version>${jaxb-core.version}</version> |
117 | 134 | </dependency> |
118 | | - |
119 | 135 | <dependency> |
120 | 136 | <groupId>org.apache.axis2</groupId> |
121 | 137 | <artifactId>axis2-kernel</artifactId> |
122 | | - <version>1.7.5</version> |
| 138 | + <version>${axis2.version}</version> |
123 | 139 | <exclusions> |
124 | 140 | <exclusion> |
125 | | - <artifactId>servlet-api</artifactId> |
126 | 141 | <groupId>javax.servlet</groupId> |
| 142 | + <artifactId>servlet-api</artifactId> |
127 | 143 | </exclusion> |
128 | 144 | <exclusion> |
129 | | - <artifactId>commons-fileupload</artifactId> |
130 | 145 | <groupId>commons-fileupload</groupId> |
| 146 | + <artifactId>commons-fileupload</artifactId> |
131 | 147 | </exclusion> |
132 | 148 | </exclusions> |
133 | 149 | </dependency> |
134 | | - |
135 | 150 | <dependency> |
136 | 151 | <groupId>org.apache.axis2</groupId> |
137 | 152 | <artifactId>axis2-adb</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-jaxws</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-http</artifactId> |
150 | | - <version>1.7.5</version> |
| 163 | + <version>${axis2.version}</version> |
151 | 164 | </dependency> |
152 | | - |
153 | 165 | <dependency> |
154 | 166 | <groupId>org.apache.axis2</groupId> |
155 | 167 | <artifactId>axis2-transport-local</artifactId> |
156 | | - <version>1.7.5</version> |
| 168 | + <version>${axis2.version}</version> |
157 | 169 | </dependency> |
158 | | - |
159 | 170 | <dependency> |
160 | 171 | <groupId>org.apache.ws.commons.axiom</groupId> |
161 | 172 | <artifactId>axiom-api</artifactId> |
162 | | - <version>1.2.20</version> |
| 173 | + <version>${axiom-api.version}</version> |
163 | 174 | </dependency> |
164 | 175 | <dependency> |
165 | 176 | <groupId>org.jmockit</groupId> |
166 | 177 | <artifactId>jmockit</artifactId> |
167 | | - <version>1.46</version> |
| 178 | + <version>${jmockit.version}</version> |
168 | 179 | <scope>test</scope> |
169 | 180 | </dependency> |
170 | 181 | <dependency> |
171 | 182 | <groupId>org.junit.jupiter</groupId> |
172 | 183 | <artifactId>junit-jupiter</artifactId> |
173 | | - <version>5.4.0</version> |
| 184 | + <version>${junit-jupiter.version}</version> |
174 | 185 | <scope>test</scope> |
175 | 186 | </dependency> |
176 | 187 | <dependency> |
177 | 188 | <groupId>org.projectlombok</groupId> |
178 | 189 | <artifactId>lombok</artifactId> |
179 | | - <version>1.18.22</version> |
| 190 | + <version>${lombok.version}</version> |
180 | 191 | <scope>provided</scope> |
181 | 192 | </dependency> |
182 | | - |
183 | 193 | </dependencies> |
184 | 194 |
|
185 | 195 | <build> |
186 | 196 | <plugins> |
187 | 197 | <plugin> |
188 | 198 | <groupId>org.apache.maven.plugins</groupId> |
189 | 199 | <artifactId>maven-compiler-plugin</artifactId> |
190 | | - <version>3.8.0</version> |
| 200 | + <version>${maven-compiler-plugin.version}</version> |
191 | 201 | <configuration> |
192 | 202 | <source>1.8</source> |
193 | 203 | <target>1.8</target> |
|
196 | 206 | <plugin> |
197 | 207 | <groupId>org.sonatype.plugins</groupId> |
198 | 208 | <artifactId>nexus-staging-maven-plugin</artifactId> |
199 | | - <version>1.6.13</version> |
| 209 | + <version>${nexus-staging-maven-plugin.version}</version> |
200 | 210 | <extensions>true</extensions> |
201 | 211 | <configuration> |
202 | 212 | <serverId>sonatype-nexus</serverId> |
|
207 | 217 | <plugin> |
208 | 218 | <groupId>org.apache.maven.plugins</groupId> |
209 | 219 | <artifactId>maven-gpg-plugin</artifactId> |
210 | | - <version>1.6</version> |
| 220 | + <version>${maven-gpg-plugin.version}</version> |
211 | 221 | <executions> |
212 | 222 | <execution> |
213 | 223 | <id>sign-artifacts</id> |
|
221 | 231 | <plugin> |
222 | 232 | <groupId>org.apache.maven.plugins</groupId> |
223 | 233 | <artifactId>maven-release-plugin</artifactId> |
224 | | - <version>3.0.0</version> |
| 234 | + <version>${maven-release-plugin.version}</version> |
225 | 235 | <configuration> |
226 | 236 | <pushChanges>false</pushChanges> |
227 | 237 | <localCheckout>true</localCheckout> |
|
230 | 240 | <plugin> |
231 | 241 | <groupId>org.apache.maven.plugins</groupId> |
232 | 242 | <artifactId>maven-source-plugin</artifactId> |
233 | | - <version>3.2.1</version> |
| 243 | + <version>${maven-source-plugin.version}</version> |
234 | 244 | <executions> |
235 | 245 | <execution> |
236 | 246 | <id>attach-sources</id> |
|
243 | 253 | <plugin> |
244 | 254 | <groupId>org.apache.maven.plugins</groupId> |
245 | 255 | <artifactId>maven-javadoc-plugin</artifactId> |
246 | | - <version>3.5.0</version> |
| 256 | + <version>${maven-javadoc-plugin.version}</version> |
247 | 257 | <executions> |
248 | 258 | <execution> |
249 | 259 | <id>attach-javadocs</id> |
|
259 | 269 | <plugin> |
260 | 270 | <groupId>org.apache.maven.plugins</groupId> |
261 | 271 | <artifactId>maven-surefire-plugin</artifactId> |
262 | | - <version>3.0.0</version> |
| 272 | + <version>${maven-surefire-plugin.version}</version> |
263 | 273 | <configuration> |
264 | | - <argLine> |
265 | | - -javaagent:src/test/resources/agent.jar |
266 | | - </argLine> |
| 274 | + <argLine>-javaagent:src/test/resources/agent.jar</argLine> |
267 | 275 | </configuration> |
268 | 276 | </plugin> |
269 | 277 | </plugins> |
|
0 commit comments