4. Problem Set
20 dependencies chaotically
distributed per 5 modules
Review all modules to make
change in dependency
The worst case it takes 6 reviews
The worst case it takes 120 changes
Monday, May 21, 12
5. Version in property
<artifact.version>1.0</artifact.version>
<dependency>
<groupId>my-group1</groupId>
<artifactId>artifact</artifactId>
<version>${artifact.version}</version>
</dependency>
Monday, May 21, 12
9. Solution 1
All dependency configuration in
one place
The worst case it takes 1 review to
change ANY property of ANY
dependency
The worst case it takes 20 changes
Monday, May 21, 12
11. Problem Set 2
10 plugins chaotically distributed
per 5 modules
Duplicates
The worst case it takes 6 reviews to
update plugins
The worst case it takes 240
changes
Monday, May 21, 12
13. Solution 2
All plugins defines in one place
NO DUPLICATES
In the worst case it takes 1 review
to update plugins
In the worst case it takes 40
changes
Monday, May 21, 12
16. Problem Set 3
Separate unit tests and integration
tests
Integration environment to run
integration tests ONLY
Monday, May 21, 12
17. Solution 3
Integration profile
Common configuration in default
pluginManagement
Executions & configuration
customization in profile
Monday, May 21, 12
18. Thank you!
Anton Naumov
email: anton.naumow@gmail.com
twitter: antonnaumov
blog: http://antonnaumov.posterous.com
Monday, May 21, 12