| View previous topic :: View next topic |
| Author |
Message |
zolive
Joined: 26 Oct 2011 Posts: 1
|
Posted: Wed Oct 26, 2011 9:06 am Post subject: <misconfigured Maven project in xxxx> in tree view |
|
|
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.
|
Posted: Mon Oct 31, 2011 6:49 pm Post subject: <misconfigured Maven project in xxxx> in tree view |
|
|
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
|
|
| Back to top |
|
 |
SchlauFuchs
Joined: 30 Nov 2011 Posts: 2
|
Posted: Wed Nov 30, 2011 8:51 pm Post subject: |
|
|
| 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
|
Posted: Wed Nov 30, 2011 8:56 pm Post subject: |
|
|
| 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
|
|
| Back to top |
|
 |
khusaini
Joined: 26 Nov 2011 Posts: 10 Location: indonesia
|
|
| Back to top |
|
 |
Lindes Posted via mailing list.
|
|
| Back to top |
|
 |
gbivins
Joined: 14 Aug 2009 Posts: 162
|
Posted: Tue Dec 13, 2011 3:24 pm Post subject: |
|
|
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
|
|
| Back to top |
|
 |
|