[
https://issues.apache.org/jira/browse/FLINK-10836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680948#comment-16680948
]
ASF GitHub Bot commented on FLINK-10836:
----------------------------------------
bjkonglu closed pull request #7068: [FLINK-10836] Add repositories and
pluginRepositories in root pom.xml
URL: https://github.com/apache/flink/pull/7068
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/pom.xml b/pom.xml
index 482eab03128..eced69ef9a3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -138,6 +138,49 @@ under the License.
<generated.docs.dir>./docs/_includes/generated</generated.docs.dir>
</properties>
+ <!-- common repositories -->
+ <repositories>
+ <repository>
+ <id>alimaven</id>
+
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
+ </repository>
+ <repository>
+ <id>central</id>
+ <name>Maven Repository</name>
+ <url>https://repo.maven.apache.org/maven2</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <!-- common pluginRepositories -->
+ <pluginRepositories>
+ <pluginRepository>
+ <id>alimaven</id>
+
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ <pluginRepository>
+ <id>central</id>
+ <url>https://repo.maven.apache.org/maven2</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
<dependencies>
<dependency>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Add repositories and pluginRepositories in root pom.xml
> --------------------------------------------------------
>
> Key: FLINK-10836
> URL: https://issues.apache.org/jira/browse/FLINK-10836
> Project: Flink
> Issue Type: Improvement
> Components: Build System
> Affects Versions: 1.8.0
> Reporter: bjkonglu
> Priority: Minor
> Labels: pull-request-available
>
> h3. Background
> When developer want to build flink project use maven, they may encounter
> dependency problem which maven can't download dependencies from remote repo.
> h3. Analyse
> There maybe a way to resolve this problem. That's add remote maven repo in
> root pom.xml, for example:
> {code:java}
> <!-- common repositories -->
> <repositories>
> <repository>
> <id>alimaven</id>
> <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
> </repository>
> <repository>
> <id>central</id>
> <name>Maven Repository</name>
> <url>https://repo.maven.apache.org/maven2</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>false</enabled>
> </snapshots>
> </repository>
> </repositories>
> <!-- common pluginRepositories -->
> <pluginRepositories>
> <pluginRepository>
> <id>alimaven</id>
> <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </pluginRepository>
> <pluginRepository>
> <id>central</id>
> <url>https://repo.maven.apache.org/maven2</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>false</enabled>
> </snapshots>
> </pluginRepository>
> </pluginRepositories>
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)