1
1
<!--
2
- Copyright 2016 Google Inc. All Rights Reserved.
2
+ Copyright 2016 Google Inc. All Rights Reserved.
3
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
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
7
8
8
http://www.apache.org/licenses/LICENSE-2.0
9
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.
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
15
-->
16
16
<project >
17
17
<modelVersion >4.0.0</modelVersion >
@@ -20,6 +20,22 @@ Copyright 2016 Google Inc. All Rights Reserved.
20
20
<groupId >com.example.compute</groupId >
21
21
<artifactId >compute-error-reporting</artifactId >
22
22
23
+ <!-- TODO: Use common parent after fixing checkstyle errors.
24
+ https://github.com/GoogleCloudPlatform/java-docs-samples/issues/298
25
+ <parent>
26
+ <artifactId>doc-samples</artifactId>
27
+ <groupId>com.google.cloud</groupId>
28
+ <version>1.0.0</version>
29
+ <relativePath>../..</relativePath>
30
+ </parent>
31
+ -->
32
+
33
+ <properties >
34
+ <maven .compiler.target>1.8</maven .compiler.target>
35
+ <maven .compiler.source>1.8</maven .compiler.source>
36
+ <maven-assembly-plugin-version >2.6</maven-assembly-plugin-version >
37
+ </properties >
38
+
23
39
<dependencies >
24
40
<!-- [START dependencies] -->
25
41
<dependency >
@@ -33,6 +49,7 @@ Copyright 2016 Google Inc. All Rights Reserved.
33
49
<plugins >
34
50
<plugin >
35
51
<artifactId >maven-assembly-plugin</artifactId >
52
+ <version >${maven-assembly-plugin-version} </version >
36
53
<executions >
37
54
<execution >
38
55
<phase >package</phase >
@@ -52,15 +69,6 @@ Copyright 2016 Google Inc. All Rights Reserved.
52
69
</descriptorRefs >
53
70
</configuration >
54
71
</plugin >
55
- <plugin >
56
- <groupId >org.apache.maven.plugins</groupId >
57
- <version >3.3</version >
58
- <artifactId >maven-compiler-plugin</artifactId >
59
- <configuration >
60
- <source >1.8</source >
61
- <target >1.8</target >
62
- </configuration >
63
- </plugin >
64
72
</plugins >
65
73
</build >
66
74
</project >
0 commit comments