[jira] [Created] (NETBEANS-5979) Failed to execute goal on project application

2021-09-05 Thread szulijun (Jira)
szulijun created NETBEANS-5979:
--

 Summary: Failed to execute goal on project application
 Key: NETBEANS-5979
 URL: https://issues.apache.org/jira/browse/NETBEANS-5979
 Project: NetBeans
  Issue Type: Bug
  Components: projects - Maven
Affects Versions: 12.0
 Environment: Product Version: Apache NetBeans IDE 12.0
Updates: Updates available to version NetBeans 8.2 Patch 2
Java: 11.0.12; Java HotSpot(TM) 64-Bit Server VM 11.0.12+8-LTS-237
Runtime: Java(TM) SE Runtime Environment 11.0.12+8-LTS-237
System: Windows 10 version 10.0 running on amd64; GBK; zh_CN (nb)
User directory: C:\Users\dell\AppData\Roaming\NetBeans\12.0
Cache directory: C:\Users\dell\AppData\Local\NetBeans\Cache\12.0

maven:3.3.9
Reporter: szulijun
 Attachments: MyApplication.zip, maven error.png

When Buiding project,output error info:

Failed to execute goal on project application: Could not resolve dependencies 
for project xxx: Failed to collect dependencies at 
org.netbeans.cluster:platform:pom:RELEASE120 -> org.ow2.asm:asm-7.2:jar:7.2: 
Failed to read artifact descriptor for org.ow2.asm:asm-7.2:jar:7.2: Could not 
transfer artifact org.ow2.asm:asm-7.2:pom:7.2 from/to netbeans 
(http://bits.netbeans.org/maven2/): Not authorized , ReasonPhrase:Repository 
decommissioned. Please refer to 
https://netbeans.apache.org/about/oracle-transition.html for more information.. 
-> [Help 1]



--
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



[jira] [Commented] (NETBEANS-5892) Java Maven Web Project not created properly

2021-09-05 Thread Josh Juneau (Jira)


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

Josh Juneau commented on NETBEANS-5892:
---

I will look to see if there is a better archetype that can be used.  If not, I 
will look into creating an archetype.  

On the aside:  I certainly agree that we should be managing a standard set of 
Apache NetBeans archetypes that can be updated.  However, the last I knew we 
did not have any set of standard archetypes.

> Java Maven Web Project not created properly
> ---
>
> Key: NETBEANS-5892
> URL: https://issues.apache.org/jira/browse/NETBEANS-5892
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.4
> Environment: *NetBeans* version 
> 12.4
> *JDK* version 
> zulu16.32.15 (default), JDK version 8 and 11 installed as well
> *OS* 
> Windows 10 pro, Version 20H2, Build 19042.1110
>Reporter: Thomas Schuster
>Assignee: Josh Juneau
>Priority: Major
> Attachments: 1_used_create_dialog.png, 2_bundled_maven.png, 
> 3_pom.png, 4_index_page_missing.png, errorlog1.txt, errorlog2.txt, 
> mavenproject2.zip, mavenproject3.zip
>
>
> *Short description*
> Using the create Java Maven Web project results in a project that cannot be 
> build for nor run on a Jakarta EE 8 server. I provided the created result 
> (mavenproject2.zip) and an altered project which can be built and deployed 
> (mavenproject3.zip) - I would expect the latter to be generated.
> *Exact steps*
>  # Create new project (Java with Maven, Web Application)
>  # Execute Clean & Build on this project
>  # Build will fail because of default maven-war plugin (Version 2.2) of 
> bundled maven. version. (see errorlog1.txt)
>  # Now execute Clean & Build again with success
>  # Execute Run.
>  # Deployment will fail because of unsupported Java version. Generator 
> creates a project with compiler set to Java 11. (see errorlog2.txt)
>  # Reset compiler version to Java 8.
>  # Now execute Clean & Build again with success.
>  # Execute Run, project is successfully deployed.
>  # Welcome page is triggered but not found (not created in fact).
> *Actual results*
>  Web project that includes microprofile configuration and cannot be build and 
> deployed directly from generated sources. Java compiler level is set to be 
> 11, there are some configuration options based on IBM (Openliberty I believe) 
> and there are microprofile configuration options being used in a sample Jax 
> RS service.
> Minor: The pom.xml is not indented properly.
> *Expected results* 
>  Web project that is Jakarta EE 8 compliant and that can be build and run on 
> a Jakarta EE Server (in my case: Payara Server 5.201.4).
> Also, in my opinion the project should deliver a welcome page and be minimal 
> in terms of dependencies and contents (that means also removing microprofile 
> configuration).



--
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



[jira] [Commented] (NETBEANS-5978) I can´t make a new project in NetBeans

2021-09-05 Thread solmaz Gh (Jira)


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

solmaz Gh commented on NETBEANS-5978:
-

okay, thanks

> I can´t make a new project in NetBeans
> --
>
> Key: NETBEANS-5978
> URL: https://issues.apache.org/jira/browse/NETBEANS-5978
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
>Reporter: solmaz Gh
>Priority: Major
> Attachments: Screenshot 2021-09-05 153724.png, Screenshot 2021-09-05 
> 155212.jpg, Screenshot 2021-09-05 155922.jpg, Screenshot 2021-09-05 
> 160832.jpg, messages.log
>
>
> ---
> I can´t build a new project in NetBeans!



--
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



[jira] [Commented] (NETBEANS-5978) I can´t make a new project in NetBeans

2021-09-05 Thread Geertjan Wielenga (Jira)


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

Geertjan Wielenga commented on NETBEANS-5978:
-

Please use the latest release, which is 12.4.

> I can´t make a new project in NetBeans
> --
>
> Key: NETBEANS-5978
> URL: https://issues.apache.org/jira/browse/NETBEANS-5978
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.0
>Reporter: solmaz Gh
>Priority: Major
> Attachments: Screenshot 2021-09-05 153724.png, Screenshot 2021-09-05 
> 155212.jpg, Screenshot 2021-09-05 155922.jpg, Screenshot 2021-09-05 
> 160832.jpg, messages.log
>
>
> ---
> I can´t build a new project in NetBeans!



--
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



[jira] [Created] (NETBEANS-5978) I can´t make a new project in NetBeans

2021-09-05 Thread solmaz Gh (Jira)
solmaz Gh created NETBEANS-5978:
---

 Summary: I can´t make a new project in NetBeans
 Key: NETBEANS-5978
 URL: https://issues.apache.org/jira/browse/NETBEANS-5978
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.0
Reporter: solmaz Gh
 Attachments: Screenshot 2021-09-05 153724.png, Screenshot 2021-09-05 
155212.jpg, Screenshot 2021-09-05 155922.jpg, Screenshot 2021-09-05 160832.jpg, 
messages.log

---
I can´t build a new project in NetBeans!






--
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



[jira] [Created] (NETBEANS-5977) JUnit prevents NetBeans from opening files in project

2021-09-05 Thread Will Pittenger (Jira)
Will Pittenger created NETBEANS-5977:


 Summary: JUnit prevents NetBeans from opening files in project
 Key: NETBEANS-5977
 URL: https://issues.apache.org/jira/browse/NETBEANS-5977
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 12.2
 Environment: Windows 10 64-bit 21H1 build 19043.1165 with feature pack 
120.2212.3530.0
Reporter: Will Pittenger
 Attachments: rJQJxOblWHVXOMYiTXxvvbro[1], yfMvIFpTbAUSTeaEOSsZJXGO[1]

I have a friend who wrote a project in Vi and compiled it manually. I'm trying 
to import it into NetBeans. I'm having troubles with its references to JUnit. 
Seems JUnit wasn't installed. In the past, I didn't need it so I typically 
declined the JUnit license. There just wasn't any point. Now I have 12.2 
installed on a Windows 10 Pro 64-bit machine. NetBeans isn't listing any plugin 
with JUnit in the name, either installed or available. I tried uninstalling and 
reinstalling, but it didn't offer JUnit again. So I manually downloaded JUnit, 
the source code, and copied the link to the Javadoc. I created a library in 
Tools/Libraries for JUnit and added it to my project. But now NetBeans won't 
open any of the source files in the project. It also claims that "package 
org.junit does not exist".



--
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



[jira] [Closed] (NETBEANS-5976) cleanup Integer deprecation warnings

2021-09-05 Thread Brad Walker (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-5976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brad Walker closed NETBEANS-5976.
-
Fix Version/s: 12.6
   Resolution: Fixed

Fixed & Integrated..

> cleanup Integer deprecation warnings
> 
>
> Key: NETBEANS-5976
> URL: https://issues.apache.org/jira/browse/NETBEANS-5976
> Project: NetBeans
>  Issue Type: Improvement
>Reporter: Brad Walker
>Assignee: Brad Walker
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.6
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> In Java 9, {code:java}new Integer(){code} has been deprecated..
> {code:java}
>[repeat] 
> /home/bwalker/src/netbeans/nbi/engine/src/org/netbeans/installer/wizard/components/actions/InstallAction.java:183:
>  warning: [deprecation] Integer(int) in Integer has been deprecated
>[repeat]  new 
> Integer(INSTALLATION_ERROR_CODE));
>[repeat]  ^
> {code}
> There are a LOT of these, so I'm staging the changes so they are more 
> manageable. In addition, these changes do not change behavior for legacy Java 
> runtime environments. But, in Java 9, and afterwards, these changes can 
> provide a possible speedup..



--
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