You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by Александр <sa...@gmail.com> on 2019/02/13 17:01:35 UTC
Problems with local build
Hello everyone! I've just joined to flink contributing community and have
some problems like:
1. I can't do 'mvn clean package' in project on local machine because of
error:
*[ERROR] Failed to execute goal on project flink-dist_2.11: Could not
resolve dependencies for project
org.apache.flink:flink-dist_2.11:jar:1.8-SNAPSHOT: The following artifacts
could not be resolved:
org.apache.flink:flink-examples-streaming-state-machine_2.11:jar:1.8-SNAPSHOT
.... *
2. I have problem with building master branch on my travis-CI because of:
*[ERROR] No plugin found for prefix 'dependency' in the current project and
in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo]
available from the repositories [local (/home/travis/.m2/repository),
central (https://repo.maven.apache.org/maven2
<https://repo.maven.apache.org/maven2>)] *
Who can make it clear for me? Sorry for this kind of questions, but i can't
resolve it by myself. Thanks in advance.
Best regards, Aleksandr Salatich
Re: Problems with local build
Posted by Robert Metzger <rm...@apache.org>.
Hey,
I was able to build the commit on a clean Ubuntu 18.04 Docker image. I ran
the following commands:
$ docker run -it ubuntu /bin/bash
% apt-get update
% apt-get install maven openjdk-8-jdk git
% git clone git clone https://github.com/apache/flink.git
% cd flink
% git checkout 5e8e00b46369cfcbe0ccd8eb664da07ce3c9d1bf
% mvn clean package -DskipTests
I believe there must be something wrong with your build environment. Did
you do any code modifications? Are you on OS X with a case-insensitive file
system?
Best,
Robert
On Thu, Feb 14, 2019 at 12:43 PM Александр <sa...@gmail.com> wrote:
> response*, sorry
>
> чт, 14 февр. 2019 г. в 14:42, Александр <sa...@gmail.com>:
>
> > Hello. Thanks for your responsible.
> > I use 3.5.2 version of maven, but also i tried 3.2.5 (as guide
> > recommended) but it has no effect.
> > I try to build 5e8e00b46369cfcbe0ccd8eb664da07ce3c9d1bf -it's a last
> > commit in master branch.
> >
> > чт, 14 февр. 2019 г. в 13:32, Robert Metzger <rm...@apache.org>:
> >
> >> Hey Aleksandr,
> >>
> >> let's first try to resolve issue 1.
> >>
> >> Which maven version are you using?
> >> What's the commit sha you are trying to build?
> >>
> >
>
Re: Problems with local build
Posted by Александр <sa...@gmail.com>.
response*, sorry
чт, 14 февр. 2019 г. в 14:42, Александр <sa...@gmail.com>:
> Hello. Thanks for your responsible.
> I use 3.5.2 version of maven, but also i tried 3.2.5 (as guide
> recommended) but it has no effect.
> I try to build 5e8e00b46369cfcbe0ccd8eb664da07ce3c9d1bf -it's a last
> commit in master branch.
>
> чт, 14 февр. 2019 г. в 13:32, Robert Metzger <rm...@apache.org>:
>
>> Hey Aleksandr,
>>
>> let's first try to resolve issue 1.
>>
>> Which maven version are you using?
>> What's the commit sha you are trying to build?
>>
>
Re: Problems with local build
Posted by Александр <sa...@gmail.com>.
Hello. Thanks for your responsible.
I use 3.5.2 version of maven, but also i tried 3.2.5 (as guide recommended)
but it has no effect.
I try to build 5e8e00b46369cfcbe0ccd8eb664da07ce3c9d1bf -it's a last
commit in master branch.
чт, 14 февр. 2019 г. в 13:32, Robert Metzger <rm...@apache.org>:
> Hey Aleksandr,
>
> let's first try to resolve issue 1.
>
> Which maven version are you using?
> What's the commit sha you are trying to build?
>
Re: Problems with local build
Posted by Robert Metzger <rm...@apache.org>.
Hey Aleksandr,
let's first try to resolve issue 1.
Which maven version are you using?
What's the commit sha you are trying to build?