|
57 | 57 | </dependency> |
58 | 58 | </dependencies> |
59 | 59 | <build> |
60 | | - <pluginManagement> |
61 | | - <plugins> |
62 | | - <plugin> |
63 | | - <groupId>org.apache.maven.plugins</groupId> |
64 | | - <artifactId>maven-enforcer-plugin</artifactId> |
65 | | - <version>3.3.0</version> |
66 | | - </plugin> |
67 | | - <plugin> |
68 | | - <groupId>org.apache.maven.plugins</groupId> |
69 | | - <artifactId>maven-clean-plugin</artifactId> |
70 | | - <version>2.5</version> |
71 | | - </plugin> |
72 | | - <plugin> |
73 | | - <groupId>org.apache.maven.plugins</groupId> |
74 | | - <artifactId>maven-install-plugin</artifactId> |
75 | | - <version>2.5.1</version> |
76 | | - </plugin> |
77 | | - <plugin> |
78 | | - <groupId>org.apache.maven.plugins</groupId> |
79 | | - <artifactId>maven-site-plugin</artifactId> |
80 | | - <version>3.3</version> |
81 | | - </plugin> |
82 | | - <plugin> |
83 | | - <groupId>org.apache.maven.plugins</groupId> |
84 | | - <artifactId>maven-resources-plugin</artifactId> |
85 | | - <version>2.6</version> |
86 | | - </plugin> |
87 | | - <plugin> |
88 | | - <groupId>org.apache.maven.plugins</groupId> |
89 | | - <artifactId>maven-deploy-plugin</artifactId> |
90 | | - <version>2.8.1</version> |
91 | | - </plugin> |
92 | | - </plugins> |
93 | | - </pluginManagement> |
94 | 60 | <plugins> |
95 | | - <plugin> |
96 | | - <groupId>org.apache.maven.plugins</groupId> |
97 | | - <artifactId>maven-enforcer-plugin</artifactId> |
98 | | - <executions> |
99 | | - <execution> |
100 | | - <id>require-all-plugin-versions-to-be-set</id> |
101 | | - <phase>validate</phase> |
102 | | - <goals> |
103 | | - <goal>enforce</goal> |
104 | | - </goals> |
105 | | - <configuration> |
106 | | - <rules> |
107 | | - <requirePluginVersions /> |
108 | | - </rules> |
109 | | - </configuration> |
110 | | - </execution> |
111 | | - </executions> |
112 | | - </plugin> |
113 | 61 | <!-- Compile-time configuration --> |
114 | 62 | <plugin> |
115 | 63 | <groupId>org.apache.maven.plugins</groupId> |
|
162 | 110 | </argLine> |
163 | 111 | </configuration> |
164 | 112 | </plugin> |
165 | | - <!-- Copy dependencies to dist --> |
166 | | - <plugin> |
167 | | - <groupId>org.apache.maven.plugins</groupId> |
168 | | - <artifactId>maven-dependency-plugin</artifactId> |
169 | | - <version>3.1.1</version> |
170 | | - <executions> |
171 | | - <execution> |
172 | | - <id>copy-dependencies</id> |
173 | | - <phase>package</phase> |
174 | | - <goals> |
175 | | - <goal>copy-dependencies</goal> |
176 | | - </goals> |
177 | | - <configuration> |
178 | | - <includeScope>runtime</includeScope> |
179 | | - <outputDirectory>${project.basedir}/dist/classpath</outputDirectory> |
180 | | - <overWriteReleases>false</overWriteReleases> |
181 | | - <overWriteSnapshots>false</overWriteSnapshots> |
182 | | - <overWriteIfNewer>true</overWriteIfNewer> |
183 | | - </configuration> |
184 | | - </execution> |
185 | | - </executions> |
186 | | - </plugin> |
187 | | - <!-- Copy output jar to dist --> |
188 | | - <plugin> |
189 | | - <groupId>org.apache.maven.plugins</groupId> |
190 | | - <artifactId>maven-jar-plugin</artifactId> |
191 | | - <version>2.3.1</version> |
192 | | - <configuration> |
193 | | - <outputDirectory>${project.basedir}/dist/classpath</outputDirectory> |
194 | | - <finalName>java-language-server</finalName> |
195 | | - </configuration> |
196 | | - </plugin> |
197 | 113 | </plugins> |
198 | 114 | </build> |
199 | 115 | </project> |
0 commit comments