Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 9524e7d

Browse files
committed
Prepare for license renaming
1 parent cdb32d7 commit 9524e7d

File tree

3 files changed

+104
-0
lines changed

3 files changed

+104
-0
lines changed

Diff for: LICENSE.txt

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright (c) 2018-2025, NWO-I CWI and Swat.engineering
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
7+
1. Redistributions of source code must retain the above copyright notice,
8+
this list of conditions and the following disclaimer.
9+
10+
2. Redistributions in binary form must reproduce the above copyright notice,
11+
this list of conditions and the following disclaimer in the documentation
12+
and/or other materials provided with the distribution.
13+
14+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
15+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
18+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
19+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
20+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
21+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
24+
POSSIBILITY OF SUCH DAMAGE.

Diff for: pom.xml

+69
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
<!--
2+
3+
Copyright (c) 2018-2025, NWO-I CWI and Swat.engineering
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
1. Redistributions of source code must retain the above copyright notice,
10+
this list of conditions and the following disclaimer.
11+
12+
2. Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
20+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26+
POSSIBILITY OF SUCH DAMAGE.
27+
28+
-->
129
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
230
<modelVersion>4.0.0</modelVersion>
331

@@ -206,6 +234,47 @@
206234
</execution>
207235
</executions>
208236
</plugin>
237+
<plugin>
238+
<groupId>com.mycila</groupId>
239+
<artifactId>license-maven-plugin</artifactId>
240+
<!-- check and possible add license header
241+
run mvn license:format to automatically update all license headers
242+
and add missing ones -->
243+
<version>4.6</version>
244+
<configuration>
245+
<headerDefinitions>
246+
<headerDefinition>rascal_style.xml</headerDefinition>
247+
</headerDefinitions>
248+
<licenseSets>
249+
<licenseSet>
250+
<header>LICENSE.txt</header>
251+
<excludes>
252+
<exclude>rascal_style.xml</exclude>
253+
<exclude>checkstyle.xml</exclude>
254+
<exclude>**/README</exclude>
255+
<exclude>src/test/resources/**</exclude>
256+
<exclude>src/main/resources/**</exclude>
257+
<exclude>**/*.tpl</exclude>
258+
<exclude>META-INF/**</exclude>
259+
<exclude>.editorconfig</exclude>
260+
<exclude>CITATION</exclude>
261+
<exclude>FUNDING</exclude>
262+
</excludes>
263+
</licenseSet>
264+
</licenseSets>
265+
<mapping>
266+
<java>SLASHSTAR_STYLE</java>
267+
<rsc>RASCAL_STYLE</rsc>
268+
</mapping>
269+
</configuration>
270+
<executions>
271+
<execution>
272+
<goals>
273+
<goal>check</goal>
274+
</goals>
275+
</execution>
276+
</executions>
277+
</plugin>
209278
</plugins>
210279
</build>
211280

Diff for: rascal_style.xml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="ISO-8859-1"?>
2+
<additionalHeaders>
3+
<rascal_style>
4+
<firstLine>@license{</firstLine>
5+
<endLine>}</endLine>
6+
<firstLineDetectionPattern>@license\{.*$</firstLineDetectionPattern>
7+
<lastLineDetectionPattern>\}$</lastLineDetectionPattern>
8+
<allowBlankLines>true</allowBlankLines>
9+
<isMultiLine>true</isMultiLine>
10+
</rascal_style>
11+
</additionalHeaders>

0 commit comments

Comments
 (0)