mathieucarbou / license-maven-plugin

Manage license headers in your source files

Home Page:https://oss.carbou.me/license-maven-plugin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

license:remove Doesn't Work for XML_PER_LINE

emmberk opened this issue · comments

Plugin definition:

<plugin>
    <groupId>com.mycila</groupId>
    <artifactId>license-maven-plugin</artifactId>
    <version>4.0.rc2</version>
    <configuration>
        <header>license-header.txt</header>
        <includes>
            <include>**/*.xml</include>
        </includes>
        <mapping>
            <xml>XML_PER_LINE</xml>
        </mapping>
    </configuration>
    <executions>
        <execution>
            <goals>
                <goal>check</goal>
            </goals>
        </execution>
    </executions>
</plugin>

license:check and license:format appear to work, but license:remove doesn't actually remove any of the headers.

thanks! yes its a bug, I can reproduce!