|
31 | 31 | <plugin> |
32 | 32 | <groupId>org.apache.maven.plugins</groupId> |
33 | 33 | <artifactId>maven-scm-plugin</artifactId> |
34 | | - <version>2.0.0-M2</version> |
| 34 | + <version>1.13.0</version> |
35 | 35 | <executions> |
36 | 36 | <execution> |
37 | 37 | <id>fetch-eslint-ls-package.json</id> |
38 | 38 | <goals> |
39 | 39 | <goal>checkout</goal> |
40 | 40 | </goals> |
41 | | - <phase>generate-resources</phase> |
| 41 | + <phase>process-sources</phase> |
42 | 42 | <configuration> |
43 | 43 | <connectionUrl>scm:git:https://github.com/microsoft/vscode-eslint.git</connectionUrl> |
44 | 44 | <scmVersionType>tag</scmVersionType> |
45 | 45 | <scmVersion>release/2.2.2</scmVersion> |
46 | 46 | <basedir>${project.build.directory}</basedir> |
47 | | - <includes>server/package.json</includes> |
48 | | - <checkoutDirectory>${project.build.directory}/vscode-eslint-ls/extension</checkoutDirectory> |
| 47 | + <checkoutDirectory>${project.build.directory}/vscode-eslint-ls-package-json/extension</checkoutDirectory> |
49 | 48 | </configuration> |
50 | 49 | </execution> |
51 | 50 | </executions> |
|
107 | 106 | </execution> |
108 | 107 | </executions> |
109 | 108 | </plugin> |
| 109 | + <plugin> |
| 110 | + <artifactId>maven-resources-plugin</artifactId> |
| 111 | + <version>3.0.2</version> |
| 112 | + <executions> |
| 113 | + <execution> |
| 114 | + <id>install-eslint-ls-package.json</id> |
| 115 | + <phase>process-resources</phase> |
| 116 | + <goals> |
| 117 | + <goal>copy-resources</goal> |
| 118 | + </goals> |
| 119 | + <configuration> |
| 120 | + <outputDirectory>${project.build.directory}/vscode-eslint-ls/extension/server</outputDirectory> |
| 121 | + <resources> |
| 122 | + <resource> |
| 123 | + <directory>${project.build.directory}/vscode-eslint-ls-package-json/extension/server</directory> |
| 124 | + <includes> |
| 125 | + <include>package.json</include> |
| 126 | + </includes> |
| 127 | + </resource> |
| 128 | + </resources> |
| 129 | + </configuration> |
| 130 | + </execution> |
| 131 | + </executions> |
| 132 | + </plugin> |
110 | 133 | <plugin> |
111 | 134 | <groupId>org.apache.maven.plugins</groupId> |
112 | 135 | <artifactId>maven-antrun-plugin</artifactId> |
113 | 136 | <version>3.1.0</version> |
114 | 137 | <executions> |
115 | 138 | <execution> |
116 | 139 | <id>prepare-chrome-debug-adapter</id> |
117 | | - <phase>generate-resources</phase> |
| 140 | + <phase>process-resources</phase> |
118 | 141 | <goals> |
119 | 142 | <goal>run</goal> |
120 | 143 | </goals> |
|
127 | 150 | </execution> |
128 | 151 | <execution> |
129 | 152 | <id>prepare-node-debug2</id> |
130 | | - <phase>generate-resources</phase> |
| 153 | + <phase>process-resources</phase> |
131 | 154 | <goals> |
132 | 155 | <goal>run</goal> |
133 | 156 | </goals> |
|
150 | 173 | <goals> |
151 | 174 | <goal>exec</goal> |
152 | 175 | </goals> |
153 | | - <phase>generate-resources</phase> |
| 176 | + <phase>compile</phase> |
154 | 177 | <configuration> |
155 | 178 | <executable>npm</executable> |
156 | 179 | <arguments> |
|
172 | 195 | <goals> |
173 | 196 | <goal>exec</goal> |
174 | 197 | </goals> |
175 | | - <phase>generate-resources</phase> |
| 198 | + <phase>compile</phase> |
176 | 199 | <configuration> |
177 | 200 | <executable>npm</executable> |
178 | 201 | <arguments> |
|
0 commit comments