File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1
- distributionUrl =https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.2.5/apache-maven-3.2.5-bin.zip
1
+ # for gh-311 (modify url of maven central to http from https)
2
+ distributionUrl =http://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.2.5/apache-maven-3.2.5-bin.zip
Original file line number Diff line number Diff line change 13
13
- openjdk7
14
14
- openjdk6
15
15
16
+ before_install :
17
+ # for gh-311 (modify to use the TLSv1.2 on Java 7)
18
+ - export _JAVA_OPTIONS=-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2
19
+
16
20
after_success :
17
21
- chmod -R 777 ./travis/after_success.sh
18
22
- ./travis/after_success.sh
Original file line number Diff line number Diff line change 336
336
</plugin >
337
337
</plugins >
338
338
</build >
339
+ <!-- for gh-311 (modify url of maven central to http from https) -->
340
+ <repositories >
341
+ <repository >
342
+ <snapshots >
343
+ <enabled >false</enabled >
344
+ </snapshots >
345
+ <id >central</id >
346
+ <name >Central Repository</name >
347
+ <url >http://repo1.maven.org/maven2/</url >
348
+ </repository >
349
+ </repositories >
350
+ <pluginRepositories >
351
+ <pluginRepository >
352
+ <releases >
353
+ <updatePolicy >never</updatePolicy >
354
+ </releases >
355
+ <snapshots >
356
+ <enabled >false</enabled >
357
+ </snapshots >
358
+ <id >central</id >
359
+ <name >Central Repository</name >
360
+ <url >http://repo1.maven.org/maven2/</url >
361
+ </pluginRepository >
362
+ </pluginRepositories >
339
363
</profile >
340
364
</profiles >
341
365
You can’t perform that action at this time.
0 commit comments