mmacphail edited a comment on issue #2589:
URL: https://github.com/apache/camel-k/issues/2589#issuecomment-907816022


   Thanks to your example @hadoken79 I was able to pinpoint the issue.
   
   External dependencies in jitpack don't work when a dash `-` is present in 
their name.
   I used the 
[modeline](https://camel.apache.org/camel-k/latest/cli/modeline.html) `// 
camel-k: dependency=github:mmacphail/temps-chemas/1.0` which did not work, 
error messages indicated that the artifact that was downloaded from github was 
`com.github.mmacphail.temp-schemas:temp-schemas` and not 
`com.github.mmacphail:temp-schemas`.
   
   The error message when using the modeline `// camel-k: 
dependency=github:mmacphail/temp-schemas/1.0`:
   ```
   Failure to find com.github.mmacphail.temp-schemas:temp-schemas:jar:1.0
   ```
   
   I cloned `temp-schemas` and named it `tempschemas`, using the modline `// 
camel-k: dependency=github:mmacphail/tempschemas/1.0`, it worked.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to