Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-2183] Archetypes: fix build order #2916

Closed
wants to merge 2 commits into from

Conversation

dhalperi
Copy link
Contributor

@dhalperi dhalperi commented May 5, 2017

R: @davorbonaci
CC: @jbonofre

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.

Copy link
Member

@davorbonaci davorbonaci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dhalperi dhalperi force-pushed the maven-archetype-build-order branch from 39a2a61 to fc62855 Compare May 5, 2017 19:27
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.003%) to 70.507% when pulling fc62855 on dhalperi:maven-archetype-build-order into a99d43c on apache:master.

@asfgit asfgit closed this in 50262be May 5, 2017
@dhalperi dhalperi deleted the maven-archetype-build-order branch May 8, 2017 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants