lburgazzoli commented on issue #2589:
URL: https://github.com/apache/camel-k/issues/2589#issuecomment-908973793
I've create a simple project like:
```xml
<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
https://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.acme</groupId>
<artifactId>getting-started</artifactId>
<version>1.0.0-SNAPSHOT</version>
<properties>
<compiler-plugin.version>3.8.1</compiler-plugin.version>
<maven.compiler.parameters>true</maven.compiler.parameters>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.github.mmacphail</groupId>
<artifactId>temp-schemas</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
</project>
```
then when building it fails with:
```
INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< org.acme:getting-started
>----------------------
[INFO] Building getting-started 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar
]---------------------------------
Downloading from jitpack.io:
https://jitpack.io/com/github/mmacphail/temp-schemas/temp-schemas/1.0/temp-schemas-1.0.pom
Downloading from central:
https://repo.maven.apache.org/maven2/com/github/mmacphail/temp-schemas/temp-schemas/1.0/temp-schemas-1.0.pom
[WARNING] The POM for com.github.mmacphail.temp-schemas:temp-schemas:jar:1.0
is missing, no dependency information available
Downloading from jitpack.io:
https://jitpack.io/com/github/mmacphail/temp-schemas/temp-schemas/1.0/temp-schemas-1.0.jar
Downloading from central:
https://repo.maven.apache.org/maven2/com/github/mmacphail/temp-schemas/temp-schemas/1.0/temp-schemas-1.0.jar
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.804 s
[INFO] Finished at: 2021-08-31T09:26:40+02:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project getting-started: Could not resolve
dependencies for project org.acme:getting-started:jar:1.0.0-SNAPSHOT: Could not
find artifact com.github.mmacphail.temp-schemas:temp-schemas:jar:1.0 in
jitpack.io (https://jitpack.io) -> [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/DependencyResolutionException
```
--
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]