私は少しprojectコトルに書かれています。私はclean compile assembly:single install
を実行すると、私は、エラーメッセージ、次のGET:「アセンブリ記述子が見つかりません」と表示されるのはなぜですか?このプロジェクトを構築中にエラーが発生しましたか?
Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:single
(default-cli) on project alma-econsim: Error reading assemblies: No assembly
descriptors found. -> [Help 1]
私jar-with-dependencies.xml
はsrc/main/assemblyに位置し、このようなpom.xmlで参照:
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-5</version>
<executions>
<execution>
<id>assembly</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
<configuration>
<descriptors>
<descriptor>src/main/assembly/jar-with-dependencies.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
しかし、私はまだエラーを取得します。依存関係を持つjarとしてパッケージ化できるようにするために、私のプロジェクトを修正するにはどうすればよいですか?