I could resolve this by manually deleting the link
"/home/mjsax/workspace_flink_asf/flink-asf/build-target"

But I still don't understand why this is necessary...

On 09/10/2015 12:14 PM, Matthias J. Sax wrote:
> Hi,
> 
> I am picking up on this old thread, because I have the same error now. I
> just created a new branch from a freshly rebased master branch.
> 
> mvn -DskipTests clean install
> 
>> Failed to execute goal com.pyx4j:maven-junction-plugin:1.0.3:link (default) 
>> on project flink-dist: Can't create junction source 
>> [/home/mjsax/workspace_flink_asf/flink-asf/flink-dist/target/flink-0.10-SNAPSHOT-bin/flink-0.10-SNAPSHOT]
>>  -> [/home/mjsax/workspace_flink_asf/flink-asf/flink-dist/../build-target] 
>> -> [Help 1]
> 
> This email thread did not show a fix/reason for this issue.
> 
> 
> -Matthias
> 
> On 06/03/2015 05:24 PM, Theodore Vasiloudis wrote:
>> mvn clean package -Dmaven.javadoc.skip=true -DskipTests
>>
>> Called from the flink root.
>>
>> On Wed, Jun 3, 2015 at 5:21 PM, Robert Metzger <rmetz...@apache.org> wrote:
>>
>>> The WARNING is okay.
>>>
>>> How did you call maven, and from which directory (flink root or
>>> flink-dist?)
>>>
>>> On Wed, Jun 3, 2015 at 5:10 PM, Theodore Vasiloudis <
>>> theodoros.vasilou...@gmail.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> I'm having some problems with building the project. The error I get is
>>> for
>>>> the flink-dist module is:
>>>>
>>>> [ERROR] Failed to execute goal com.pyx4j:maven-junction-plugin:1.0.3:link
>>>>> (default) on project flink-dist: Can't create junction source
>>>>>
>>>>
>>> [/long/dir/here//flink-dist/target/flink-0.9-SNAPSHOT-bin/flink-0.9-SNAPSHOT]
>>>>> -> [/long/dir/here/build-target/flink-dist/../build-target] -> [Help 1]
>>>>>
>>>>
>>>> Before that I get this warning in maven-assembly-plugin:2.4:single (bin)
>>> @
>>>> flink-dist ---:
>>>>
>>>> [WARNING] Assembly file:
>>>>> long/dir/here/flink-dist/target/flink-0.9-SNAPSHOT-bin is not a regular
>>>>> file (it may be a directory). It cannot be attached to the project
>>> build
>>>>> for installation or deployment.
>>>>>
>>>>
>>>> Has anyone else encountered this? Any ideas on how it can be fixed?
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>>
>>> http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/Build-failure-with-maven-junction-plugin-tp6056.html
>>>> Sent from the Apache Flink Mailing List archive. mailing list archive at
>>>> Nabble.com.
>>>>
>>>
>>
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to