You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Daniel Halperin (JIRA)" <ji...@apache.org> on 2017/05/05 17:15:04 UTC
[jira] [Created] (BEAM-2183) Maven-archetypes should depend on all
Beam modules that their sources compile against
Daniel Halperin created BEAM-2183:
-------------------------------------
Summary: Maven-archetypes should depend on all Beam modules that their sources compile against
Key: BEAM-2183
URL: https://issues.apache.org/jira/browse/BEAM-2183
Project: Beam
Issue Type: Bug
Components: sdk-java-core
Reporter: Daniel Halperin
Assignee: Daniel Halperin
Fix For: First stable release
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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)