하나의 부모 아래에 4 개의 하위 pom이 있습니다. 아이들 중 하나는 다른 3 개의 모듈 항아리가 들어있는 지퍼를 만드는 것입니다. 이것은 작동하지만 각각의 종속성을 선택하지는 않습니다.메이븐 어셈블리 플러그인 - 어셈블리에 다른 하위 종속성 포함
모듈 빌드의 pom.xml :
...
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<descriptors>
<descriptor>desc.xml</descriptor>
</descriptors>
</configuration>
</plugin>
...
desc.xml :
...
<moduleSets>
<moduleSet>
<binaries>
<unpack>false</unpack>
<dependencySets>
<dependencySet>
<unpack>false</unpack>
<scope>runtime</scope>
<outputDirectory>lib</outputDirectory>
</dependencySet>
</dependencySets>
</binaries>
</moduleSet>
</moduleSets>
...
결과의 'LIB'폴더가 생성되지 않습니다.
도움을 주시면 감사하겠습니다.
안녕하세요 solarwind이 있다는 것을 알고는에 대해 언급 해주십시오 답변 (도움이 더 필요하면) 또는 올바른 것으로 표시하십시오. 현재이 질문은 아직 답변되지 않은 목록에 있지만 의견이 없으면 이미 2 가지 답변이 있으므로 지금은 더 이상 얻을 수 없을 것입니다. – Jan