You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2023/02/21 01:54:40 UTC
[GitHub] [pulsar] shy-share created a discussion: Which maven repository should I use? I always have problems importing dependencies
GitHub user shy-share created a discussion: Which maven repository should I use? I always have problems importing dependencies

GitHub link: https://github.com/apache/pulsar/discussions/19575
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] tisonkun edited a comment on the discussion: Which maven repository should I use? I always have problems importing dependencies
Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun edited a comment on the discussion: Which maven repository should I use? I always have problems importing dependencies
An empty `.m2/settings.xml` can work for me.
You may try to remove the `.m2` folder and reinstall. Or just use `mvn -U` as suggested.
GitHub link: https://github.com/apache/pulsar/discussions/19575#discussioncomment-5072155
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] tisonkun added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
From https://maven.aliyun.com/, it seems that `https://maven.aliyun.com/repository/public` is mirror for jcenter, and you may use `https://maven.aliyun.com/repository/central` instead which is mirror for https://repo1.maven.org/maven2/
GitHub link: https://github.com/apache/pulsar/discussions/19575#discussioncomment-5071829
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] tisonkun added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
What's more, JFrog has shutdown the JCenter repository https://blog.gradle.org/jcenter-shutdown (make it read-only), so new versions of dependencies can be missing. I guess it's the root cause of your case.
GitHub link: https://github.com/apache/pulsar/discussions/19575#discussioncomment-5071850
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] shy-share added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
Posted by GitBox <gi...@apache.org>.
GitHub user shy-share added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
ok,dependency can be downloaded successfully.But there is a new problem
> 'parent.relativePath' of POM org.apache.pulsar:pulsar:2.12.0-SNAPSHOT (D:\java\pulsar\pom.xml) points at com.example:leetcode instead of org.apache:apache, please verify your project structure
GitHub link: https://github.com/apache/pulsar/discussions/19575#discussioncomment-5072230
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] shy-share added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
Posted by GitBox <gi...@apache.org>.
GitHub user shy-share added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
Either this https://maven.aliyun.com/repository/central or this https://maven.aliyun.com/repository/central won't work.

Can I have a look at your settings file?
GitHub link: https://github.com/apache/pulsar/discussions/19575#discussioncomment-5072137
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] tisonkun added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
An empty `.m2/settings.xml` can work for me.
You may try to remove the `.m2` folder and reinstall.
GitHub link: https://github.com/apache/pulsar/discussions/19575#discussioncomment-5072155
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] tisonkun edited a comment on the discussion: Which maven repository should I use? I always have problems importing dependencies
Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun edited a comment on the discussion: Which maven repository should I use? I always have problems importing dependencies
> 'parent.relativePath' of POM org.apache.pulsar:pulsar:2.12.0-SNAPSHOT (D:\java\pulsar\pom.xml) points at com.example:leetcode instead of org.apache:apache, please verify your project structure
This must be about your local env settings. I can do nothing unless know your local env. Please investigate by yourself like googling or ask on SO - it's not an issue of Pulsar.
GitHub link: https://github.com/apache/pulsar/discussions/19575#discussioncomment-5072235
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] tisonkun added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
I use `https://repo1.maven.org/maven2/` which is the default repository and have no problem.
It seems you use aliyun's mirror and you may contact with the vendor.
GitHub link: https://github.com/apache/pulsar/discussions/19575#discussioncomment-5071820
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] tisonkun added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun added a comment to the discussion: Which maven repository should I use? I always have problems importing dependencies
> 'parent.relativePath' of POM org.apache.pulsar:pulsar:2.12.0-SNAPSHOT (D:\java\pulsar\pom.xml) points at com.example:leetcode instead of org.apache:apache, please verify your project structure
This must be your local env settings. I can do nothing unless know your local env. Please investigate by yourself like googling or ask on SO - it's not an issue of Pulsar.
GitHub link: https://github.com/apache/pulsar/discussions/19575#discussioncomment-5072235
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org