While running one of the unit tests against old code migrated in, I get the failure shown at the end of this thread.
I suspect this has to do with the code in question using an older deprecated API (specifically org.openidex.util and related Search classes). I assume the new API package may be org.netbeans.api.search Is there any details on how to migrate from this to an alternative newer API? I see references to org.openidex.util here ( https://netbeans.apache.org/wiki/DevFaqLibrariesModuleDescriptions.asciidoc ) related to Servlet APIs which wasn't sure if this is correct. Display Name Module Comments org.openidex.util Servlet 2.2 API org.netbeans.modules.servletapi I find details about the org.netbean.api.search here ( https://bits.netbeans.org/12.3/javadoc/org-netbeans-api-search/apichanges.html ), but I don't see any reference to org.openidex.util in the list. On maven central ( https://search.maven.org/artifact/org.netbeans.api/org-openidex-util/RELEASE124/jar ) , I find reference to artifact name for org.openidex.util and dependency like the below. Is this the likely migrate path? <groupId>org.netbeans.api</groupId> *<artifactId>org-openidex-util</artifactId>* <version>RELEASE124</version> <dependencies> <dependency> <groupId>org.netbeans.api</groupId> * <artifactId>org-netbeans-api-search</artifactId>* <version>RELEASE124</version> </dependency> ---- deprecatedModulesAreDisabled Failure Some deprecated modules are in use org.openidex.util is deprecated and should not be enabled junit.framework.AssertionFailedError: Some deprecated modules are in use org.openidex.util is deprecated and should not be enabled at org.netbeans.core.validation.ValidateModulesTest.deprecatedModulesAreDisabled(ValidateModulesTest.java:274) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:476) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:402) at java.base/java.lang.Thread.run(Thread.java:829) Eric Bresie [email protected]
