NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

NetBeans pom autocompletion doesn't see artifact versions

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
Fabrizio Giudici
Posted via mailing list.





PostPosted: Wed Oct 21, 2009 7:46 pm    Post subject: NetBeans pom autocompletion doesn't see artifact versions Reply with quote

While I'm referring to a RCP project, I think it's a generic problem of Maven support (6.8M2).

Look at this:

[Mistral:it/tidalwave/geo] fritz% ll
$HOME/.m2/repository/it/tidalwave/geo/it-tidalwave-geo-explorer/
total 16
drwxr-xr-x 13 fritz staff 442 Oct 21 20:35 .
drwxr-xr-x 28 fritz staff 952 Oct 21 11:16 ..
drwxrwx--- 8 fritz staff 272 Oct 18 22:19 1.1.10
drwxr-xr-x 12 fritz staff 408 Oct 18 21:38 1.1.10-SNAPSHOT
drwxrwx--- 8 fritz staff 272 Oct 19 23:54 1.1.11
drwxr-xr-x 12 fritz staff 408 Oct 19 00:04 1.1.11-SNAPSHOT
drwxrwx--- 8 fritz staff 272 Oct 21 00:13 1.1.12
drwxrwx--- 12 fritz staff 408 Oct 20 23:26 1.1.12-SNAPSHOT
drwxrwx--- 8 fritz staff 272 Oct 21 20:28 1.1.13
drwxr-xr-x 12 fritz staff 408 Oct 21 09:42 1.1.13-SNAPSHOT
drwxrwx--- 12 fritz staff 408 Oct 21 20:50 1.1.14-SNAPSHOT


You can see that I've got quite a number of versions for this artifact on my local directory. You can check that in the public repo:

http://services.tidalwave.it/nexus/content/repositories/releases/it/tidalwave/geo/it-tidalwave-geo-explorer/

1.1.10/ Sun Oct 18 15:18:17 CDT 2009
1.1.11/ Mon Oct 19 16:48:24 CDT 2009
1.1.12/ Tue Oct 20 17:02:48 CDT 2009
1.1.13/ Wed Oct 21 13:14:33 CDT 2009

Now in a project I have:

<dependency>
<groupId>it.tidalwave.geo</groupId>
<artifactId>it-tidalwave-geo-explorer</artifactId>
<version>1.1.12</version>
</dependency>

and trying auto-completion I only see 1.1.12 and 1.1.12-SNAPSHOT. Retrying after a few minutes (the time to write this email) I see more versions, from 1.1.10, 11, 12 and related snapshots, plus 13-SNAPSHOT. I don't see 1.1.13.

If I manually set the required version, the project compiles fine. Am I doing something wrong or should I file an issue?


--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
address-removed - mobile: +39 348.150.6941
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo