Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] No project found for update dependencies or update project configuration options

https://bugs.eclipse.org/bugs/show_bug.cgi?id=369932

-----Original Message-----
From: m2e-users-bounces@xxxxxxxxxxx [mailto:m2e-users-bounces@xxxxxxxxxxx] On Behalf Of Igor Fedorenko
Sent: 27 January 2012 13:20
To: m2e-users@xxxxxxxxxxx
Subject: Re: [m2e-users] No project found for update dependencies or update project configuration options

Please open a bugreport in m2e bugzilla and provide a standalone example project and steps to reproduce the problem.

--
Regards
Igor

On 12-01-27 7:30 AM, Dan.Carter@xxxxxxxxxx wrote:
> Ah ha!  You gave me an idea what the problem is.
>
> I have a have 'multi-module' (not parent) pom in the parent directory
>
> workspace/trunk/fitpjava/pom.xml
> workspace/trunk/fitpjava/fitp-parent/pom.xml
> workspace/trunk/fitpjava/libA/pom.xml
> workspace/trunk/fitpjava/libB/pom.xml
> etc
>
> I have the multi-module pom.xml open as a project so that I can edit 
> the pom.xml and commit atomically,  but this doesn't work well with 
> eclipse/m2e
> - all the files show up twice in the resource browser
> - all the launch files show up twice in run/debug
> - all the files show up twice in team synchronise and it's get very confused.
>
> So on the parent directory project I setup a resource filter to 
> include only pom.xml and .settings
>
> If I close this project, now the update project configuration dialog 
> shows everything.  So
>
> If I keep the project open but remove the resource filters, it works too.
>
> Seems to use eclipse I must move the multimodule pom into a child directory, except then all the maven and intelliJ users will complain.  Is there a better solution for this?
>
> PS. I have tried 'hide folders that are physically nested' but this seem to only apply once at time of importing, if you import the multimodule and child projects together in one go.  So when projects are refactored or new ones added, I get the same issue with duplicate resources as the changed projects are not hidden in the parent.  Then I have to delete all 103 projects from my workspace and reimport them, which loses all my changeset assignments etc.
>
> PPS. Running on linux with ext3 filesystem.
>
> Thanks,
> Dan.
>
> -----Original Message-----
> From: m2e-users-bounces@xxxxxxxxxxx 
> [mailto:m2e-users-bounces@xxxxxxxxxxx] On Behalf Of Igor Fedorenko
> Sent: 27 January 2012 12:05
> To: m2e-users@xxxxxxxxxxx
> Subject: Re: [m2e-users] No project found for update dependencies or 
> update project configuration options
>
> m2e just reads all workspace projects and arranges them in a tree based on their filesystem location. This is the first time I hear about this problem, so I don't really know what might be going on. What platform and java version do you use? Do you store your project on some non-standard filesystem?
>
> Also, if you are interested, have a look at the code that populates the tree [1], maybe you can spot something there.
>
> [1]
> http://git.eclipse.org/c/m2e/m2e-core.git/tree/org.eclipse.m2e.core.ui
> /src/org/eclipse/m2e/core/ui/internal/dialogs/UpdateDepenciesDialog.ja
> va?id=milestones/1.0.100/1.0.100.20110804-1717#n136
>
> --
> Regards,
> Igor
>
> On 12-01-27 6:28 AM, Dan.Carter@xxxxxxxxxx wrote:
>> Hello,
>> I have eclipse indigo with m2e working well except for one issue.
>> When I right click on a project and select Maven ->  Update 
>> Dependencies… or Maven ->  Update Project Configuration… it pops up a 
>> dialog that asks to select ‘Available Maven Codebases’.
>> The problem is the list is empty. Very occasionally it works, but 
>> most of the time the list is empty.
>> How does m2e decide which projects to show? All my projects have the 
>> little M decoration on the icon indicating they have the maven 
>> project nature.
>> When the project configuration becomes out of sync I have to close 
>> and re-open all the project with is very tedious… Thanks Dan.
>>
>
>
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
>
>
> This e-mail (including any attachments) is confidential, may contain 
> proprietary or privileged information and is intended for the named
> recipient(s) only. Unintended recipients are prohibited from taking 
> action on the basis of information in this e-mail and must delete all copies.
> Nomura will not accept responsibility or liability for the accuracy or 
> completeness of, or the presence of any virus or disabling code in, 
> this e-mail. If verification is sought please request a hard copy. Any 
> reference to the terms of executed transactions should be treated as 
> preliminary only and subject to formal written confirmation by Nomura. 
> Nomura reserves the right to monitor e-mail communications through its 
> networks (in accordance with applicable laws). No confidentiality or 
> privilege is waived or lost by Nomura by any mistransmission of this 
> e-mail. Any reference to "Nomura" is a reference to any entity in the 
> Nomura Holdings, Inc. group. Please read our Electronic Communications Legal Notice which forms part of this e-mail:
> http://www.Nomura.com/email_disclaimer.htm
>
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



This e-mail (including any attachments) is confidential, may contain
proprietary or privileged information and is intended for the named
recipient(s) only. Unintended recipients are prohibited from taking action
on the basis of information in this e-mail and must delete all copies.
Nomura will not accept responsibility or liability for the accuracy or
completeness of, or the presence of any virus or disabling code in, this
e-mail. If verification is sought please request a hard copy. Any reference
to the terms of executed transactions should be treated as preliminary only
and subject to formal written confirmation by Nomura. Nomura reserves the
right to monitor e-mail communications through its networks (in accordance
with applicable laws). No confidentiality or privilege is waived or lost by
Nomura by any mistransmission of this e-mail. Any reference to "Nomura" is
a reference to any entity in the Nomura Holdings, Inc. group. Please read
our Electronic Communications Legal Notice which forms part of this e-mail:
http://www.Nomura.com/email_disclaimer.htm



Back to the top