NetBeans Forums

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

<misconfigured Maven project in xxxx> in tree view

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
zolive



Joined: 26 Oct 2011
Posts: 1

PostPosted: Wed Oct 26, 2011 9:06 am    Post subject: <misconfigured Maven project in xxxx> in tree view Reply with quote

Hello,
I'm using Netbeans 6.7-> 6.9 without any trouble with my maaven project.
Since I migrate to 7.0 or 7.0.1 or even 7.1 beta
All my Maven Project seems to be unrecognize by netbeans.
I try maven 3.0.3 embeded or not embeded. I put my settings.xml into ~/.m2/ and into netbeans/java/maven/conf

If I use the show/solve problem I'v got this message :
Unable to properly load project

1 problem was encountered while building the effective model for com.mycompany.happi:HAPPI:1.0.10-SNAPSHOT
[FATAL] Non-resolvable parent POM: The repository system is offline but the artifact com.mycompany..maven:pom-corporate:pom:1.5 is not available in the local repository. and 'parent.relativePath' points at wrong local POM @ line 5, column 10
for project com.mycompany.happi:HAPPI:1.0.10-SNAPSHOT at /home/moi/projet/HAPPI-V00/pom.xml

If I do a mvn clean install on a console I have'nt got any problem my program compile well. Even into the Netbeans the compile works fine. but the project tree still doesn't work.
Back to top
Fabrizio Giudici
Posted via mailing list.





PostPosted: Mon Oct 31, 2011 6:49 pm    Post subject: <misconfigured Maven project in xxxx> in tree view Reply with quote

On Wed, 26 Oct 2011 11:07:09 +0200, zolive <address-removed> wrote:

Quote:
Hello,
I'm using Netbeans 6.7-> 6.9 without any trouble with my maaven project.
Since I migrate to 7.0 or 7.0.1 or even 7.1 beta
All my Maven Project seems to be unrecognize by netbeans.
I try maven 3.0.3 embeded or not embeded. I put my settings.xml into
~/.m2/ and into netbeans/java/maven/conf

If I use the show/solve problem I'v got this message :
Unable to properly load project

1 problem was encountered while building the effective model for
com.mycompany.happi:HAPPI:1.0.10-SNAPSHOT
[FATAL] Non-resolvable parent POM: The repository system is offline but
the artifact com.mycompany..maven:pom-corporate:pom:1.5 is not available
in the local repository. and 'parent.relativePath' points at wrong local
POM @ line 5, column 10
for project com.mycompany.happi:HAPPI:1.0.10-SNAPSHOT at
/home/moi/projet/HAPPI-V00/pom.xml

If I do a mvn clean install on a console I have'nt got any problem my
program compile well. Even into the Netbeans the compile works fine. but
the project tree still doesn't work.

For the record, I've seen this once in a customer's computer. It wasn't
immediately fixed by scratching the ../var/cache directory. It went away
alone after some hours.

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
address-removed
http://tidalwave.it - http://fabriziogiudici.it
Back to top
gbivins



Joined: 14 Aug 2009
Posts: 162

PostPosted: Wed Nov 30, 2011 7:04 pm    Post subject: +1 on this Reply with quote

I see similar behavior on install on a new machine
http://forums.netbeans.org/viewtopic.php?t=45048
Back to top
SchlauFuchs



Joined: 30 Nov 2011
Posts: 2

PostPosted: Wed Nov 30, 2011 8:51 pm    Post subject: Reply with quote

I have the same issue since yesterday. Working on Win7 64bit, so there is no var/cache folder for me...
Back to top
SchlauFuchs



Joined: 30 Nov 2011
Posts: 2

PostPosted: Wed Nov 30, 2011 8:56 pm    Post subject: Reply with quote

solved it by overwriting the local repository location: Tools>Options>Miscelaneous>Maven>Local Repository (was blank before - seems to not locate properly)
Back to top
gbivins



Joined: 14 Aug 2009
Posts: 162

PostPosted: Wed Nov 30, 2011 9:02 pm    Post subject: Reply with quote

Oh no! I can't set that and it looks like someone else had this problem as well:
http://forums.netbeans.org/viewtopic.php?t=45045



no-local-repository-field-71rc1.png
 Description:
 Filesize:  90.3 KB
 Viewed:  2782 Time(s)

no-local-repository-field-71rc1.png


Back to top
khusaini



Joined: 26 Nov 2011
Posts: 10
Location: indonesia

PostPosted: Wed Nov 30, 2011 10:31 pm    Post subject: Reply with quote

mostly at this forums use ubuntu,,,,

n me never use,,

Century 21 broker Properti jual beli sewa rumah indonesia
Back to top
Lindes
Posted via mailing list.





PostPosted: Thu Dec 08, 2011 7:32 pm    Post subject: <misconfigured Maven project in xxxx> in tree view Reply with quote

Did you ever get a solution for this issue?

I have the exact same problem.

--
View this message in context: http://netbeans-org.1045718.n5.nabble.com/misconfigured-Maven-project-in-xxxx-in-tree-view-tp4941270p5059330.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.
Back to top
gbivins



Joined: 14 Aug 2009
Posts: 162

PostPosted: Tue Dec 13, 2011 3:24 pm    Post subject: Reply with quote

so far, the only way I got it to work is to open the project in 7.0.1.
it initially comes up invalid but then the projects are recognized. Then shut down 7.0.1 and reopen in 7.1 rc and it works...this should definitely be a bug.
Back to top
gbivins



Joined: 14 Aug 2009
Posts: 162

PostPosted: Tue Dec 13, 2011 3:30 pm    Post subject: Reply with quote

bug submitted:
http://netbeans.org/bugzilla/show_bug.cgi?id=206334
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