■ ■ ■ ■ ■ ■
src/main/java/io/onedev/plugin/maven/PopulateResourcesMojo.java
| skipped 269 lines |
270 | 270 | | } |
271 | 271 | | } |
272 | 272 | | File bootDir = new File(sandboxDir, "boot"); |
| 273 | + | |
| 274 | + | Set<String> bootstrapKeys = new HashSet<String>(); |
| 275 | + | |
| 276 | + | for (Artifact bootstrapArtifact: PluginUtils.getBootstrapArtifacts(project, repoSystem, repoSession, remoteRepos)) |
| 277 | + | bootstrapKeys.add(PluginUtils.getArtifactKey(bootstrapArtifact)); |
| 278 | + | |
| 279 | + | PluginUtils.writeObject(new File(bootDir, PluginConstants.BOOTSTRAP_KEYS), bootstrapKeys); |
| 280 | + | |
273 | 281 | | PluginUtils.writeClasspath(new File(bootDir, PluginConstants.SYSTEM_CLASSPATH), project, |
274 | 282 | | repoSystem, repoSession, remoteRepos); |
275 | 283 | | break; |
| skipped 9 lines |