mvn deploy
Liferay ポートレットで maven を使用してゴールを実行しようとしていますが、次のエラーが発生します
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.
2:deploy (default-deploy) on project MyPortlet: Deployment failed: repository eleme
nt was not specified in the POM inside distributionManagement element or in -Dal
tDeploymentRepository=id::layout::url parameter -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
rg.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on pro
ject RiskID: Deployment failed: repository element was not specified in the POM
inside distributionManagement element or in -DaltDeploymentRepository=id::layout
pom.xml にタグを含めないとこのエラーが返されることは理解していますが、<distributionManagement />
これをリモートの場所にパッケージ化するのではなく、ローカルの tomcat インスタンスにデプロイしたいと考えています。これは設定できますか?