html页面xml标签不识别,如何修复设置xml中无法识别的标签?

我有setting.xml

xmlns="http://maven.apache.org/SETTINGS/1.0.0"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

Nexus.Codehaus Snapshots

Nexus Mirror of Codehaus Snapshots

http://build/nexus/content/repositories/codehaus-snapshots

Codehaus Snapshots

Nexus

Nexus Public Mirror

http://nexus.other.com/content/groups/public

Nexus

TomcatServer

admin

password

quickBuild

false

true

true

true

true

org.apache.maven.plugins

maven-compiler-plugin

${java.version}

${java.version}

true

lines,vars,source

org.apache.maven.plugins

maven-javadoc-plugin

some

none

org.codehaus.mojo

findbugs-maven-plugin

some2

none

org.apache.maven.plugins

maven-pmd-plugin

some3

none

org.apache.maven.plugins

maven-checkstyle-plugin

some4

none

org.codehaus.mojo

jaxws-maven-plugin

some5

none

repository-profile

false

maven2-repository.dev.java.net

Java.net Repository for Maven

http://download.java.net/maven/2/

default

在maven构建开始时,我有一条消息:

[WARNING]

[WARNING] Some problems were encountered while building the effective settings

[WARNING] Unrecognised tag: 'server' (position: START_TAG seen ...\r\n\t\r\n\t... @31:10) @ D:\directory\.m2\settings.xml,line 31,column 10

[WARNING]

我不明白为什么?据我所知,服务器标签和镜像是有效的(我认为是因为插件和依赖解析工作).我怎么解决这个问题?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值