File tree Expand file tree Collapse file tree 2 files changed +9
-15
lines changed Expand file tree Collapse file tree 2 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 22 "name" : " nx-maven-plugin" ,
33 "$schema" : " ../../node_modules/nx/schemas/project-schema.json" ,
44 "sourceRoot" : " packages/maven/maven-plugin" ,
5- "projectType" : " library"
5+ "projectType" : " library" ,
6+ "targets" : {
7+ "mvn-install-with-retries" : {
8+ "command" : " for i in {1..5}; do npx nx run nx-maven-plugin:mvn-install && break || sleep 10; done"
9+ }
10+ }
611}
Original file line number Diff line number Diff line change 77 "nx-release-publish" : {
88 "dependsOn" : [
99 " ^nx-release-publish" ,
10- {
11- "projects" : [" nx-maven-plugin" ],
12- "target" : " mvn-install" ,
13- "params" : " ignore"
14- }
10+ " nx-maven-plugin:mvn-install-with-retries"
1511 ],
1612 "executor" : " @nx/js:release-publish" ,
1713 "options" : {
6056 },
6157 "mvn-process-resources" : {
6258 "dependsOn" : [
63- {
64- "target" : " mvn-install" ,
65- "dependencies" : true ,
66- "params" : " ignore"
67- },
68- {
69- "target" : " mvn-generate-resources" ,
70- "params" : " ignore"
71- }
59+ " nx-maven-plugin:mvn-install-with-retries" ,
60+ " nx-maven-plugin:mvn-generate-resources"
7261 ]
7362 }
7463 },
You can’t perform that action at this time.
0 commit comments