adonis0147 opened a new pull request, #15851:
URL: https://github.com/apache/doris/pull/15851

   # Proposed changes
   
   Issue Number: close #15850 
   
   ## Problem summary
   
   After opening the project in Intellij Idea, we can see the cause. It is 
because Maven of which the version is 3.8.1 or newer blocks http repositories 
by default.
   
   ```shell
   org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde failed to transfer 
from http://0.0.0.0/ during a previous attempt. This failure was cached in the 
local repository and resolution is not reattempted until the update interval of 
maven-default-http-blocker has elapsed or updates are forced. Original error: 
Could not transfer artifact 
org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde from/to 
maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: 
[datanucleus (http://www.datanucleus.org/downloads/maven2, default, releases), 
glassfish-repository (http://maven.glassfish.org/content/groups/glassfish, 
default, disabled), glassfish-repo-archive 
(http://maven.glassfish.org/content/groups/glassfish, default, disabled), 
apache.snapshots (http://repository.apache.org/snapshots, default, snapshots)]
   
   Since Maven 3.8.1 http repositories are blocked.
   
   Possible solutions:
   - Check that Maven settings.xml does not contain http repositories
   - Check that Maven pom files do not contain http repository 
http://www.datanucleus.org/downloads/maven2
   - Check that Maven pom files do not contain http repository 
http://maven.glassfish.org/content/groups/glassfish
   - Check that Maven pom files do not contain http repository 
http://maven.glassfish.org/content/groups/glassfish
   - Check that Maven pom files do not contain http repository 
http://repository.apache.org/snapshots
   - Add a mirror(s) for http://www.datanucleus.org/downloads/maven2, 
http://maven.glassfish.org/content/groups/glassfish, 
http://maven.glassfish.org/content/groups/glassfish, 
http://repository.apache.org/snapshots that allows http url in the Maven 
settings.xml
   - Downgrade Maven to version 3.8.1 or earlier in settings
   ```
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: 
       - [ ] Yes
       - [x] No
       - [ ] I don't know
   2. Has unit tests been added:
       - [ ] Yes
       - [ ] No
       - [x] No Need
   3. Has document been added or modified:
       - [ ] Yes
       - [ ] No
       - [x] No Need
   4. Does it need to update dependencies:
       - [ ] Yes
       - [x] No
   5. Are there any changes that cannot be rolled back:
       - [ ] Yes (If Yes, please explain WHY)
       - [x] No
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to