astefanutti commented on issue #2175:
URL: https://github.com/apache/camel-k/issues/2175#issuecomment-817669118


   I've been able to run `kamel local build` with the Apache snapshots 
repository using the `--maven-repository` option, e.g.:
   
   ```
   $ kamel local build 
--maven-repository=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots
 --integration-directory=test examples/rest/routes-rest.js
   ```
   
   Mind that it's ` --maven-repository`, not ` --maven.repository`, and that 
the repository must be declared with `@snapshots`, as documented in 
https://camel.apache.org/camel-k/latest/configuration/maven.html#_maven_settings.


-- 
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.

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


Reply via email to