-
Notifications
You must be signed in to change notification settings - Fork 281
Closed
Description
Please remove this snippet from the POM at least when uploading to Maven Central:
Lines 283 to 288 in 5210f30
<repositories> | |
<repository> | |
<id>jitpack.io</id> | |
<url>https://jitpack.io</url> | |
</repository> | |
</repositories> |
It imposes several issues on the developer using your library:
- This is highly discouraged by Sonatype OSSRH upload requirements.
- JitPack is a very problematic repo: see https://issues.apache.org/jira/browse/WAGON-611
- You impose a repo on a user which might be several problem inside a corporate environment
I was able to build the project (core
only) from master without JitPack repo and an empty local repo if I use the clone from @erosb and apply the following patch:
osipovmi@deblndw011x:~/var/Projekte/json-schema/core ((1.13.0) *%)
$ git diff
diff --git a/core/pom.xml b/core/pom.xml
index a4595acc..73fdefd4 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -18,8 +18,8 @@
-->
<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>org.everit.json</groupId>
- <artifactId>org.everit.json.schema</artifactId>
+ <groupId>com.github.erosb</groupId>
+ <artifactId>everit-json-schema</artifactId>
<version>1.13.0</version>
<packaging>bundle</packaging>
<properties>
@@ -138,8 +138,8 @@
<configuration>
<oldVersion>
<dependency>
- <groupId>com.github.everit-org.json-schema</groupId>
- <artifactId>org.everit.json.schema</artifactId>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>${project.artifactId}</artifactId>
<version>1.12.3</version>
<type>jar</type>
</dependency>
@@ -279,11 +279,4 @@
<scope>test</scope>
</dependency>
</dependencies>
-
- <repositories>
- <repository>
- <id>jitpack.io</id>
- <url>https://jitpack.io</url>
- </repository>
- </repositories>
</project>
Note: Hunk 2 can be applied immediately to the origin repo.
PS: I am a Maven core developer
Metadata
Metadata
Assignees
Labels
No labels