Hi All, I'm trying to compile my Netbeans Platform modules using Maven, but I'm unable to compile due to the following errors:
[INFO] Private classes referenced in module:
[org.netbeans.modules.settings.RecognizeInstanceObjects]
[ERROR] Project depends on packages not accessible at runtime in module
org.netbeans.api:org-netbeans-modules-settings:nbm:RELEASE82
[INFO] Private classes referenced in module:
[org.netbeans.modules.openide.util.ServiceProviderProcessor]
[ERROR] Project depends on packages not accessible at runtime in module
org.netbeans.api:org-openide-util-lookup:nbm:RELEASE82
[INFO] Private classes referenced in module:
[org.netbeans.modules.openide.filesystems.RecognizeInstanceFiles]
[ERROR] Project depends on packages not accessible at runtime in module
org.netbeans.api:org-openide-filesystems:nbm:RELEASE82
These modules are declared in my pom.xml dependencies list as below:
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-settings</artifactId>
<version>${netbeans.version}</version>
<type>nbm</type>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-util-lookup</artifactId>
<version>${netbeans.version}</version>
<type>nbm</type>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-filesystems</artifactId>
<version>${netbeans.version}</version>
<type>nbm</type>
</dependency>
When I look at the downloaded .jar and .nbm files, the MANIFEST.MFs'
OpenIDE-Module-Public-Packages entries do not contain the packages that are
trying to be referenced. I've attached the
org-netbeans-modules-settings-RELEASE82.jar's MANIFEST.MF as an example. I
would expect to find the "org.netbeans.modules.settings" package under the
public packages listing.
If anyone could let me know what I'm doing wrong, that would be great1
Thank you,
Adam Korynta
Resource Management Associates - Software Developer
1756 Picasso Avenue, Suite G, Davis, CA 95618
Phone 530-564-7043 ext. 217
Fax 530-231-5323
[email protected]
https://www.rmanet.com
[logo]<https://www.rmanet.com/>
MANIFEST.MF
Description: MANIFEST.MF
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
