File tree Expand file tree Collapse file tree 5 files changed +33
-62
lines changed
google-http-client-protobuf Expand file tree Collapse file tree 5 files changed +33
-62
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,19 +5,7 @@ language: java
5
5
notifications :
6
6
email : false
7
7
8
- env :
9
- global :
10
- - PROTO_VERSION=2.4.1
11
- - PATH="/tmp/proto$PROTO_VERSION/bin:$PATH"
12
-
13
8
jdk :
14
9
- oraclejdk8
15
10
- openjdk7
16
11
- openjdk6
17
-
18
- before_install :
19
- - .buildscript/build-proto.sh $PROTO_VERSION
20
-
21
- cache :
22
- directories :
23
- - /tmp/proto$PROTO_VERSION
Original file line number Diff line number Diff line change 11
11
<name >Protocol Buffer extensions to the Google HTTP Client Library for Java.</name >
12
12
13
13
<build >
14
+ <extensions >
15
+ <extension >
16
+ <groupId >kr.motd.maven</groupId >
17
+ <artifactId >os-maven-plugin</artifactId >
18
+ <version >1.4.0.Final</version >
19
+ </extension >
20
+ </extensions >
14
21
<plugins >
15
22
<plugin >
16
23
<artifactId >maven-javadoc-plugin</artifactId >
35
42
</executions >
36
43
</plugin >
37
44
<plugin >
38
- <artifactId >maven-antrun-plugin</artifactId >
39
- <executions >
40
- <execution >
41
- <id >generate-sources</id >
42
- <phase >generate-sources</phase >
43
- <configuration >
44
- <target >
45
- <mkdir dir =" target/generated-test-sources" />
46
- <exec failonerror =" true" executable =" protoc" >
47
- <arg value =" --java_out=target/generated-test-sources" />
48
- <arg value =" src/test/java/com/google/api/client/protobuf/simple_proto.proto" />
49
- </exec >
50
- </target >
51
- </configuration >
52
- <goals >
53
- <goal >run</goal >
54
- </goals >
55
- </execution >
56
- </executions >
57
- </plugin >
58
- <plugin >
59
- <groupId >org.codehaus.mojo</groupId >
60
- <artifactId >build-helper-maven-plugin</artifactId >
61
- <version >1.5</version >
45
+ <groupId >com.google.protobuf.tools</groupId >
46
+ <artifactId >maven-protoc-plugin</artifactId >
47
+ <version >0.4.2</version >
48
+ <configuration >
49
+ <protocArtifact >com.google.protobuf:protoc:${project.protobuf-java.version} -build2:exe:${os.detected.classifier} </protocArtifact >
50
+ </configuration >
62
51
<executions >
63
52
<execution >
64
- <id >add-test-source</id >
65
- <phase >generate-test-sources</phase >
66
53
<goals >
67
- <goal >add- test-source </goal >
54
+ <goal >test-compile </goal >
68
55
</goals >
69
- <configuration >
70
- <sources >
71
- <source >target/generated-test-sources</source >
72
- </sources >
73
- </configuration >
74
56
</execution >
75
57
</executions >
76
58
</plugin >
File renamed without changes.
Original file line number Diff line number Diff line change 88
88
<module >samples/googleplus-simple-cmdline-sample</module >
89
89
</modules >
90
90
91
+ <pluginRepositories >
92
+ <pluginRepository >
93
+ <releases >
94
+ <updatePolicy >never</updatePolicy >
95
+ </releases >
96
+ <snapshots >
97
+ <enabled >false</enabled >
98
+ </snapshots >
99
+ <id >central</id >
100
+ <name >Central Repository</name >
101
+ <url >https://repo.maven.apache.org/maven2</url >
102
+ </pluginRepository >
103
+ <pluginRepository >
104
+ <id >protoc-plugin</id >
105
+ <url >https://dl.bintray.com/sergei-ivanov/maven/</url >
106
+ </pluginRepository >
107
+ </pluginRepositories >
108
+
91
109
<!--
92
110
If you change the version of a dependency, make sure to update the javadoc
93
111
links if required, and any javadoc links of your dependency in the oauth and
590
608
<project .gson.version>2.1</project .gson.version>
591
609
<project .jackson-core-asl.version>1.9.11</project .jackson-core-asl.version>
592
610
<project .jackson-core2.version>2.1.3</project .jackson-core2.version>
593
- <project .protobuf-java.version>2.4 .1</project .protobuf-java.version>
611
+ <project .protobuf-java.version>2.6 .1</project .protobuf-java.version>
594
612
<project .guava.version>17.0</project .guava.version>
595
613
<project .xpp3.version>1.1.4c</project .xpp3.version>
596
614
<project .commons-logging.version>1.1.1</project .commons-logging.version>
You can’t perform that action at this time.
0 commit comments