This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 241297 - Create NetBeans Module archetype out of date platform version
Summary: Create NetBeans Module archetype out of date platform version
Status: REOPENED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-02 21:26 UTC by alied
Modified: 2014-04-09 11:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2014-02-02 21:26:26 UTC
in the last step of the test
"Create NetBeans Module archetype Test Case"
the Combo Box "Netbeans version" only lists up to Netbeans 7.3.1.
Not even 7.4.
Comment 1 Milos Kleint 2014-02-03 08:30:04 UTC
The values are taken from the repository index at http://bits.netbeans.org/nexus/content/groups/netbeans/
I've triggered "update index" action on the bits.netbeans.org repository, and now can see versions up to 80-beta.

if you have a repository proxy (nexus, archiva, artifactory) setup on your computer, you might need to trigger some updates on the proxy as well or wait for it to propagate if the proxy is setup to update automatically.
Comment 2 Milos Kleint 2014-02-03 10:05:33 UTC
hmm.. let me reopen and investigate some more.

if you have created (and in case of 'netbeans' repo it's the IDE itself) a repository and deleted it, the lucene index in cache directory stays, so on re-creating it's the old content there. Which is often saving you time most of the time, but apparently at least for netbeans repo the update finishes without updating anything (compared to a brand new repo created with a name/id netbeans2 which downloads the new bits)

in any case the workaround is to dump the var/caches/mavenindex/netbeans repository in the nb cache dir.
Comment 3 Milos Kleint 2014-02-07 14:26:36 UTC
after some intensive debugging it appears that while maven-indexer correctly figures what updates are missing locally, attempt to download these bits fails with 404. for some reason our nexus is not serving them (while listing them in the properties file downloaded from the server)

this appears to be a problem specific to bits.netbeans.org/nexus setup, the code in question is working fine IMHO and should be working for other repositories.
Comment 4 Milos Kleint 2014-04-09 11:18:24 UTC
I've filed issue against maven indexer. 
http://jira.codehaus.org/browse/MINDEXER-78