У меня есть несколько модулей в одном проекте. Я упаковал модуль как jar и включил его как зависимость в другой модуль. Я хочу, чтобы этот jar был сгенерирован и установлен в указанную c папку.
Зависимость модуля A, включенного в B
Указание папки для копирования банку
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<configuration>
<includeArtifactIds>
<artifactId>rpgenerator</artifactId>
</includeArtifactIds>
<includeGroupIds>
<groupId>a.b.c</groupId>
</includeGroupIds>
<outputDirectory>${project.basedir}/reports/</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
Но я не вижу банку в папке B.reports.
Любая помощь будет оценена.