[jira] [Commented] (NETBEANS-572) non existing dependencies are not shown under the Dependencies node

2019-01-03 Thread Zoltan Kovacs (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16732885#comment-16732885
 ] 

Zoltan Kovacs commented on NETBEANS-572:


Still there in 10.0.

I have found a log message in 
%AppData%\Roaming\NetBeans\10.0\var\log\messages.log on this issue. I hope it 
helps:

WARNING [org.netbeans.modules.maven.nodes.DependenciesNode]: Could not 
determine module name for artifact 
jar:file:/C:/Users/username/.m2/repository/asdf/asdf/1.1/asdf-1.1.jar!/

> non existing dependencies are not shown under the Dependencies node
> ---
>
> Key: NETBEANS-572
> URL: https://issues.apache.org/jira/browse/NETBEANS-572
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-386-on-20180402)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Linux version 4.15.14 running on amd64; UTF-8; en_US (nb)
> User directory: /home/alied/.netbeans/beta
> Cache directory: /home/alied/.cache/netbeans/beta
>Reporter: Alied Pérez Martínez
>Priority: Major
> Attachments: image-2018-04-02-18-50-59-832.png, 
> image-2018-04-02-18-52-29-308.png
>
>
> While testing Manually Install Artifact Test Case I added a non-existing 
> dependency to the POM in order to manually add an artifact:
> {code:xml}
> 
> org-apache-batik
> parser
> 1.7
> 
> {code}
> *Expected:* A new node for the non-existing dependency should appear under 
> the Dependencies node with an overlaid warning sign as Netbeans 8.2:
> !image-2018-04-02-18-52-29-308.png!
>  *Actual:* The newly-added dependency does not appear under the Dependencies 
> node:
> !image-2018-04-02-18-50-59-832.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-597) Missing dependencies not available in central are not shown

2019-01-03 Thread Zoltan Kovacs (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16733138#comment-16733138
 ] 

Zoltan Kovacs commented on NETBEANS-597:


Same as NETBEANS-572

> Missing dependencies not available in central are not shown
> ---
>
> Key: NETBEANS-597
> URL: https://issues.apache.org/jira/browse/NETBEANS-597
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 9.0
> Environment: Product Version: Apache NetBeans IDE Dev (Build 
> incubator-netbeans-linux-393-on-20180404)
> Updates: Updates available
> Java: 1.8.0_152; Java HotSpot(TM) 64-Bit Server VM 25.152-b16
> Runtime: Java(TM) SE Runtime Environment 1.8.0_152-b16
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
>Reporter: Luca Mambretti
>Priority: Major
>
> If a dependency not existing on central repository, or on a local mirror is 
> added to a project this is not shown as missing dependency in the 
> dependencies node.
>  
> sample dependency used:
>     
>     
>     org.zio
>     pino
>     1.0
>     
>     
> Expected behavior should be that the dependency is shown as missing and can 
> be manually installed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Commented] (NETBEANS-2783) Maven dependencies node does not show dependencies added editing POM

2019-10-18 Thread Zoltan Kovacs (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16954508#comment-16954508
 ] 

Zoltan Kovacs commented on NETBEANS-2783:
-

Issue was there in 9.0 and 10.0 too. See NETBEANS-572.

> Maven dependencies node does not show dependencies added editing POM
> 
>
> Key: NETBEANS-2783
> URL: https://issues.apache.org/jira/browse/NETBEANS-2783
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Generic Projects UI, projects - Maven
>Affects Versions: 11.0, 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: Updates available
> Java: 1.8.0_202; OpenJDK 64-Bit Server VM 25.202-b08
> Runtime: OpenJDK Runtime Environment 1.8.0_202-b08
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_IE (nb)
> User directory: C:\Users\falappa\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\falappa\AppData\Local\NetBeans\Cache\11.1
>Reporter: Alessandro Falappa
>Assignee: Alessandro Falappa
>Priority: Major
>  Labels: pull-request-available, regression
> Fix For: 11.2
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Steps:
>  # Open or create a new maven project
>  # Expand the Dependencies node in Projects view
>  # Open pom.xml and add a dependency that has never been used before, i.e. is 
> not in the local maven repository (.m2/repository)
>  # Save pom.xml
> _Expected_ (works in NB 8.2): a jar entry with  the name of the dependency 
> artifact appears under the Dependencies node of the project with a yellow 
> triangle badge indicating new dependency detected but missing local copy.
> _Actual_ (broken in NB11.0 and NB11.1-beta2): no jar entry appears, the log 
> contains the following warning (here for commons-math3 dependency):
> {code:java}
> // WARNING [org.netbeans.modules.maven.nodes.DependenciesNode]: Could not 
> determine module name for artifact 
> jar:file:/C:/Users/falappa/.m2/repository/org/apache/commons/commons-math3/3.6.1/commons-math3-3.6.1.jar!/
> {code}
> In NB11.0 and NB11.1-beta2 after rebuilding the project the dependencies node 
> gets updated and a regular jar entry appears. In NB8.2 after rebuilding the 
> project the yellow triangle badge disappears.
> I had a look at the code and it looks like something got broken when adding 
> modular Java support, i.e. in NB 9.0, as the code is trying to determine Java 
> module names for each dependency.
> This is a regression, NetBeans 8.2 works, NetBeans 11.0 and NetBeans 
> 11.1-beta2 do not, NetBeans 9.0 and 10.0 not tested.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists