[
https://issues.apache.org/jira/browse/NETBEANS-4341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128362#comment-17128362
]
Ernie Rael commented on NETBEANS-4341:
--------------------------------------
Another example, probably same problem, works on 11.3
# create new pom project "parent"
# expand parent node
# select "create new module" from "parent > Modules" context menu
# create new java project in parent subdirectory "child"
# open parent's pom, add
{code:java}
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.mastfrog</groupId>
<artifactId>simplevalidation</artifactId>
<version>1.14</version>
</dependency>
</dependencies>
</dependencyManagement>
{code}
# write parent's pom.xml
# open child's pom, add
{code}
<dependencies>
<dependency>
<groupId>com.mastfrog</groupId>
<artifactId>simplevalidation</artifactId>
</dependency>
</dependencies>
{code}
# write child's pom
observe, after pom is written
- "<dependency>" has error badge about missing version.
- in project window, there is "child[unloadable]"
Closing and re-opening IDE fixes the issue.
Note: at this point add another item to parent's dependencyManagement, and
similarly add it to child's <dependencies> (without version). Problem re-occurs.
> Maven project reload does not work from [unloadable] state
> ----------------------------------------------------------
>
> Key: NETBEANS-4341
> URL: https://issues.apache.org/jira/browse/NETBEANS-4341
> Project: NetBeans
> Issue Type: Bug
> Affects Versions: 12.0
> Reporter: Michal Hlavac
> Priority: Major
>
> I did these steps in spring boot maven application:
> # Changed version of spring boot in {{<parent>}} element from
> {{2.2.7.RELEASE}} to {{2.3.0.RELEASE}}. This makes project unloadable.
> # Then I did clean & build, all dependencies were downloaded.
> # Project is still unloadable and right click -> reload pom.xml do nothing.
> # I have to close & run netbeans. Then project is back to normal
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists