Skip to content

NB Platform application archetype still uses security-manager #8902

@juanotto

Description

@juanotto

Apache NetBeans version

Apache NetBeans 27

What happened

Creating a new Netbeans Application works but the applications cannot be build. Maven gives an error due to the application module using -Djava.security.manager=allow in jmps-flags in its pom.xml. That is defined in the application maven archetype.

Language / Project Type / NetBeans Component

Netbeans Platform Application

How to reproduce

Create a new Netbeans Application, build it.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows 10, Ubuntu 24

JDK

Oracle jdk-24 (24.0.2)

Apache NetBeans packaging

Third-party package

Anything else

I have created a PR, my understanding is the archetype used comes from https://github.com/apache/netbeans-mavenutils-archetype-netbeans-platform-app-archetype

I created apache/netbeans-mavenutils-archetype-netbeans-platform-app-archetype#19

Are you willing to submit a pull request?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Maven[ci] enable "build tools" testsPlatform[ci] enable platform tests (platform/*)kind:bugBug report or fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions