thingsboard / thingsboard-extensions

13 stars 23 forks source link

Maven license plugin should skip by default #39

Closed skewty closed 2 years ago

skewty commented 2 years ago

pom.xml

                <plugin>
                    <groupId>com.mycila</groupId>
                    <artifactId>license-maven-plugin</artifactId>
                    <version>3.0</version>
                    <configuration>
                        <skip>true</skip>

The included configuration gives ThingsBoard the Copyright which is likely never what anyone using this repository wants. Perhaps it is easiest to leave the license header at the top of your included examples and just disable the inspection by default?

Then the repository user can delete ThingsBoard's examples, change the license and re-enable the inspection. With the inspection enabled by default following the "mvn" commands in the README with a different license header will give errors and will not complete.