Mvn package does not produce the .modl file when running on example code

mvn package does not produce the .modl file when running on example code
it did produce the 1.0.0-SNAPSHOT.jar and build successfully

For which module?

managed-tag-provider-gateway. thank you kevin

I don’t see any issue. Are you looking in the managed-tag-provider-build/target/ folder for the module?

Yes. I did mvn clean and mvn package a bunch of times same thing happens.

C:\Users\rshah\Documents\workbp\Projects\ignition-sdk-examples\managed-tag-provider\managed-tag-provider-gateway>mvn package
[INFO] Scanning for projects…
[INFO]
[INFO] --< com.inductiveautomation.ignition.examples:managed-tag-provider-gateway >–
[INFO] Building managed-tag-provider-gateway 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] β€” maven-resources-plugin:2.6:resources (default-resources) @ managed-tag-provider-gateway β€”
[INFO] Using β€˜UTF-8’ encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\rshah\Documents\workbp\Projects\ignition-sdk-examples\managed-tag-provider\managed-tag-provider-gateway\src\main\resources
[INFO]
[INFO] β€” maven-compiler-plugin:3.2:compile (default-compile) @ managed-tag-provider-gateway β€”
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to C:\Users\rshah\Documents\workbp\Projects\ignition-sdk-examples\managed-tag-provider\managed-tag-provider-gateway\target\classes
[INFO]
[INFO] β€” maven-resources-plugin:2.6:testResources (default-testResources) @ managed-tag-provider-gateway β€”
[INFO] Using β€˜UTF-8’ encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\rshah\Documents\workbp\Projects\ignition-sdk-examples\managed-tag-provider\managed-tag-provider-gateway\src\test\resources
[INFO]
[INFO] β€” maven-compiler-plugin:3.2:testCompile (default-testCompile) @ managed-tag-provider-gateway β€”
[INFO] No sources to compile
[INFO]
[INFO] β€” maven-surefire-plugin:2.12.4:test (default-test) @ managed-tag-provider-gateway β€”
[INFO] No tests to run.
[INFO]
[INFO] β€” maven-jar-plugin:2.4:jar (default-jar) @ managed-tag-provider-gateway β€”
[INFO] Building jar: C:\Users\rshah\Documents\workbp\Projects\ignition-sdk-examples\managed-tag-provider\managed-tag-provider-gateway\target\managed-tag-provider-gateway-1.0.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.422 s
[INFO] Finished at: 2020-07-10T05:52:20-07:00
[INFO] ------------------------------------------------------------------------

Run mvn package from the root of the example (managed-tag-provider/)

1 Like

Thank you very much kevin. that fixed it. is it because of the external pom file ?

The ignition maven module plugin just only builds the module file when the entire project is built, not just one of the maven sub-modules.

1 Like

thank you!