You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2019/11/28 09:29:00 UTC

[jira] [Closed] (FLINK-10836) Add repositories and pluginRepositories in root pom.xml

     [ https://issues.apache.org/jira/browse/FLINK-10836?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-10836.
------------------------------------
    Resolution: Won't Fix

Following the conclusion surrounding flink-shaded that additional repositories should be setup in the local maven installation I'm closing this issue.

> 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
(v8.3.4#803005)