You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (Jira)" <ji...@apache.org> on 2021/04/20 11:44:00 UTC
[jira] [Updated] (NETBEANS-5389) Maven parent POM VM parameters
ignored
[ https://issues.apache.org/jira/browse/NETBEANS-5389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Svatopluk Dedic updated NETBEANS-5389:
--------------------------------------
Labels: VSNetBeans (was: )
> Maven parent POM VM parameters ignored
> --------------------------------------
>
> Key: NETBEANS-5389
> URL: https://issues.apache.org/jira/browse/NETBEANS-5389
> Project: NetBeans
> Issue Type: Improvement
> Components: projects - Maven
> Affects Versions: 12.2
> Reporter: Svatopluk Dedic
> Assignee: Svatopluk Dedic
> Priority: Major
> Labels: VSNetBeans
>
> During development of a Micronaut-based project, I have realized that launch of the application gets *different parameters* when run from the IDE, and from the commandline.
> In absence of an action mapping, the IDE attempts to parse out VM parametrs and application parameters from the pom.xml, but does not use *effective POM* model.
> Micronaut incidentally generates their project's boilerplate so that it references
> {code:java}
> <parent>
> <groupId>io.micronaut</groupId>
> <artifactId>micronaut-parent</artifactId>
> <version>2.3.3</version>
> </parent>
> {code}
>
> as the parent POM. The micronaut parent, in turn, defines
>
> {code:java}
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>exec-maven-plugin</artifactId>
> <version>${exec-maven-plugin.version}</version>
> <configuration>
> <executable>java</executable>
> <arguments>
> <argument>-classpath</argument>
> <classpath/>
> <argument>-XX:TieredStopAtLevel=1</argument>
> <argument>-Dcom.sun.management.jmxremote</argument>
> <argument>${exec.mainClass}</argument>
> </arguments>
> </configuration>
> </plugin>
> {code}
> But IDE will not pick the VM arguments from here to the Run action, the Project Customizer, (and subsquently to the created action mappings).
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists