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