[ 
https://issues.apache.org/jira/browse/NETBEANS-4341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128009#comment-17128009
 ] 

Alessandro Falappa edited comment on NETBEANS-4341 at 6/8/20, 8:22 AM:
-----------------------------------------------------------------------

These steps show the problem on a linux box:
 # Remove the local maven cache ($HOME/.m2/repository folder)
 # Go to [https://start.spring.io/] and click on _Generate_, this should 
download a basic Spring Boot project in a zip archive named {{demo.zip}}
 # Open NetBeans 12.0 and choose File > Import Project > From Zip select the 
downloaded archive, this should open a maven project named _demo_ in unloadable 
state and offer to _Resolve Problems_
 # Click on _Resolve_ to start the priming build
 # After the build completes the project remains in unloadable state

On NetBeans 11.3 after the last step a reindex is triggered 
({{org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater}} and the maven 
project moves to loaded state.

Likely this is what is also missing in the use case of the original reporter.


was (Author: alexfalappa):
These steps show the problem on a linux box:
 # Remove the local maven cache ($HOME/.m2/repository folder)
 # Go to [https://start.spring.io/] and click on _Generate_, this should 
download a basic Spring Boot project in a zip archive named {{demo.zip}}
 # Open NetBeans 12.0 and choose File > Import Project > From Zip select the 
downloaded archive, this should open a maven project named _demo_ in unloadable 
state and offer to _Resolve Problems_
 # Click on _Resolve_ to start the priming build
 # After the build completes the project remains in unloadable state

On NetBeans 11.3 after the last step a reindex is triggered 
({{org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater}}.

Likely this is what is also missing in the use case of the original reporter.

> 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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to