You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Dudoladov, Sergey" <se...@tu-berlin.de> on 2015/10/07 13:19:22 UTC

REEF 0.14 version update may break the build

Hello all,

Since I merged in the latest changes with the version update, I see the following error  during the build:

Failed to execute goal on project wake: Could not resolve dependencies for project org.apache.reef:wake:jar:0.14.0-incubating-SNAPSHOT: Failure to find org.apache.reef:tang:jar:0.14.0-incubating-SNAPSHOT in http://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced -> 

Best,
Sergey

Re: REEF 0.14 version update may break the build

Posted by Andrew Chung <af...@gmail.com>.
Sorry I seemed to have replied to the wrong thread. I meant to reply to the
0.13.0 RC thread.

Thanks,
Andrew

On Wed, Oct 7, 2015 at 12:34 PM, Andrew Chung <af...@gmail.com> wrote:

> +1
>
> I was able to validate the Java tests on HDInsight, and I ran the
> DriverRestart test in C# as well.
>
> Thanks,
> Andrew
>
> On Wed, Oct 7, 2015 at 9:23 AM, Markus Weimer <ma...@weimo.de> wrote:
>
>> Hi,
>>
>> I just reinstalled a machine and had no trouble compiling the current
>> `master` branch. Were you able to compile before the version upvgrade?
>>
>> Markus
>>
>>
>> On 2015-10-07 05:54, Dongjoon Hyun wrote:
>>
>>> Hi, Sergey.
>>>
>>> In order to simulate you, I deleted my local maven repository, '.m2', and
>>> try `mvn clean package`. (In Ubuntu)
>>> But, I can not generated error messages like you. My build succeeded.
>>>
>>> Could you give me the command line during your build?
>>>
>>> Warmly,
>>> Dongjoon.
>>>
>>>
>>> On Wed, Oct 7, 2015 at 8:19 PM, Dudoladov, Sergey <
>>> sergey.dudoladov@tu-berlin.de> wrote:
>>>
>>> Hello all,
>>>>
>>>> Since I merged in the latest changes with the version update, I see the
>>>> following error  during the build:
>>>>
>>>> Failed to execute goal on project wake: Could not resolve dependencies
>>>> for
>>>> project org.apache.reef:wake:jar:0.14.0-incubating-SNAPSHOT: Failure to
>>>> find org.apache.reef:tang:jar:0.14.0-incubating-SNAPSHOT in
>>>> http://repository.apache.org/snapshots was cached in the local
>>>> repository, resolution will not be reattempted until the update
>>>> interval of
>>>> apache.snapshots has elapsed or updates are forced ->
>>>>
>>>> Best,
>>>> Sergey
>>>>
>>>
>>>
>

Re: REEF 0.14 version update may break the build

Posted by Andrew Chung <af...@gmail.com>.
+1

I was able to validate the Java tests on HDInsight, and I ran the
DriverRestart test in C# as well.

Thanks,
Andrew

On Wed, Oct 7, 2015 at 9:23 AM, Markus Weimer <ma...@weimo.de> wrote:

> Hi,
>
> I just reinstalled a machine and had no trouble compiling the current
> `master` branch. Were you able to compile before the version upvgrade?
>
> Markus
>
>
> On 2015-10-07 05:54, Dongjoon Hyun wrote:
>
>> Hi, Sergey.
>>
>> In order to simulate you, I deleted my local maven repository, '.m2', and
>> try `mvn clean package`. (In Ubuntu)
>> But, I can not generated error messages like you. My build succeeded.
>>
>> Could you give me the command line during your build?
>>
>> Warmly,
>> Dongjoon.
>>
>>
>> On Wed, Oct 7, 2015 at 8:19 PM, Dudoladov, Sergey <
>> sergey.dudoladov@tu-berlin.de> wrote:
>>
>> Hello all,
>>>
>>> Since I merged in the latest changes with the version update, I see the
>>> following error  during the build:
>>>
>>> Failed to execute goal on project wake: Could not resolve dependencies
>>> for
>>> project org.apache.reef:wake:jar:0.14.0-incubating-SNAPSHOT: Failure to
>>> find org.apache.reef:tang:jar:0.14.0-incubating-SNAPSHOT in
>>> http://repository.apache.org/snapshots was cached in the local
>>> repository, resolution will not be reattempted until the update interval
>>> of
>>> apache.snapshots has elapsed or updates are forced ->
>>>
>>> Best,
>>> Sergey
>>>
>>
>>

Re: REEF 0.14 version update may break the build

Posted by "Dudoladov, Sergey" <se...@tu-berlin.de>.
Hi,

You are right: running 'mvn clean install' resolves the issue.

Thank you, Markus


Sergey.
________________________________________
From: Markus Weimer <ma...@weimo.de>
Sent: Thursday, October 08, 2015 5:48 PM
To: dev@reef.incubator.apache.org
Subject: Re: REEF 0.14 version update may break the build

Hi,

*insertLightBulb*

I now know what is going on. You've fallen prey to one of the more
arcane edge cases in maven:

When the version changes, `mvn validate` and related stages like `mvn
checkstyle:checkstyle` won't work. As part of their run, they check
whether all dependencies are met. As 0.14-SNAPSHOT is not available in
any repository, the run fails.

The solution is simple: Run `mvn clean install` once, and life should be
good.

Markus


On 2015-10-08 04:47, Dudoladov, Sergey wrote:
> Hi again,
>
> This seems to be the checkstyle issue.
> Only the CLI "mvn clean checkstyle:checkstyle" command gives me this error.
>
> This command worked perfectly fine before the version update.
>
> Other commands such as "mvn clean test" still work.
>
> best,
> Sergey.
> ________________________________________
> From: Markus Weimer <ma...@weimo.de>
> Sent: Wednesday, October 07, 2015 6:23 PM
> To: dev@reef.incubator.apache.org
> Subject: Re: REEF 0.14 version update may break the build
>
> Hi,
>
> I just reinstalled a machine and had no trouble compiling the current
> `master` branch. Were you able to compile before the version upvgrade?
>
> Markus
>
> On 2015-10-07 05:54, Dongjoon Hyun wrote:
>> Hi, Sergey.
>>
>> In order to simulate you, I deleted my local maven repository, '.m2', and
>> try `mvn clean package`. (In Ubuntu)
>> But, I can not generated error messages like you. My build succeeded.
>>
>> Could you give me the command line during your build?
>>
>> Warmly,
>> Dongjoon.
>>
>>
>> On Wed, Oct 7, 2015 at 8:19 PM, Dudoladov, Sergey <
>> sergey.dudoladov@tu-berlin.de> wrote:
>>
>>> Hello all,
>>>
>>> Since I merged in the latest changes with the version update, I see the
>>> following error  during the build:
>>>
>>> Failed to execute goal on project wake: Could not resolve dependencies for
>>> project org.apache.reef:wake:jar:0.14.0-incubating-SNAPSHOT: Failure to
>>> find org.apache.reef:tang:jar:0.14.0-incubating-SNAPSHOT in
>>> http://repository.apache.org/snapshots was cached in the local
>>> repository, resolution will not be reattempted until the update interval of
>>> apache.snapshots has elapsed or updates are forced ->
>>>
>>> Best,
>>> Sergey
>>

Re: REEF 0.14 version update may break the build

Posted by Markus Weimer <ma...@weimo.de>.
Hi,

*insertLightBulb*

I now know what is going on. You've fallen prey to one of the more 
arcane edge cases in maven:

When the version changes, `mvn validate` and related stages like `mvn 
checkstyle:checkstyle` won't work. As part of their run, they check 
whether all dependencies are met. As 0.14-SNAPSHOT is not available in 
any repository, the run fails.

The solution is simple: Run `mvn clean install` once, and life should be 
good.

Markus


On 2015-10-08 04:47, Dudoladov, Sergey wrote:
> Hi again,
>
> This seems to be the checkstyle issue.
> Only the CLI "mvn clean checkstyle:checkstyle" command gives me this error.
>
> This command worked perfectly fine before the version update.
>
> Other commands such as "mvn clean test" still work.
>
> best,
> Sergey.
> ________________________________________
> From: Markus Weimer <ma...@weimo.de>
> Sent: Wednesday, October 07, 2015 6:23 PM
> To: dev@reef.incubator.apache.org
> Subject: Re: REEF 0.14 version update may break the build
>
> Hi,
>
> I just reinstalled a machine and had no trouble compiling the current
> `master` branch. Were you able to compile before the version upvgrade?
>
> Markus
>
> On 2015-10-07 05:54, Dongjoon Hyun wrote:
>> Hi, Sergey.
>>
>> In order to simulate you, I deleted my local maven repository, '.m2', and
>> try `mvn clean package`. (In Ubuntu)
>> But, I can not generated error messages like you. My build succeeded.
>>
>> Could you give me the command line during your build?
>>
>> Warmly,
>> Dongjoon.
>>
>>
>> On Wed, Oct 7, 2015 at 8:19 PM, Dudoladov, Sergey <
>> sergey.dudoladov@tu-berlin.de> wrote:
>>
>>> Hello all,
>>>
>>> Since I merged in the latest changes with the version update, I see the
>>> following error  during the build:
>>>
>>> Failed to execute goal on project wake: Could not resolve dependencies for
>>> project org.apache.reef:wake:jar:0.14.0-incubating-SNAPSHOT: Failure to
>>> find org.apache.reef:tang:jar:0.14.0-incubating-SNAPSHOT in
>>> http://repository.apache.org/snapshots was cached in the local
>>> repository, resolution will not be reattempted until the update interval of
>>> apache.snapshots has elapsed or updates are forced ->
>>>
>>> Best,
>>> Sergey
>>

Re: REEF 0.14 version update may break the build

Posted by "Dudoladov, Sergey" <se...@tu-berlin.de>.
Hi again,

This seems to be the checkstyle issue.
Only the CLI "mvn clean checkstyle:checkstyle" command gives me this error.

This command worked perfectly fine before the version update.

Other commands such as "mvn clean test" still work.

best,
Sergey.
________________________________________
From: Markus Weimer <ma...@weimo.de>
Sent: Wednesday, October 07, 2015 6:23 PM
To: dev@reef.incubator.apache.org
Subject: Re: REEF 0.14 version update may break the build

Hi,

I just reinstalled a machine and had no trouble compiling the current
`master` branch. Were you able to compile before the version upvgrade?

Markus

On 2015-10-07 05:54, Dongjoon Hyun wrote:
> Hi, Sergey.
>
> In order to simulate you, I deleted my local maven repository, '.m2', and
> try `mvn clean package`. (In Ubuntu)
> But, I can not generated error messages like you. My build succeeded.
>
> Could you give me the command line during your build?
>
> Warmly,
> Dongjoon.
>
>
> On Wed, Oct 7, 2015 at 8:19 PM, Dudoladov, Sergey <
> sergey.dudoladov@tu-berlin.de> wrote:
>
>> Hello all,
>>
>> Since I merged in the latest changes with the version update, I see the
>> following error  during the build:
>>
>> Failed to execute goal on project wake: Could not resolve dependencies for
>> project org.apache.reef:wake:jar:0.14.0-incubating-SNAPSHOT: Failure to
>> find org.apache.reef:tang:jar:0.14.0-incubating-SNAPSHOT in
>> http://repository.apache.org/snapshots was cached in the local
>> repository, resolution will not be reattempted until the update interval of
>> apache.snapshots has elapsed or updates are forced ->
>>
>> Best,
>> Sergey
>

Re: REEF 0.14 version update may break the build

Posted by Markus Weimer <ma...@weimo.de>.
Hi,

I just reinstalled a machine and had no trouble compiling the current 
`master` branch. Were you able to compile before the version upvgrade?

Markus

On 2015-10-07 05:54, Dongjoon Hyun wrote:
> Hi, Sergey.
>
> In order to simulate you, I deleted my local maven repository, '.m2', and
> try `mvn clean package`. (In Ubuntu)
> But, I can not generated error messages like you. My build succeeded.
>
> Could you give me the command line during your build?
>
> Warmly,
> Dongjoon.
>
>
> On Wed, Oct 7, 2015 at 8:19 PM, Dudoladov, Sergey <
> sergey.dudoladov@tu-berlin.de> wrote:
>
>> Hello all,
>>
>> Since I merged in the latest changes with the version update, I see the
>> following error  during the build:
>>
>> Failed to execute goal on project wake: Could not resolve dependencies for
>> project org.apache.reef:wake:jar:0.14.0-incubating-SNAPSHOT: Failure to
>> find org.apache.reef:tang:jar:0.14.0-incubating-SNAPSHOT in
>> http://repository.apache.org/snapshots was cached in the local
>> repository, resolution will not be reattempted until the update interval of
>> apache.snapshots has elapsed or updates are forced ->
>>
>> Best,
>> Sergey
>

Re: REEF 0.14 version update may break the build

Posted by Dongjoon Hyun <do...@apache.org>.
Hi, Sergey.

In order to simulate you, I deleted my local maven repository, '.m2', and
try `mvn clean package`. (In Ubuntu)
But, I can not generated error messages like you. My build succeeded.

Could you give me the command line during your build?

Warmly,
Dongjoon.


On Wed, Oct 7, 2015 at 8:19 PM, Dudoladov, Sergey <
sergey.dudoladov@tu-berlin.de> wrote:

> Hello all,
>
> Since I merged in the latest changes with the version update, I see the
> following error  during the build:
>
> Failed to execute goal on project wake: Could not resolve dependencies for
> project org.apache.reef:wake:jar:0.14.0-incubating-SNAPSHOT: Failure to
> find org.apache.reef:tang:jar:0.14.0-incubating-SNAPSHOT in
> http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced ->
>
> Best,
> Sergey