maven问题处理

 

 

maven去掉“Using platform encoding (GBK actually) to copy filtered resources”

在install maven项目的时候如果有:

[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!

提示,这说明你没有指定编码,只能按照平台的默认编码进行拷贝。如果原来编码使用的是UTF-8进行保存,而这里拷贝用GBK肯定会出现乱码的。所以要改成自己的编码保存的方式。

添加:

    <properties>
        <project.build.sourceEncoding>
            UTF-8
        </project.build.sourceEncoding>
    </properties>

添加后:

Using 'UTF-8' encoding to copy filtered resources.

会出现如上的提示。

 

 

 

org.codehaus.plexus.archiver.jar.Manifest.merge(org.codehaus.plexus.archiver

In the mean time the workaround is to set the maven-jar-plugin version to 2.3.2.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值