[jira] [Commented] (NETBEANS-6401) Newly created Micronau project is not open in NB

2022-01-23 Thread Martin Balin (Jira)


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

Martin Balin commented on NETBEANS-6401:


OK, I will file now to GH issues. Did not notice it was decided...

> Newly created Micronau project is not open in NB
> 
>
> Key: NETBEANS-6401
> URL: https://issues.apache.org/jira/browse/NETBEANS-6401
> Project: NetBeans
>  Issue Type: Bug
>  Components: javaee - Micronaut
>Affects Versions: 12.6
> Environment: *Product Version:* Apache NetBeans IDE 12.6
> *Java:* 17.0.1; Java HotSpot(TM) 64-Bit Server VM 17.0.1+12-LTS-39
> *Runtime:* Java(TM) SE Runtime Environment 17.0.1+12-LTS-39
> *System:* Mac OS X version 12.1 running on x86_64; UTF-8; en_GB (nb)
> *User directory:* /Users/mbalin/Library/Application Support/NetBeans/12.6
> *Cache directory:* /Users/mbalin/Library/Caches/NetBeans/12.6
>  
>Reporter: Martin Balin
>Priority: Major
>
> Select File | New project
> then Java with Maven > Micronaut Project OR Java with Gradle > Micronaut 
> Project
> Name it {{{}MicronautProject{}}}. Leave all defaults on MN v. is 3.2.7 Java 
> is 8 , step through and click Finish.
> Project is created on disk properly but it is not open in IDE.
> Structure on disk is: 
> {{{_}{_}/MicronautProject/MicronautProject }}then 
> there are \{{src }}and{{ pom.xml}}
> Open the project in NB and there is Resolve problems window shown "Unable to 
> properly load project" with details:
>  
> {code:java}
> Some problems were encountered while processing the POMs:
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-inject:jar is missing. @ line 34, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-validation:jar is missing. @ line 39, column 17
> [ERROR] 'dependencies.dependency.version' for 
> org.junit.jupiter:junit-jupiter-api:jar is missing. @ line 44, column 17
> [ERROR] 'dependencies.dependency.version' for 
> org.junit.jupiter:junit-jupiter-engine:jar is missing. @ line 49, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut.test:micronaut-test-junit5:jar is missing. @ line 54, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-http-client:jar is missing. @ line 59, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-http-server-netty:jar is missing. @ line 64, column 17
> [ERROR] 'dependencies.dependency.version' for 
> io.micronaut:micronaut-runtime:jar is missing. @ line 69, column 17
> [ERROR] 'dependencies.dependency.version' for 
> ch.qos.logback:logback-classic:jar is missing. @ line 74, column 17
>  
> {code}
> and Output window has in:
> {code:java}
> cd /Users/mbalin/Development/MicronautProject/MicronautProject; 
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home 
> /Users/mbalin/Development/MicronautProject/MicronautProject/mvnw 
> -DskipTests=true --fail-at-end package
> Cannot run program 
> "/Users/mbalin/Development/MicronautProject/MicronautProject/mvnw" (in 
> directory "/Users/mbalin/Development/MicronautProject/MicronautProject"): 
> error=13, Permission denied{code}
> {{mvnw}} is not executable by default. chmod +x for it and it can be built 
> and project is fixed. Not _unloadable_ anymore.
> Gradle project generated the same way can be open without errors in NB.
> When I create the Micronaut Maven project using NBLS (VSIX) 12.6.301 release 
> then I have mvnw executable and also directory structure is 
> {{{_}{_}/demomn2g/mvnw and}} pom.xml



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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] [Updated] (NETBEANS-6411) Add javadoc for JDK 19 early access

2022-01-23 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-6411:
-
Labels: pull-request-available  (was: )

