I noticed that in my 82 maven based platform application the Intent API is
available for deactivation and uninstallation. Doing so will render the
application useless since there are dependencies for the Intent API.

I have created a sample project available at
https://github.com/trixon/netbeans-intent along with a screenshot.

When I create 90 ant based platform apps the Intent API is included but it
is not exposed in the plugin manager.

Looking at the manifest for the MAVEN org.netbeans.api.intent shows
AutoUpdate-Show-In-Client: true

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.2
Created-By: 1.8.0_45-b14 (Oracle Corporation)
OpenIDE-Module-Public-Packages: org.netbeans.api.intent.*,
org.netbeans.spi.intent.*
OpenIDE-Module-Module-Dependencies: org.netbeans.api.annotations.comm n/1 >
1.25, org.openide.filesystems > 9.1, org.openide.util > 9.3,
org.openide.util.lookup > 8.26
OpenIDE-Module-Java-Dependencies: Java > 1.7
OpenIDE-Module-Implementation-Version: 201609300101
AutoUpdate-Show-In-Client: true
OpenIDE-Module: org.netbeans.api.intent
OpenIDE-Module-Localizing-Bundle: org/netbeans/api/intent/Bundle.properties
OpenIDE-Module-Specification-Version: 1.2.1
OpenIDE-Module-Requires: org.openide.modules.ModuleFormat1


Looking at the manifest for the ANT org.netbeans.api.intent shows
AutoUpdate-Show-In-Client: false

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.9.7
Created-By: 1.8.0_131-b11 (Oracle Corporation)
OpenIDE-Module-Public-Packages: org.netbeans.api.intent.*,
org.netbeans.spi.intent.*
OpenIDE-Module-Module-Dependencies: org.netbeans.api.annotations.common/1 >
1.25, org.openide.filesystems > 9.1, org.openide.util > 9.3,
org.openide.util.lookup > 8.26
OpenIDE-Module-Java-Dependencies: Java > 1.7
OpenIDE-Module-Implementation-Version:
incubator-netbeans-release-334-on-20180708
AutoUpdate-Show-In-Client: false
OpenIDE-Module: org.netbeans.api.intent
OpenIDE-Module-Localizing-Bundle: org/netbeans/api/intent/Bundle.properties
OpenIDE-Module-Specification-Version: 1.4.1
OpenIDE-Module-Requires: org.openide.modules.ModuleFormat1


Is it possible to hide it for maven based apps or is it a bug?

I'm using NetBeans 9.0 but building a RELEASE82 app.
Maybe this is fixed in 9.0 and will be available when 10 hits maven central
or similar.

Reply via email to