Skip to content

Commit 7c929da

Browse files
authored
Merge pull request #19 from evolvedbinary/license-decls
Add and enforce License declarations on Source files
2 parents 8c3b409 + e7be106 commit 7c929da

File tree

23 files changed

+385
-5
lines changed

23 files changed

+385
-5
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ target/
22

33
*.iml
44
.idea/
5+
6+
.DS_Store/

pom.xml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.exist-db</groupId>
88
<artifactId>exist-apps-parent</artifactId>
9-
<version>1.8</version>
9+
<version>1.10.0</version>
1010
<relativePath />
1111
</parent>
1212

@@ -98,6 +98,42 @@
9898
</testResources>
9999

100100
<plugins>
101+
<plugin>
102+
<groupId>com.mycila</groupId>
103+
<artifactId>license-maven-plugin</artifactId>
104+
<version>4.0.rc2</version>
105+
<configuration>
106+
<licenseSets>
107+
<licenseSet>
108+
<header>com/mycila/maven/plugin/license/templates/AGPL-3.txt</header>
109+
<properties>
110+
<owner>${project.organization.name}</owner>
111+
<email>[email protected]</email>
112+
</properties>
113+
<excludes>
114+
<exclude>.clabot</exclude>
115+
<exclude>pom.xml</exclude>
116+
<exclude>xquery-license-style.xml</exclude>
117+
<exclude>src/test/resources-filtered/deploy-xar.xq.xml</exclude>
118+
</excludes>
119+
</licenseSet>
120+
</licenseSets>
121+
<headerDefinitions>
122+
<headerDefinition>xquery-license-style.xml</headerDefinition>
123+
</headerDefinitions>
124+
<mapping>
125+
<xq>xquery_style</xq>
126+
<xqm>xquery_style</xqm>
127+
</mapping>
128+
</configuration>
129+
<executions>
130+
<execution>
131+
<goals>
132+
<goal>check</goal>
133+
</goals>
134+
</execution>
135+
</executions>
136+
</plugin>
101137

102138
<!-- start up Server in Docker for integration-test -->
103139
<plugin>

src/main/xar-resources-filtered/modules/config.xqm

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
(:
2+
: Fusion Studio API - API for Fusion Studio
3+
: Copyright © 2017 Evolved Binary ([email protected])
4+
:
5+
: This program is free software: you can redistribute it and/or modify
6+
: it under the terms of the GNU Affero General Public License as published by
7+
: the Free Software Foundation, either version 3 of the License, or
8+
: (at your option) any later version.
9+
:
10+
: This program is distributed in the hope that it will be useful,
11+
: but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
: GNU Affero General Public License for more details.
14+
:
15+
: You should have received a copy of the GNU Affero General Public License
16+
: along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
:)
118
xquery version "3.1";
219

320
module namespace config = "http://fusiondb.com/ns/studio/api/config";

src/main/xar-resources/api.xqm

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
(:
2+
: Fusion Studio API - API for Fusion Studio
3+
: Copyright © 2017 Evolved Binary ([email protected])
4+
:
5+
: This program is free software: you can redistribute it and/or modify
6+
: it under the terms of the GNU Affero General Public License as published by
7+
: the Free Software Foundation, either version 3 of the License, or
8+
: (at your option) any later version.
9+
:
10+
: This program is distributed in the hope that it will be useful,
11+
: but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
: GNU Affero General Public License for more details.
14+
:
15+
: You should have received a copy of the GNU Affero General Public License
16+
: along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
:)
118
xquery version "3.1";
219

320
module namespace api = "http://fusiondb.com/studio/api";

src/main/xar-resources/collection.xconf

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,23 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Fusion Studio API - API for Fusion Studio
5+
Copyright © 2017 Evolved Binary ([email protected])
6+
7+
This program is free software: you can redistribute it and/or modify
8+
it under the terms of the GNU Affero General Public License as published by
9+
the Free Software Foundation, either version 3 of the License, or
10+
(at your option) any later version.
11+
12+
This program is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
GNU Affero General Public License for more details.
16+
17+
You should have received a copy of the GNU Affero General Public License
18+
along with this program. If not, see <http://www.gnu.org/licenses/>.
19+
20+
-->
221
<collection xmlns="http://exist-db.org/collection-config/1.0">
322
<triggers>
423
<trigger class="org.exist.extensions.exquery.restxq.impl.RestXqTrigger"/>

