Created
January 18, 2019 21:35
-
-
Save fbricon/5185091106fa4e1bb1ae237023dafdc8 to your computer and use it in GitHub Desktop.
Maven resolution puzzler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>foo.bar</groupId> | |
<artifactId>test</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<dependencies> | |
<!-- Maven build fails because : | |
Missing artifact org.eclipse.xtend:org.eclipse.xtend.lib:jar:2.17.0.M1 | |
--> | |
<dependency> | |
<groupId>org.lsp4xml</groupId> | |
<artifactId>org.eclipse.lsp4xml</artifactId> | |
<version>0.0.3-SNAPSHOT</version> | |
</dependency> | |
</dependencies> | |
<repositories> | |
<repository> | |
<id>oss-jfrog-snapshots</id> | |
<url>https://oss.jfrog.org/artifactory/libs-snapshot</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>foo.bar</groupId> | |
<artifactId>test</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<dependencies> | |
<dependency> | |
<groupId>org.eclipse.xtend</groupId> | |
<artifactId>org.eclipse.xtend.lib</artifactId> | |
<version>2.17.0.M1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.lsp4xml</groupId> | |
<artifactId>org.eclipse.lsp4xml</artifactId> | |
<version>0.0.3-SNAPSHOT</version> | |
</dependency> | |
</dependencies> | |
<repositories> | |
<repository> | |
<id>oss-jfrog-snapshots</id> | |
<url>https://oss.jfrog.org/artifactory/libs-snapshot</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment