无法在Maven中更改许可证

时间:2017-08-04 07:22:21

标签: maven copyright-display license-maven-plugin

我有一个Maven项目,所有文件中都包含以下标题:

const obj = {aaa: '1', bbb: '222'};
this.http.get('test', { params: obj}).subscribe();

我正在尝试将其更改为:

/*
 * Copyright © 2017 Maria Papadopoulou.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */

或:

/*
 * Copyright © 2017 Maria Papadopoulou.  All rights reserved.
 *
 */

但是当我构建项目时,我收到以下错误:

  

行与'^ *的预期标题行不匹配此程序及随附的材料在$'下可用。 [RegexpHeader]

如何更改它而没有错误?

0 个答案:

没有答案