admin管理员组文章数量:1417802
I am getting the below error:
Failed to execute goal .apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project myweb:
Execution default-war of goal .apache.maven.plugins:maven-war-plugin:2.1.1:war failed:
Unable to load the mojo 'war' in the plugin '.apache.maven.plugins:maven-war-plugin:2.1.1' due to an API incompatibility:
.codehaus.plexusponent.repository.exception.ComponentLookupException: Cannot access defaults field of Properties
My Code:
<project xmlns=".0.0" xmlns:xsi=";
xsi:schemaLocation=".0.0 .xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>in.javahome</groupId>
<artifactId>myweb</artifactId>
<packaging>war</packaging>
<version>8.6.9</version>
<name>Java Home myweb</name>
<url>;/url>
<properties>
<docker.image.prefix>kammana</docker.image.prefix>
<sonar.host.url>http://18.181.164.81:9000/</sonar.host.url>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<distributionManagement>
<snapshotRepository>
<id>nexusRepo</id>
<url>http://34.208.218.12:8081/repository/sample-snapshots/</url>
</snapshotRepository>
本文标签: mavenWhat is wrong with pomxmlStack Overflow
版权声明:本文标题:maven - What is wrong with pom.xml? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744623162a2616151.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论