license-maven-plugin icon indicating copy to clipboard operation
license-maven-plugin copied to clipboard

update-file-header seems have a problem with module-info.java

Open onacit opened this issue 10 months ago • 0 comments

When a module-info.java have been javadoc-ed, update-file-header seems not handling correctly.

/**
 * Defines packages for accessing information of financial institutions provided by <a
 * href="https://www.kftc.or.kr">긍융결재원 (KFTC)</a>
 *
 * @author Jin Kwon &lt;onacit_at_gmail.com&gt;
 * @see <a href="https://www.kftc.or.kr">긍융결재원(KFTC)</a>
 * @see <a href="https://www.kftc.or.kr/kftc/data/EgovBankList.do">금융회사코드 조회</a>
 */
module com.github.jinahya.kftc.financial.institution.codes {
    requires static lombok;
    exports com.github.jinahya.kftc.financial.institution.codes;
}

When update-file-header goal processed,

/**
 * Defines packages for accessing information of financial institutions provided by <a
 * href="https://www.kftc.or.kr">긍융결재원 (KFTC)</a>
 *
 * @author Jin Kwon &lt;
/*-
 * #%L
 * kftc-financial-institution-info
 * %%
 * Copyright (C) 2024 Jinahya, Inc.
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */
onacit_at_gmail.com&gt;
 * @see <a href="https://www.kftc.or.kr">긍융결재원(KFTC)</a>
 * @see <a href="https://www.kftc.or.kr/kftc/data/EgovBankList.do">금융회사코드 조회</a>
 */
module com.github.jinahya.kftc.financial.institution.codes {
    requires static lombok;
    exports com.github.jinahya.kftc.financial.institution.codes;
}

I need to, currently,

  • cut off the javadoc
  • do the update-file-header
  • paste the javadoc back

onacit avatar Apr 19 '24 02:04 onacit