I assume this is using Maven Central or the older NetBeans.org maven2
repository?

We recently published the Maven Central artefacts, it's possible there is a
bug...

--emi

lun., 6 mai 2019, 20:53 Adam Korynta <a...@rmanet.com> a scris:

> 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*
>
> *a...@rmanet.com <a...@rmanet.com>*
>
> *https://www.rmanet.com <https://www.rmanet.com>*
>
>
>
> [image: logo] <https://www.rmanet.com/>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to