File tree Expand file tree Collapse file tree 9 files changed +82
-29
lines changed
google-http-client-apache-v2
google-http-client-appengine
google-http-client-findbugs
google-http-client-jackson2 Expand file tree Collapse file tree 9 files changed +82
-29
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # Copyright 2019 Google LLC
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ set -eo pipefail
17
+
18
+ cd github/google-http-java-client/
19
+
20
+ # Print out Java
21
+ java -version
22
+ echo $JOB_TYPE
23
+
24
+ export MAVEN_OPTS=" -Xmx1024m -XX:MaxPermSize=128m"
25
+
26
+ mvn install -DskipTests=true -B -V
27
+ mvn -B dependency:analyze -DfailOnWarning=true
Original file line number Diff line number Diff line change
1
+ # Format: //devtools/kokoro/config/proto/build.proto
2
+
3
+ # Configure the docker image for kokoro-trampoline.
4
+ env_vars: {
5
+ key: " TRAMPOLINE_IMAGE"
6
+ value: " gcr.io/cloud-devrel-kokoro-resources/java8"
7
+ }
8
+
9
+ env_vars: {
10
+ key: " TRAMPOLINE_BUILD_FILE"
11
+ value: " github/google-http-java-client/.kokoro/dependencies.sh"
12
+ }
Original file line number Diff line number Diff line change 18
18
<configuration >
19
19
<links >
20
20
<link >https://download.oracle.com/javase/7/docs/api/</link >
21
- <link >https://jar-download.com/artifacts/org.codehaus.jackson/jackson-core-asl/${project.jackson-core-asl.version} /documentation</link >
22
21
</links >
23
22
<doctitle >${project.name} ${project.version} </doctitle >
24
23
<windowtitle >${project.artifactId} ${project.version} </windowtitle >
87
86
<groupId >com.google.http-client</groupId >
88
87
<artifactId >google-http-client</artifactId >
89
88
</dependency >
90
- <dependency >
91
- <groupId >com.google.http-client</groupId >
92
- <artifactId >google-http-client-test</artifactId >
93
- <scope >test</scope >
94
- </dependency >
95
89
<dependency >
96
90
<groupId >junit</groupId >
97
91
<artifactId >junit</artifactId >
98
92
<scope >test</scope >
99
93
</dependency >
100
94
<dependency >
101
- <groupId >com.google.guava</groupId >
102
- <artifactId >guava</artifactId >
103
- <scope >test</scope >
95
+ <groupId >org.apache.httpcomponents</groupId >
96
+ <artifactId >httpclient</artifactId >
104
97
</dependency >
105
98
<dependency >
106
99
<groupId >org.apache.httpcomponents</groupId >
107
- <artifactId >httpclient </artifactId >
100
+ <artifactId >httpcore </artifactId >
108
101
</dependency >
109
102
<dependency >
110
103
<groupId >org.mockito</groupId >
Original file line number Diff line number Diff line change 48
48
</signature >
49
49
</configuration >
50
50
</plugin >
51
+ <plugin >
52
+ <groupId >org.apache.maven.plugins</groupId >
53
+ <artifactId >maven-dependency-plugin</artifactId >
54
+ <configuration >
55
+ <!-- This artifact is needed by appengine-testing, but is not declared as a dependency -->
56
+ <ignoredUnusedDeclaredDependencies >com.google.appengine:appengine-api-stubs</ignoredUnusedDeclaredDependencies >
57
+ </configuration >
58
+ </plugin >
51
59
</plugins >
52
60
</build >
53
61
<dependencies >
80
88
<artifactId >junit</artifactId >
81
89
<scope >test</scope >
82
90
</dependency >
83
- <dependency >
84
- <groupId >com.google.guava</groupId >
85
- <artifactId >guava</artifactId >
86
- <scope >test</scope >
87
- </dependency >
88
91
</dependencies >
89
92
</project >
Original file line number Diff line number Diff line change 32
32
<skip >true</skip >
33
33
</configuration >
34
34
</plugin >
35
+ <plugin >
36
+ <groupId >org.apache.maven.plugins</groupId >
37
+ <artifactId >maven-dependency-plugin</artifactId >
38
+ <configuration >
39
+ <!-- This is needed for Javadoc linking, but is not used in the compiled bytecode -->
40
+ <ignoredUnusedDeclaredDependencies >com.google.http-client:google-http-client</ignoredUnusedDeclaredDependencies >
41
+ </configuration >
42
+ </plugin >
35
43
</plugins >
36
44
</build >
37
45
<dependencies >
38
- <dependency >
39
- <groupId >com.google.http-client</groupId >
40
- <artifactId >google-http-client</artifactId >
41
- </dependency >
42
46
<dependency >
43
47
<groupId >com.google.code.findbugs</groupId >
44
48
<artifactId >findbugs</artifactId >
58
62
</exclusion >
59
63
</exclusions >
60
64
</dependency >
65
+ <dependency >
66
+ <groupId >com.google.code.findbugs</groupId >
67
+ <artifactId >bcel-findbugs</artifactId >
68
+ <version >6.0</version >
69
+ </dependency >
70
+ <dependency >
71
+ <groupId >com.google.http-client</groupId >
72
+ <artifactId >google-http-client</artifactId >
73
+ </dependency >
61
74
</dependencies >
62
75
</project >
Original file line number Diff line number Diff line change 67
67
<artifactId >google-http-client-test</artifactId >
68
68
<scope >test</scope >
69
69
</dependency >
70
- <dependency >
71
- <groupId >junit</groupId >
72
- <artifactId >junit</artifactId >
73
- <scope >test</scope >
74
- </dependency >
75
70
<dependency >
76
71
<groupId >com.google.code.gson</groupId >
77
72
<artifactId >gson</artifactId >
Original file line number Diff line number Diff line change 67
67
<artifactId >google-http-client-test</artifactId >
68
68
<scope >test</scope >
69
69
</dependency >
70
- <dependency >
71
- <groupId >junit</groupId >
72
- <artifactId >junit</artifactId >
73
- <scope >test</scope >
74
- </dependency >
75
70
<dependency >
76
71
<groupId >com.fasterxml.jackson.core</groupId >
77
72
<artifactId >jackson-core</artifactId >
Original file line number Diff line number Diff line change 72
72
<groupId >org.apache.httpcomponents</groupId >
73
73
<artifactId >httpclient</artifactId >
74
74
</dependency >
75
+ <dependency >
76
+ <groupId >org.apache.httpcomponents</groupId >
77
+ <artifactId >httpcore</artifactId >
78
+ </dependency >
75
79
<dependency >
76
80
<groupId >com.google.code.findbugs</groupId >
77
81
<artifactId >jsr305</artifactId >
Original file line number Diff line number Diff line change 147
147
<artifactId >httpclient</artifactId >
148
148
<version >${project.httpclient.version} </version >
149
149
</dependency >
150
+ <dependency >
151
+ <groupId >org.apache.httpcomponents</groupId >
152
+ <artifactId >httpcore</artifactId >
153
+ <version >${project.httpcore.version} </version >
154
+ </dependency >
150
155
<dependency >
151
156
<groupId >com.google.guava</groupId >
152
157
<artifactId >guava</artifactId >
357
362
<artifactId >maven-site-plugin</artifactId >
358
363
<version >3.7.1</version >
359
364
</plugin >
365
+ <plugin >
366
+ <groupId >org.apache.maven.plugins</groupId >
367
+ <artifactId >maven-dependency-plugin</artifactId >
368
+ <version >3.1.1</version >
369
+ </plugin >
360
370
</plugins >
361
371
</pluginManagement >
362
372
<plugins >
552
562
<project .xpp3.version>1.1.4c</project .xpp3.version>
553
563
<project .commons-logging.version>1.2</project .commons-logging.version>
554
564
<project .httpclient.version>4.5.9</project .httpclient.version>
565
+ <project .httpcore.version>4.4.11</project .httpcore.version>
555
566
<project .opencensus.version>0.21.0</project .opencensus.version>
556
567
<project .root-directory>..</project .root-directory>
557
568
<deploy .autorelease>false</deploy .autorelease>
You can’t perform that action at this time.
0 commit comments