|
42 | 42 | <dependency> |
43 | 43 | <groupId>commons-logging</groupId> |
44 | 44 | <artifactId>commons-logging</artifactId> |
45 | | - <version>1.1.1</version> |
| 45 | + <version>1.3.3</version> |
46 | 46 | <scope>compile</scope> |
47 | 47 | </dependency> |
48 | | - <dependency> |
| 48 | + <!-- <dependency> |
49 | 49 | <groupId>org.apache.httpcomponents</groupId> |
50 | 50 | <artifactId>httpclient</artifactId> |
51 | 51 | <version>4.5.13</version> |
52 | 52 | <scope>compile</scope> |
53 | | - </dependency> |
54 | | - <dependency> |
| 53 | + </dependency> --> |
| 54 | + <!-- <dependency> |
55 | 55 | <groupId>org.apache.httpcomponents</groupId> |
56 | 56 | <artifactId>httpcore</artifactId> |
57 | 57 | <version>4.4.14</version> |
58 | 58 | <scope>compile</scope> |
| 59 | + </dependency> --> |
| 60 | + <dependency> |
| 61 | + <groupId>org.apache.httpcomponents.client5</groupId> |
| 62 | + <artifactId>httpclient5</artifactId> |
| 63 | + <version>5.3.1</version> |
| 64 | + <scope>compile</scope> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>org.apache.httpcomponents.core5</groupId> |
| 68 | + <artifactId>httpcore5</artifactId> |
| 69 | + <version>5.2.5</version> |
59 | 70 | </dependency> |
60 | 71 | <!-- Log4j Dependencies --> |
61 | 72 | <dependency> |
|
124 | 135 | <plugin> |
125 | 136 | <groupId>org.apache.maven.plugins</groupId> |
126 | 137 | <artifactId>maven-compiler-plugin</artifactId> |
127 | | - <version>2.0.2</version> |
| 138 | + <version>3.13.0</version> |
128 | 139 | <configuration> |
129 | | - <source>1.5</source> |
130 | | - <target>1.5</target> |
| 140 | + <source>1.8</source> |
| 141 | + <target>1.8</target> |
131 | 142 | </configuration> |
132 | 143 | </plugin> |
133 | 144 | <plugin> |
134 | 145 | <groupId>org.codehaus.mojo</groupId> |
135 | 146 | <artifactId>properties-maven-plugin</artifactId> |
136 | | - <version>1.0-alpha-2</version> |
| 147 | + <version>1.2.1</version> |
137 | 148 | <!-- <executions> <execution> <phase>initialize</phase> <goals> <goal>read-project-properties</goal> |
138 | 149 | </goals> <configuration> <files> <file>${user.home}/anet-java-sdk.properties</file> |
139 | 150 | </files> </configuration> </execution> </executions> --> |
140 | 151 | </plugin> |
141 | 152 | <plugin> |
142 | 153 | <groupId>org.apache.maven.plugins</groupId> |
143 | 154 | <artifactId>maven-surefire-plugin</artifactId> |
144 | | - <version>2.9</version> |
| 155 | + <version>2.12</version> |
145 | 156 | <configuration> |
146 | 157 | <includes> |
147 | 158 | <include> **/mocktest/**.java</include> |
148 | 159 | </includes> |
149 | 160 | <skipTests>false</skipTests> |
150 | | - <forkCount>1</forkCount> |
151 | 161 | <systemPropertyVariables> |
| 162 | + <!--suppress UnresolvedMavenProperty --> |
152 | 163 | <API_LOGIN_ID>${api.login.id}</API_LOGIN_ID> |
| 164 | + <!--suppress UnresolvedMavenProperty --> |
153 | 165 | <TRANSACTION_KEY>${transaction.key}</TRANSACTION_KEY> |
154 | 166 | </systemPropertyVariables> |
155 | 167 | <environmentVariables> |
|
0 commit comments