Cannot change license in Maven

149 Views Asked by At

I have a Maven project with the following header in all files :

/*
 * 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
 */

I am trying to change it to :

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

or :

/*
 * 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 ...
 */

but when I build the project, I get the following error :

Line does not match expected header line of '^ * This program and the accompanying materials are made available under the$'. [RegexpHeader]

How can I change it with no error?

0

There are 0 best solutions below