quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.64k stars 2.64k forks source link

Missing jar artifact when downloading dependencies for offline development #41460

Closed nyko29 closed 2 months ago

nyko29 commented 3 months ago

Describe the bug

I have a project that needs to be built in an offline environment. From a computer having internet i download all artifact with:

mvn quarkus:go-offline

After the transfer of my .m2 on the offline environment I am able to build my project (mvn clean install). But when i want to launch it in dev mode, it fails requesting additional artifact.

(for instance maven-resolver-transport-http-1.9.20.jar) --> the pom has well been downloaded but not the jar.

Expected behavior

Be able to use dev mode in offline mode with all artifacts

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

3.12.0

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

geoand commented 3 months ago

cc @aloubyansky

aloubyansky commented 3 months ago

I just tried it and it was downloaded

Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/resolver/maven-resolver-transport-http/1.9.20/maven-resolver-transport-http-1.9.20.pom
Progress (1): 5.6 kB^M                    ^MDownloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/resolver/maven-resolver-transport-http/1.9.20/maven-resolver-transport-http-1.9.20.pom (5.6 kB at 194 kB/s)

To reproduce I created a basic REST app and ran mvn quarkus:go-offline -Dmaven.repo.local=temp-repo-dir

@nyko29 do you have any more details or instructions to reproduce the issue?

geoand commented 2 months ago

Closing for a lack of feedback.