You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Mossroy (Jira)" <ji...@apache.org> on 2020/08/23 11:47:00 UTC

[jira] [Resolved] (NETBEANS-4656) Regression : Maven dependencies are not always refreshed

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

Mossroy resolved NETBEANS-4656.
-------------------------------
    Resolution: Fixed

This appears to be fixed by an update proposed by the UI of Netbeans, upgrading the "Maven Projects" plugin, from 2.138 to 2.138.1

So, for anyone affected, just go to the Help menu, click "Check for updates", and install the updates.

Thanks for the fix!

> Regression : Maven dependencies are not always refreshed
> --------------------------------------------------------
>
>                 Key: NETBEANS-4656
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4656
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Maven
>    Affects Versions: 12.0
>         Environment: Reproduced on 2 platforms :
> Windows 8.1, Java 11, Maven 3.3.9
> Ubuntu 20.04, Java 11, Maven 3.3.9
>            Reporter: Mossroy
>            Priority: Minor
>
> With a Maven project, if you define a dependency version in a property of a parent module, changing this property in the parent module does not update the dependencies in the GUI of the submodule. You need to restart Netbeans for this change to be visible.
> It was working fine in Netbeans 11.0.
> Steps to reproduce :
>  * clone the test-case I uploaded on [https://gitlab.com/mossroy/test-case-netbeans-maven-dependency-versions]
>  * open it and build it with Netbeans 12
>  * in the "projects" tab of Netbeans, open the child module, and see the "dependencies" : there should be spring-core-5.2.8.RELEASE
>  * in the pom.xml of the parent module, change the spring.version property to 5.2.7.RELEASE
>  * in the child module, in "dependencies", 5.2.8.RELEASE is still displayed. It should have been changed to 5.2.7.RELEASE
> If the property is moved in the child module, it works fine.
> Workaround : restart NetBeans. Reloading the project is unfortunately not enough.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists