My new module of depends on my managed tag provider module be loaded first

I have a managed tag provider for values that I produce. I have a new module that I want to write to the tags in the managed tag provider, but the dependent new module is loaded before the tag provider module. Is there a way to control this or express the dependency?

BTW, can't wait for Java 17 support, before 21 is new LTS.

What dependencies are you declaring in your module.xml file?

How do i declare dependencies among modules in the module.xml file? I did not see that module.xml reference page. So hard to find things in general.

It looks something like this:

                <depends>
                    <depend>
                        <scope>G</scope>
                        <moduleId>some.module.id</moduleId>
                    </depend>
                </depends>

There's an example of it mentioned on this page and probably in some of the examples.

The Module SDK is definitely under-documented in every conceivable way.

1 Like