[mevenide-user] Netbeans 6.7RC and dependencies with version ranges.
"Magne Nordtveit" <Magne.Nordtveit-4fgah/[email protected]> Mon, 18 May 2009 10:09:13 +0200
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
------_=_NextPart_001_01C9D78F.EE8CD58B
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
=20
I am having some problems with version dependencies with version ranges
some of my projects...
=20
When adding a dependency to a project with a version range both on junit
at scope test, and a dependency with a version range at the compile
scope. When expanding the dependency node, I get the following
exception.
=20
This is working fine in NB6.5 but not in any of the 6.7 releases. The
artifact with the range, is NOT the artifact mentioned in the exception
either, so I'm abit baffled...
=20
I will try to reproduce it in a "controlled" environment for a bug
report. Unless there is something that is already fixed, or something
you guys (devs) are aware of.
=20
java.lang.IllegalStateException: Artifact xml-apis:xml-apis:jar:1.3.04
is not resolved and is missing the file association in local repository.
Please report at issue #140253.
at
org.netbeans.modules.maven.nodes.DependencyNode.<init>(DependencyNode.ja
va:168)
at
org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesChildren.c
reateNodes(DependenciesNode.java:180)
at
org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesChildren.c
reateNodes(DependenciesNode.java:149)
at
org.openide.nodes.Children$Keys$KE.nodes(Children.java:1609)
at
org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:168)
at
org.openide.nodes.EntrySupport$Default$Info.nodes(EntrySupport.java:916)
at
org.openide.nodes.EntrySupport$Default.justComputeNodes(EntrySupport.jav
a:244)
at
org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:101)
at
org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:173)
at
org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:219)
at
org.openide.nodes.Children.getNodes(Children.java:440)
at
org.openide.nodes.Children.findChild(Children.java:385)
at
org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:212)
at
org.openide.nodes.Children.getNodes(Children.java:472)
at
org.openide.nodes.FilterNode$Children$DefaultSupport.callGetNodesCount(F
ilterNode.java:1656)
at
org.openide.nodes.FilterNode$Children.getNodesCount(FilterNode.java:1608
)
at
org.openide.explorer.view.TreeView$6.run(TreeView.java:912)
at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:10
05)
=20
=20
With regards,
Magne
--=20
Magne Nordtveit <mn-4fgah/[email protected]>
System Engineer
Offshore Simulator Centre AS
=20
------_=_NextPart_001_01C9D78F.EE8CD58B
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DEN-GB link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal>Hi,<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>I am having some problems with version dependencies =
with
version ranges some of my projects...<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>When adding a dependency to a project with a =
version range
both on junit at scope test, and a dependency with a version range at =
the
compile scope. When expanding the dependency node, I get the following
exception.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>This is working fine in NB6.5 but not in any =
of the 6.7
releases. The artifact with the range, is NOT the artifact mentioned in =
the
exception either, so I’m abit baffled...<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>I will try to reproduce it in a =
“controlled”
environment for a bug report. Unless there is something that is already =
fixed,
or something you guys (devs) are aware of.<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>java.lang.IllegalStateException: Artifact
xml-apis:xml-apis:jar:1.3.04 is not resolved and is missing the file
association in local repository. Please report at issue =
#140253.<o:p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.netbeans.modules.maven.nodes.DependencyNode.<init>(DependencyNo=
de.java:168)<o:p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesChildren.cr=
eateNodes(DependenciesNode.java:180)<o:p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.netbeans.modules.maven.nodes.DependenciesNode$DependenciesChildren.cr=
eateNodes(DependenciesNode.java:149)<o:p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.nodes.Children$Keys$KE.nodes(Children.java:1609)<o:p></o:p></=
p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:168)<o:p></o:=
p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.nodes.EntrySupport$Default$Info.nodes(EntrySupport.java:916)<=
o:p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.nodes.EntrySupport$Default.justComputeNodes(EntrySupport.java=
:244)<o:p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:101)<o:p></o:p><=
/p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:173)<o:=
p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:219)<o:=
p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.nodes.Children.getNodes(Children.java:440)<o:p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.nodes.Children.findChild(Children.java:385)<o:p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:212)<o:=
p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.nodes.Children.getNodes(Children.java:472)<o:p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.nodes.FilterNode$Children$DefaultSupport.callGetNodesCount(Fi=
lterNode.java:1656)<o:p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.nodes.FilterNode$Children.getNodesCount(FilterNode.java:1608)=
<o:p></o:p></p>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.explorer.view.TreeView$6.run(TreeView.java:912)<o:p></o:p></p=
>
<p =
class=3DMsoNormal> &=
nbsp; at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)<o:p=
></o:p></p>
<p class=3DMsoNormal>[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:100=
5)<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>With regards,<o:p></o:p></p>
<p class=3DMsoNormal>Magne<o:p></o:p></p>
<p class=3DMsoNormal><span lang=3DNO-NYN>-- <o:p></o:p></span></p>
<p class=3DMsoNormal><span lang=3DNO-NYN>Magne Nordtveit =
<mn-4fgah/[email protected]><o:p></o:p></span></p>
<p class=3DMsoNormal>System Engineer<o:p></o:p></p>
<p class=3DMsoNormal>Offshore Simulator Centre AS<o:p></o:p></p>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
</body>
</html>
------_=_NextPart_001_01C9D78F.EE8CD58B--