Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
Description
The archetypes in sdks/java/maven-archetypes/ compile and run tests for source code that depends on various Beam modules. The dependencies are reflected in the *inner pom.xml inside src/main/resources/archetype-resources/pom.xml.
The outer module needs to have the same Beam dependencies to force the Maven Reactor build order to process those modules first. Otherwise, a simple run of mvn install (e.g.,) , even without parallelism, may run the maven-archetypes step before it install the dependent modules. This means that the code may run against a previous nightly snapshot or other non-up-to-date-copy of those modules.
Attachments
Issue Links
- links to