You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "squakez (via GitHub)" <gi...@apache.org> on 2023/08/08 14:52:23 UTC

[GitHub] [camel-k] squakez commented on issue #4118: Camel K could go offline

squakez commented on issue #4118:
URL: https://github.com/apache/camel-k/issues/4118#issuecomment-1669775422

   I'm trying to refine the experiment script mentioned in the issue description, but I'm hitting the Maven issue https://issues.apache.org/jira/browse/MDEP-82 when we try to run the integration:
   
   I'm using a base Camel K runtime project in order to try to go offline, but the maven procedure is not really getting all the dependencies expected:
   ```
   $ mvn org.apache.maven.plugins:maven-dependency-plugin:2.8:go-offline -Dmaven.repo.local=repo
   ...
   
   $ mvn verify -o -Dmaven.repo.local=repo
   [INFO] Scanning for projects...
   [INFO] 
   [INFO] ---------< org.apache.camel.k.integration:camel-k-integration >---------
   [INFO] Building camel-k-integration 2.0.0
   [INFO] --------------------------------[ jar ]---------------------------------
   [INFO] 
   [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ camel-k-integration ---
   [WARNING] The POM for org.codehaus.plexus:plexus-interpolation:jar:1.26 is missing, no dependency information available
   [WARNING] The POM for org.apache.maven.shared:maven-filtering:jar:3.3.0 is missing, no dependency information available
   [WARNING] The POM for commons-io:commons-io:jar:2.11.0 is missing, no dependency information available
   [WARNING] The POM for org.apache.commons:commons-lang3:jar:3.12.0 is missing, no dependency information available
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  1.101 s
   [INFO] Finished at: 2023-08-08T16:45:48+02:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.3.0:resources (default-resources) on project camel-k-integration: Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:3.3.0:resources failed: Plugin org.apache.maven.plugins:maven-resources-plugin:3.3.0 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.codehaus.plexus:plexus-utils:jar:1.1 has not been downloaded from it before. -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please read the following articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org