4Jul/100
Dumping Maven Dependencies to Specific Folder
In order to dump all specified dependencies, which are specified in pom.xml, one has to use Maven Dependency Plugin:
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${dependencies.dir}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
where ${dependencies.dir} stands for folder where to dump the dependencies.
18Jun/100
Why Cyclic Project Dependencies Are Bad
Imagine you have
- a project
projectAwith submodulesprojectA.module1and-
projectA.module2
- a project
projectB
projectB dependes on projectA.module1.
projectA.module2 depends on projectA.module1 too and on projectB.
What is wrong here? Cyclic dependency! When