maven deploy异常
Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter
需要在POM中加入分发配置
<distributionManagement>
<repository>
<id>releases</id>
<name>releases</name>
<url>http://mavenhost/.../releases/</url>
</repository>
<snapshotRepository>
<id>snapshot</id>
<name>snapshot</name>
<url>http://mavenhost/.../snapshots/</url>
</snapshotRepository>
</distributionManagement>