静的コンテンツ(css、画像、JSなど)を含む別のプロジェクトがあり、テストのためにそれをjettyのWebルートディレクトリにコピーする必要があります。そのプロジェクトでは、すべての画像、CSSなどをパッケージ化したzipファイルを出力しました。
さまざまなクライアント用の仮想ホストプロジェクトがいくつかありますが、質問は、Mavenリポジトリにすでにインストールされているzipファイルをjetty Webルートに解凍するにはどうすればよいですか?
@アップデート:
Embedded error: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId= com.virtualhost -DartifactId=something
-Dversion=0.0.1 -Dpackaging=zip -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=c com.virtualhost -DartifactId=something-D
version=0.0.1 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[i
d]
com.virtualhost:something:zip:0.0.1
ウォルター