maven的archetype:create时的错误
今天用以下面maven命令创建项目时,
mvn archetype:create -DgroupId=com.nuc.test -DartifactId=mytest
Reason: Error getting POM for 'org.apache.maven.plugins:maven-archetype-plugin' from the repository: Unable to read local copy of metadata: Cannot read metadata from '/home/enjiex/repo/org/apache/maven/plugins/maven-archetype-plugin/maven-metadata-central.xml': end tag name </head> must be the same as start tag <META> from line 7 (position: TEXT seen ...<META HTTP-EQUIV="expires" CONTENT="0">\n</head>... @8:8) org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST