Skip to content

Commit

Permalink
Change license to MIT No Attribution in java-custom-rules-example con…
Browse files Browse the repository at this point in the history
…figuration
  • Loading branch information
alban-auzeill committed Oct 15, 2021
1 parent c6a808e commit d04d442
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/java-custom-rules-example/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
MIT No Attribution

Copyright 2021, SonarSource SA

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
5 changes: 5 additions & 0 deletions docs/java-custom-rules-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ mvn clean install -f pom_SQ_7_9_LTS.xml
```

For more details about how to write custom rules, please refer to the official tutorial, [Writing Custom Java Rules 101](../CUSTOM_RULES_101.md).

### License

The [GNU LGPL 3.0](https://www.gnu.org/licenses/lgpl.txt) license of this GitHub repository does not apply in the `java-custom-rules-example` directory.
All contents under the `java-custom-rules-example` directory are licensed under the more permissive [MIT No Attribution](LICENSE.txt) license.
7 changes: 7 additions & 0 deletions docs/java-custom-rules-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,13 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<header>${project.basedir}/src/main/resources/license-header.txt</header>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Copyright (C) ${license.years} ${license.owner} - ${license.mailto}
This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license.

0 comments on commit d04d442

Please sign in to comment.