|
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | 3 | <groupId>br.com.swconsultoria</groupId> |
4 | 4 | <artifactId>java-nfe</artifactId> |
5 | | - <version>4.00.38-${versao}-SNAPSHOT</version> |
| 5 | + <version>4.00.40-${versao}-SNAPSHOT</version> |
6 | 6 | <name>Java_NFe</name> |
7 | 7 | <description>Api java para consumo do webService de nota fiscal eletronica</description> |
8 | 8 | <url>https://github.com/Samuel-Oliveira/Java_NFe</url> |
|
28 | 28 | <maven.compiler.source>1.8</maven.compiler.source> |
29 | 29 | <maven.compiler.target>1.8</maven.compiler.target> |
30 | 30 | <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> |
31 | 50 | </properties> |
32 | 51 |
|
33 | 52 | <!-- Environment Settings --> |
|
55 | 74 | <plugin> |
56 | 75 | <groupId>org.apache.maven.plugins</groupId> |
57 | 76 | <artifactId>maven-assembly-plugin</artifactId> |
58 | | - <version>3.1.1</version> |
| 77 | + <version>${maven-assembly-plugin.version}</version> |
59 | 78 | <configuration> |
60 | 79 | <descriptorRefs> |
61 | 80 | <descriptorRef>jar-with-dependencies</descriptorRef> |
|
78 | 97 | </profiles> |
79 | 98 |
|
80 | 99 | <dependencies> |
81 | | - <!-- Certificado Utils --> |
82 | 100 | <dependency> |
83 | 101 | <groupId>br.com.swconsultoria</groupId> |
84 | 102 | <artifactId>java_certificado</artifactId> |
85 | | - <version>3.9</version> |
| 103 | + <version>${java-certificado.version}</version> |
86 | 104 | </dependency> |
87 | | - <!-- Ini4J --> |
88 | | - <dependency> |
89 | | - <groupId>org.ini4j</groupId> |
90 | | - <artifactId>ini4j</artifactId> |
91 | | - <version>0.5.4</version> |
92 | | - </dependency> |
93 | | - |
94 | 105 | <dependency> |
95 | 106 | <groupId>org.apache.httpcomponents</groupId> |
96 | 107 | <artifactId>httpcore</artifactId> |
97 | | - <version>4.4.6</version> |
| 108 | + <version>${httpcore.version}</version> |
98 | 109 | </dependency> |
99 | | - |
100 | | - <!--Java 11--> |
101 | 110 | <dependency> |
102 | 111 | <groupId>com.sun.xml.bind</groupId> |
103 | 112 | <artifactId>jaxb-impl</artifactId> |
104 | | - <version>2.3.1</version> |
| 113 | + <version>${jaxb-impl.version}</version> |
105 | 114 | </dependency> |
106 | 115 | <dependency> |
107 | 116 | <groupId>com.sun.xml.bind</groupId> |
108 | 117 | <artifactId>jaxb-xjc</artifactId> |
109 | | - <version>2.3.1</version> |
| 118 | + <version>${jaxb-xjc.version}</version> |
110 | 119 | </dependency> |
111 | 120 | <dependency> |
112 | 121 | <groupId>com.sun.xml.bind</groupId> |
113 | 122 | <artifactId>jaxb-core</artifactId> |
114 | | - <version>2.3.0.1</version> |
| 123 | + <version>${jaxb-core.version}</version> |
115 | 124 | </dependency> |
116 | | - |
117 | 125 | <dependency> |
118 | 126 | <groupId>org.apache.axis2</groupId> |
119 | 127 | <artifactId>axis2-kernel</artifactId> |
120 | | - <version>1.7.5</version> |
| 128 | + <version>${axis2.version}</version> |
121 | 129 | <exclusions> |
122 | 130 | <exclusion> |
123 | | - <artifactId>servlet-api</artifactId> |
124 | 131 | <groupId>javax.servlet</groupId> |
| 132 | + <artifactId>servlet-api</artifactId> |
125 | 133 | </exclusion> |
126 | 134 | <exclusion> |
127 | | - <artifactId>commons-fileupload</artifactId> |
128 | 135 | <groupId>commons-fileupload</groupId> |
| 136 | + <artifactId>commons-fileupload</artifactId> |
129 | 137 | </exclusion> |
130 | 138 | </exclusions> |
131 | 139 | </dependency> |
132 | | - |
133 | 140 | <dependency> |
134 | 141 | <groupId>org.apache.axis2</groupId> |
135 | 142 | <artifactId>axis2-adb</artifactId> |
136 | | - <version>1.7.5</version> |
| 143 | + <version>${axis2.version}</version> |
137 | 144 | </dependency> |
138 | | - |
139 | 145 | <dependency> |
140 | 146 | <groupId>org.apache.axis2</groupId> |
141 | 147 | <artifactId>axis2-jaxws</artifactId> |
142 | | - <version>1.7.5</version> |
| 148 | + <version>${axis2.version}</version> |
143 | 149 | </dependency> |
144 | | - |
145 | 150 | <dependency> |
146 | 151 | <groupId>org.apache.axis2</groupId> |
147 | 152 | <artifactId>axis2-transport-http</artifactId> |
148 | | - <version>1.7.5</version> |
| 153 | + <version>${axis2.version}</version> |
149 | 154 | </dependency> |
150 | | - |
151 | 155 | <dependency> |
152 | 156 | <groupId>org.apache.axis2</groupId> |
153 | 157 | <artifactId>axis2-transport-local</artifactId> |
154 | | - <version>1.7.5</version> |
| 158 | + <version>${axis2.version}</version> |
155 | 159 | </dependency> |
156 | | - |
157 | 160 | <dependency> |
158 | 161 | <groupId>org.apache.ws.commons.axiom</groupId> |
159 | 162 | <artifactId>axiom-api</artifactId> |
160 | | - <version>1.2.20</version> |
| 163 | + <version>${axiom-api.version}</version> |
161 | 164 | </dependency> |
162 | 165 | <dependency> |
163 | 166 | <groupId>org.jmockit</groupId> |
164 | 167 | <artifactId>jmockit</artifactId> |
165 | | - <version>1.46</version> |
| 168 | + <version>${jmockit.version}</version> |
166 | 169 | <scope>test</scope> |
167 | 170 | </dependency> |
168 | 171 | <dependency> |
169 | 172 | <groupId>org.junit.jupiter</groupId> |
170 | 173 | <artifactId>junit-jupiter</artifactId> |
171 | | - <version>5.4.0</version> |
| 174 | + <version>${junit-jupiter.version}</version> |
172 | 175 | <scope>test</scope> |
173 | 176 | </dependency> |
174 | 177 | <dependency> |
175 | 178 | <groupId>org.projectlombok</groupId> |
176 | 179 | <artifactId>lombok</artifactId> |
177 | | - <version>1.18.22</version> |
| 180 | + <version>${lombok.version}</version> |
178 | 181 | <scope>provided</scope> |
179 | 182 | </dependency> |
180 | | - |
181 | 183 | </dependencies> |
182 | 184 |
|
183 | 185 | <build> |
184 | 186 | <plugins> |
185 | 187 | <plugin> |
186 | 188 | <groupId>org.apache.maven.plugins</groupId> |
187 | 189 | <artifactId>maven-compiler-plugin</artifactId> |
188 | | - <version>3.8.0</version> |
| 190 | + <version>${maven-compiler-plugin.version}</version> |
189 | 191 | <configuration> |
190 | 192 | <source>1.8</source> |
191 | 193 | <target>1.8</target> |
|
211 | 213 | <localCheckout>true</localCheckout> |
212 | 214 | </configuration> |
213 | 215 | </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> |
214 | 230 | <plugin> |
215 | 231 | <groupId>org.apache.maven.plugins</groupId> |
216 | 232 | <artifactId>maven-source-plugin</artifactId> |
217 | | - <version>3.2.1</version> |
| 233 | + <version>${maven-source-plugin.version}</version> |
218 | 234 | <executions> |
219 | 235 | <execution> |
220 | 236 | <id>attach-sources</id> |
|
224 | 240 | </execution> |
225 | 241 | </executions> |
226 | 242 | </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> |
227 | 259 | <plugin> |
228 | 260 | <artifactId>maven-surefire-plugin</artifactId> |
229 | | - <version>3.0.0</version> |
| 261 | + <version>${maven-surefire-plugin.version}</version> |
230 | 262 | <configuration> |
231 | 263 | <argLine> |
232 | 264 | -javaagent:src/test/resources/agent.jar |
|
0 commit comments