Merge pull request #267433 from raboof/maven-buildMavenPackage-improved-offline
maven: improve buildMavenPackage offline mode
This commit is contained in:
commit
3ff7fb4d94
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ maven.buildMavenPackage rec {
|
||||||
"org.junit.platform:junit-platform-launcher:1.10.0"
|
"org.junit.platform:junit-platform-launcher:1.10.0"
|
||||||
];
|
];
|
||||||
|
|
||||||
mvnHash = "sha256-sIiCp1AorVQXt13Tq0vw9jGioG3zcQMqqKS/Q0Tf4MQ=";
|
mvnHash = "sha256-LSnClLdAuqSyyT7O4f4aVaPBxdkkZQz60wTmqwQuzdU=";
|
||||||
|
|
||||||
buildOffline = true;
|
buildOffline = true;
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ let
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
'' + lib.optionalString buildOffline ''
|
'' + lib.optionalString buildOffline ''
|
||||||
mvn dependency:go-offline -Dmaven.repo.local=$out/.m2 ${mvnDepsParameters}
|
mvn de.qaware.maven:go-offline-maven-plugin:1.2.8:resolve-dependencies -Dmaven.repo.local=$out/.m2 ${mvnDepsParameters}
|
||||||
|
|
||||||
for artifactId in ${builtins.toString manualMvnArtifacts}
|
for artifactId in ${builtins.toString manualMvnArtifacts}
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in a new issue