|
14 | 14 | ~ limitations under the License. |
15 | 15 | --> |
16 | 16 |
|
17 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 17 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 18 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
18 | 19 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
19 | 20 | <modelVersion>4.0.0</modelVersion> |
20 | | - <parent> |
21 | | - <groupId>com.google.googlejavaformat</groupId> |
22 | | - <artifactId>google-java-format-parent</artifactId> |
23 | | - <version>1.6</version> |
24 | | - </parent> |
25 | 21 |
|
| 22 | + <groupId>com.google.googlejavaformat</groupId> |
26 | 23 | <artifactId>google-java-format-eclipse-plugin</artifactId> |
27 | | - <version>1.6.0</version> |
28 | 24 | <packaging>eclipse-plugin</packaging> |
29 | | - <name>google-java-format Plugin for Eclipse 4.5+</name> |
| 25 | + <version>1.9.0</version> |
| 26 | + |
| 27 | + <name>Google Java Format Plugin for Eclipse 4.5+</name> |
30 | 28 |
|
31 | 29 | <description> |
32 | | - A Java source code formatter that follows Google Java Style. |
| 30 | + A Java source code formatter plugin for Eclipse that follows Google Java Style. |
33 | 31 | </description> |
34 | 32 |
|
35 | 33 | <properties> |
36 | | - <tycho-version>0.26.0</tycho-version> |
| 34 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 35 | + |
| 36 | + <tycho-version>1.7.0</tycho-version> |
| 37 | + |
| 38 | + <!-- specific library versions; must match declarations in build.properties and META-INF/MANIFEST.MF --> |
| 39 | + <google-java-format.version>1.9</google-java-format.version> |
| 40 | + <guava.version>28.1-jre</guava.version> |
37 | 41 | </properties> |
38 | 42 |
|
| 43 | + <dependencies> |
| 44 | + <dependency> |
| 45 | + <groupId>com.google.googlejavaformat</groupId> |
| 46 | + <artifactId>google-java-format</artifactId> |
| 47 | + <version>${google-java-format.version}</version> |
| 48 | + <type>jar</type> |
| 49 | + </dependency> |
| 50 | + <dependency> |
| 51 | + <groupId>com.google.guava</groupId> |
| 52 | + <artifactId>guava</artifactId> |
| 53 | + <version>${guava.version}</version> |
| 54 | + <type>jar</type> |
| 55 | + </dependency> |
| 56 | + </dependencies> |
| 57 | + |
39 | 58 | <repositories> |
40 | 59 | <repository> |
41 | 60 | <id>mars</id> |
|
44 | 63 | </repository> |
45 | 64 | </repositories> |
46 | 65 |
|
47 | | - <dependencies> |
48 | | - <dependency> |
49 | | - <groupId>com.google.googlejavaformat</groupId> |
50 | | - <artifactId>google-java-format</artifactId> |
51 | | - <version>1.6</version> |
52 | | - </dependency> |
53 | | - </dependencies> |
54 | | - |
55 | 66 | <build> |
56 | 67 | <plugins> |
| 68 | + <plugin> |
| 69 | + <groupId>org.apache.maven.plugins</groupId> |
| 70 | + <artifactId>maven-dependency-plugin</artifactId> |
| 71 | + <version>3.1.2</version> |
| 72 | + <executions> |
| 73 | + <execution> |
| 74 | + <id>copy-dependencies</id> |
| 75 | + <phase>initialize</phase> |
| 76 | + <goals> |
| 77 | + <goal>copy-dependencies</goal> |
| 78 | + </goals> |
| 79 | + </execution> |
| 80 | + </executions> |
| 81 | + <configuration> |
| 82 | + <outputDirectory>lib</outputDirectory> |
| 83 | + <includeScope>runtime</includeScope> |
| 84 | + <excludeTransitive>true</excludeTransitive> |
| 85 | + <overWriteSnapshots>true</overWriteSnapshots> |
| 86 | + </configuration> |
| 87 | + </plugin> |
57 | 88 |
|
58 | 89 | <plugin> |
59 | 90 | <groupId>org.eclipse.tycho</groupId> |
60 | 91 | <artifactId>tycho-maven-plugin</artifactId> |
61 | 92 | <version>${tycho-version}</version> |
62 | 93 | <extensions>true</extensions> |
63 | 94 | </plugin> |
64 | | - |
65 | 95 | <plugin> |
66 | 96 | <groupId>org.eclipse.tycho</groupId> |
67 | 97 | <artifactId>target-platform-configuration</artifactId> |
|
97 | 127 | </configuration> |
98 | 128 | </plugin> |
99 | 129 |
|
| 130 | + <plugin> |
| 131 | + <groupId>org.apache.maven.plugins</groupId> |
| 132 | + <artifactId>maven-compiler-plugin</artifactId> |
| 133 | + <version>3.7.0</version> |
| 134 | + <configuration> |
| 135 | + <source>11</source> |
| 136 | + <target>11</target> |
| 137 | + </configuration> |
| 138 | + </plugin> |
100 | 139 | </plugins> |
101 | 140 | </build> |
102 | | - |
103 | 141 | </project> |
0 commit comments