> Add javadoc for JDK 19 early access
> ---
>
> Key: NETBEANS-6411
> URL: https://issues.apache.org/jira/browse/NETBEANS-6411
> Project: NetBeans
>  Issue Type: Improvement
>  Components: java - Javadoc
>Affects Versions: 12.6, 13
>Reporter: José Contreras
>Assignee: José Contreras
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Add javadoc for JDK 19 early access:
> [https://download.java.net/java/early_access/jdk19/docs/api/|https://download.java.net/java/early_access/jdk18/docs/api/]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6411) Add javadoc for JDK 19 early access

2022-01-23 Thread Jira
José Contreras created NETBEANS-6411:


 Summary: Add javadoc for JDK 19 early access
 Key: NETBEANS-6411
 URL: https://issues.apache.org/jira/browse/NETBEANS-6411
 Project: NetBeans
  Issue Type: Improvement
  Components: java - Javadoc
Affects Versions: 12.6, 13
Reporter: José Contreras
Assignee: José Contreras


Add javadoc for JDK 19 early access:

[https://download.java.net/java/early_access/jdk19/docs/api/|https://download.java.net/java/early_access/jdk18/docs/api/]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6410) Upgrade JAXB from 2.3.3 to 2.3.5

2022-01-23 Thread Jira
José Contreras created NETBEANS-6410:


 Summary: Upgrade JAXB from 2.3.3 to 2.3.5
 Key: NETBEANS-6410
 URL: https://issues.apache.org/jira/browse/NETBEANS-6410
 Project: NetBeans
  Issue Type: Improvement
  Components: projects - Libraries, webservices - JAX-WS
Affects Versions: 12.6
Reporter: José Contreras
Assignee: José Contreras


Library notes:
 - Bug fixes and improvements
 - Tests fixes
 - Updated dependencies
 - Code cleanup
 - Remove usage of soon to be deleted Java APIs. See 
[PR-1463|https://github.com/eclipse-ee4j/jaxb-ri/pull/1463/files]

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-5801) Add javadoc for JDK 18 early access

2022-01-23 Thread Jira


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

José Contreras closed NETBEANS-5801.


> Add javadoc for JDK 18 early access
> ---
>
> Key: NETBEANS-5801
> URL: https://issues.apache.org/jira/browse/NETBEANS-5801
> Project: NetBeans
>  Issue Type: New Feature
>  Components: java - Javadoc
>Affects Versions: 12.4
>Reporter: José Contreras
>Assignee: José Contreras
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 12.5
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Add javadoc for JDK 18 early access:
> https://download.java.net/java/early_access/jdk18/docs/api/



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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-6394) Upgrade Metro from 2.4.4 to 2.4.8

2022-01-23 Thread Jira


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

José Contreras closed NETBEANS-6394.

Resolution: Implemented

PR merged into master

> Upgrade Metro from 2.4.4 to 2.4.8
> -
>
> Key: NETBEANS-6394
> URL: https://issues.apache.org/jira/browse/NETBEANS-6394
> Project: NetBeans
>  Issue Type: Improvement
>  Components: projects - Libraries, webservices - JAX-WS
>Affects Versions: 12.6
>Reporter: José Contreras
>Assignee: José Contreras
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 13
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Notes:
> - Bug fix release
> - Integrate santuario 2.1.7 and its dependencies
> - Support for JDK 11/17
> - Support for JPMS
> - It is fully binary compatible with previous releases of the project Metro 
> released by Oracle.
> Testing:
> - Full build done
> - Verify successful execution of unit tests for module 'websvc.metro.lib'
> - Verify successful execution of libraries and licenses Ant test
> - Successfully create JAX-WS Web Service, deploy it and consume it with a 
> Java SE Application
>   as per documentation https://netbeans.org/kb/docs/websvc/jax-ws.html
> [Metro Web Page|https://projects.eclipse.org/projects/ee4j.metro]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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] [Updated] (NETBEANS-6058) new maven action is disabled permanently

2022-01-23 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated NETBEANS-6058:
-
Labels: pull-request-available  (was: )

> new maven action is disabled permanently
> 
>
> Key: NETBEANS-6058
> URL: https://issues.apache.org/jira/browse/NETBEANS-6058
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven, projects - Maven
>Affects Versions: 12.5, 12.6
> Environment: NB 12.5
> NB: open-jdk-17 / project: Jkd 11
> Win10
>Reporter: S. M.
>Priority: Minor
>  Labels: pull-request-available
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> Newly created maven action in project-properties is disabled permanently and 
> can be edited or enabled. So no usefull maven actions can be created.
> How to reproduce:
> Open Project Properties of a maven netbeans project. Klick 'Actions', klick 
> 'Add Custom', Type in an action name and klick OK. The resulting action is 
> disabled - there is no possibility to enable it.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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



[netbeans] branch master updated: failsafe:integration-test from contextual menu

2022-01-23 Thread matthiasblaesing
This is an automated email from the ASF dual-hosted git repository.

matthiasblaesing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/master by this push:
 new 15a98c1  failsafe:integration-test from contextual menu
 new 75b32e0  Merge pull request #3470 from 
abourree/feature/failsafe_integration-test
15a98c1 is described below

commit 15a98c1a2ce88769536d5a511ba0df6bde501e37
Author: Arnaud BOURRÉE 
AuthorDate: Mon Jan 17 22:30:49 2022 +0100

failsafe:integration-test from contextual menu
---
 .../org/netbeans/modules/maven/TestChecker.java| 21 ++-
 .../maven/execute/DefaultReplaceTokenProvider.java | 31 ++
 2 files changed, 51 insertions(+), 1 deletion(-)

diff --git a/java/maven/src/org/netbeans/modules/maven/TestChecker.java 
b/java/maven/src/org/netbeans/modules/maven/TestChecker.java
index 7e971ea..af6282a 100644
--- a/java/maven/src/org/netbeans/modules/maven/TestChecker.java
+++ b/java/maven/src/org/netbeans/modules/maven/TestChecker.java
@@ -59,6 +59,17 @@ public class TestChecker implements PrerequisitesChecker {
 config.setProperty("test", test + '#' + method);
 }
 }
+if (ActionProviderImpl.COMMAND_INTEGRATION_TEST_SINGLE.equals(action) 
||
+
ActionProviderImpl.COMMAND_DEBUG_INTEGRATION_TEST_SINGLE.equals(action) ||
+"profile-tests".equals(action)) //NOI18N - profile-tests is not 
really nice but well. 
+{
+String test = config.getProperties().get("it.test"); //NOI18N
+String method = 
config.getProperties().get(DefaultReplaceTokenProvider.METHOD_NAME);
+if (test != null && method != null) {
+
config.setProperty(DefaultReplaceTokenProvider.METHOD_NAME, null);
+config.setProperty("it.test", test + '#' + method); 
//NOI18N
+}
+}
 if (MavenSettings.getDefault().isSkipTests()) {
 if (!String.valueOf(config.getGoals()).contains("test")) { // 
incl. integration-test
 if (config.getProperties().get(PROP_SKIP_TEST) == null) {
@@ -67,9 +78,17 @@ public class TestChecker implements PrerequisitesChecker {
 }
 }
 if (ActionProvider.COMMAND_TEST_SINGLE.equals(action) ||
+ActionProviderImpl.COMMAND_INTEGRATION_TEST_SINGLE.equals(action) 
||
 ActionProvider.COMMAND_DEBUG_TEST_SINGLE.equals(action) ||
+
ActionProviderImpl.COMMAND_DEBUG_INTEGRATION_TEST_SINGLE.equals(action) ||
 ActionProvider.COMMAND_PROFILE_TEST_SINGLE.equals(action)) {
-String test = config.getProperties().get("test");
+String test;
+if 
(ActionProviderImpl.COMMAND_INTEGRATION_TEST_SINGLE.equals(action) ||
+
ActionProviderImpl.COMMAND_DEBUG_INTEGRATION_TEST_SINGLE.equals(action)) {
+test = config.getProperties().get("it.test"); //NOI18N
+} else {
+test = config.getProperties().get("test"); //NOI18N
+}
 if (test != null) {
 //#213783  when running tests validate that the test file 
exists
 FileObject origFile = config.getSelectedFileObject();
diff --git 
a/java/maven/src/org/netbeans/modules/maven/execute/DefaultReplaceTokenProvider.java
 
b/java/maven/src/org/netbeans/modules/maven/execute/DefaultReplaceTokenProvider.java
index 18591d8..32d272c 100644
--- 
a/java/maven/src/org/netbeans/modules/maven/execute/DefaultReplaceTokenProvider.java
+++ 
b/java/maven/src/org/netbeans/modules/maven/execute/DefaultReplaceTokenProvider.java
@@ -29,6 +29,7 @@ import java.util.HashSet;
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
+import javax.swing.ActionMap;
 import org.netbeans.api.annotations.common.CheckForNull;
 import org.netbeans.api.java.project.JavaProjectConstants;
 import org.netbeans.api.java.queries.UnitTestForSourceQuery;
@@ -38,6 +39,7 @@ import org.netbeans.api.project.Project;
 import org.netbeans.api.project.ProjectUtils;
 import org.netbeans.api.project.SourceGroup;
 import org.netbeans.api.project.Sources;
+import org.netbeans.modules.maven.ActionProviderImpl;
 import org.netbeans.modules.maven.NbMavenProjectImpl;
 import org.netbeans.modules.maven.api.NbMavenProject;
 import org.netbeans.modules.maven.classpath.MavenSourcesImpl;
@@ -207,6 +209,7 @@ public class DefaultReplaceTokenProvider implements 
ReplaceTokenProvider, Action
 // not all of the selected files are under one source root, so 
maybe they were
 // selected from both source and test packages and "Test Files" 
action was invoked on them?
 if (ActionProvider.COMMAND_TEST_SINGLE.equals(actionName) ||
+
ActionProviderImpl.COMMAND_INTEGRATION_TEST_SINGLE.equals(actionName) ||