src/main/xar-resources/modules/collection.xqm

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
(:
2+
: Fusion Studio API - API for Fusion Studio
3+
: Copyright © 2017 Evolved Binary ([email protected])
4+
:
5+
: This program is free software: you can redistribute it and/or modify
6+
: it under the terms of the GNU Affero General Public License as published by
7+
: the Free Software Foundation, either version 3 of the License, or
8+
: (at your option) any later version.
9+
:
10+
: This program is distributed in the hope that it will be useful,
11+
: but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
: GNU Affero General Public License for more details.
14+
:
15+
: You should have received a copy of the GNU Affero General Public License
16+
: along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
:)
118
xquery version "3.1";
219

320
module namespace col = "http://fusiondb.com/ns/studio/api/collection";

src/main/xar-resources/modules/document.xqm

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
(:
2+
: Fusion Studio API - API for Fusion Studio
3+
: Copyright © 2017 Evolved Binary ([email protected])
4+
:
5+
: This program is free software: you can redistribute it and/or modify
6+
: it under the terms of the GNU Affero General Public License as published by
7+
: the Free Software Foundation, either version 3 of the License, or
8+
: (at your option) any later version.
9+
:
10+
: This program is distributed in the hope that it will be useful,
11+
: but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
: GNU Affero General Public License for more details.
14+
:
15+
: You should have received a copy of the GNU Affero General Public License
16+
: along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
:)
118
xquery version "3.1";
219

320
module namespace doc = "http://fusiondb.com/ns/studio/api/document";

src/main/xar-resources/modules/error.xqm

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
(:
2+
: Fusion Studio API - API for Fusion Studio
3+
: Copyright © 2017 Evolved Binary ([email protected])
4+
:
5+
: This program is free software: you can redistribute it and/or modify
6+
: it under the terms of the GNU Affero General Public License as published by
7+
: the Free Software Foundation, either version 3 of the License, or
8+
: (at your option) any later version.
9+
:
10+
: This program is distributed in the hope that it will be useful,
11+
: but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
: GNU Affero General Public License for more details.
14+
:
15+
: You should have received a copy of the GNU Affero General Public License
16+
: along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
:)
118
xquery version "3.1";
219

320
module namespace perr = "http://fusiondb.com/ns/studio/api/error";

src/main/xar-resources/modules/explorer.xqm

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
(:
2+
: Fusion Studio API - API for Fusion Studio
3+
: Copyright © 2017 Evolved Binary ([email protected])
4+
:
5+
: This program is free software: you can redistribute it and/or modify
6+
: it under the terms of the GNU Affero General Public License as published by
7+
: the Free Software Foundation, either version 3 of the License, or
8+
: (at your option) any later version.
9+
:
10+
: This program is distributed in the hope that it will be useful,
11+
: but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
: GNU Affero General Public License for more details.
14+
:
15+
: You should have received a copy of the GNU Affero General Public License
16+
: along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
:)
118
xquery version "3.1";
219

320
module namespace exp = "http://fusiondb.com/ns/studio/api/explorer";

src/main/xar-resources/modules/http-status-codes.xqm

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
(:
2+
: Fusion Studio API - API for Fusion Studio
3+
: Copyright © 2017 Evolved Binary ([email protected])
4+
:
5+
: This program is free software: you can redistribute it and/or modify
6+
: it under the terms of the GNU Affero General Public License as published by
7+
: the Free Software Foundation, either version 3 of the License, or
8+
: (at your option) any later version.
9+
:
10+
: This program is distributed in the hope that it will be useful,
11+
: but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
: GNU Affero General Public License for more details.
14+
:
15+
: You should have received a copy of the GNU Affero General Public License
16+
: along with this program. If not, see <http://www.gnu.org/licenses/>.
17+
:)
118
xquery version "1.0";
219

320
(:~

0 commit comments

Comments
 (0)