-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve cyclic dependencies and fixed offline reactor builds
Jenkins had cyclic dependencies which required manually intervening and building parents before plugin dependencies. Resolved this through disabling ao-ant-tasks on some Maven build-only project, such as ao-javadoc-offline. Maven imports of managed dependencies were not picking-up from the reactor when using the ${POST-SNAPSHOT} variable. Replaced uses of variable with direct values. Maven does not consider <scope>import</scope> in reactor ordering. Added corresponding dependencies of <type>pom</type> with <exclusions>*</exclusions> to all places, which ensures the dependent projects are build before the current. Since <type>pom</type> is now frequently used in declared dependencies, changed the default configuration of maven-dependency-plugin: <ignoreNonCompile>true</ignoreNonCompile> <ignoredUnusedDeclaredDependencies> <dependency>*:*:pom:*</dependency> </ignoredUnusedDeclaredDependencies>
- Loading branch information
Showing
2 changed files
with
60 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters