Skip to content

Commit

Permalink
[license] Correct licensing of exist-samples
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Sep 14, 2020
1 parent a1ddcee commit b1fc56e
Show file tree
Hide file tree
Showing 32 changed files with 728 additions and 6 deletions.
25 changes: 19 additions & 6 deletions exist-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,25 @@
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<configuration>
<includes>
<include>**/*.java</include>
<include>**/*.sh</include>
<include>**/*.pl</include>
<include>**/*.py</include>
</includes>
<licenseSets>
<licenseSet>
<header>${project.parent.relativePath}/LGPL-21-license.template.txt</header>
<excludes>
<exclude>src/main/resources/org/exist/samples/biblio.rdf</exclude>
<exclude>src/main/resources/org/exist/samples/shakespeare/hamlet.xml</exclude>
<exclude>src/main/resources/org/exist/samples/shakespeare/macbeth.xml</exclude>
<exclude>src/main/resources/org/exist/samples/shakespeare/play.dtd</exclude>
<exclude>src/main/resources/org/exist/samples/shakespeare/r_and_j.xml</exclude>
<exclude>src/main/resources/org/exist/samples/shakespeare/shakes.css</exclude>
<exclude>src/main/resources/org/exist/samples/shakespeare/shakes.xsl</exclude>
<exclude>src/main/resources/org/exist/samples/validation/dtd/**</exclude>
<exclude>src/main/resources/org/exist/samples/validation/personal/**</exclude>
<exclude>src/main/resources/org/exist/samples/xinclude/scripts/syntax/**</exclude>
<exclude>src/main/resources/org/exist/samples/xinclude/styles/**</exclude>
<exclude>src/main/resources/org/exist/samples/validation/tournament/**</exclude>
</excludes>
</licenseSet>
</licenseSets>
</configuration>
</plugin>
</plugins>
Expand Down
23 changes: 23 additions & 0 deletions exist-samples/src/main/resources/org/exist/samples/acronyms.xconf
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors
[email protected]
http://www.exist-db.org
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<collection xmlns="http://exist-db.org/collection-config/1.0">
<!-- Defines a bunch of numeric indexes on the mondial collection.
This file should be stored into /db/system/config/db/mondial.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
<?xml version="1.0"?>
<!--
eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors
[email protected]
http://www.exist-db.org
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<project basedir="" default="store" name="exist-ant-tasks">

<path id="classpath.core">
Expand Down
23 changes: 23 additions & 0 deletions exist-samples/src/main/resources/org/exist/samples/ant/build.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
<?xml version="1.0"?>
<!--
eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors
[email protected]
http://www.exist-db.org
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<project default="all" basedir="." xmlns:xdb="http://exist-db.org/ant">
<description> eXist ant task test </description>

Expand Down
23 changes: 23 additions & 0 deletions exist-samples/src/main/resources/org/exist/samples/ant/migrate.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
<?xml version='1.0'?>
<!--
eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors
[email protected]
http://www.exist-db.org
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<project name="exist-data-migrate" default="migrate" xmlns:xdb="http://exist-db.org/ant">
<description>Migrate data from one instance of eXist to another</description>

Expand Down
23 changes: 23 additions & 0 deletions exist-samples/src/main/resources/org/exist/samples/examples.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
<?xml version="1.0"?>
<!--
eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors
[email protected]
http://www.exist-db.org
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->

<!--
This file contains example queries for the web interface
Expand Down
23 changes: 23 additions & 0 deletions exist-samples/src/main/resources/org/exist/samples/mondial.xconf
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors
[email protected]
http://www.exist-db.org
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<collection xmlns="http://exist-db.org/collection-config/1.0">
<validation mode="auto"/>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors
[email protected]
http://www.exist-db.org
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<collection xmlns="http://exist-db.org/collection-config/1.0">
<!-- Defines a bunch of numeric indexes on the mondial collection.
This file should be stored into /db/system/config/db/mondial.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
<?xml version='1.0'?>
<!--
eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors
[email protected]
http://www.exist-db.org
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<!-- $Id$ -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://jmvanel.free.fr/xsd/addressBook" xmlns="http://jmvanel.free.fr/xsd/addressBook" elementFormDefault="qualified">
<xsd:attribute name="uselessAttribute" type="xsd:string"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
<?xml version='1.0'?>
<!--
eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors
[email protected]
http://www.exist-db.org
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<!-- $Id$ -->
<addressBook xmlns="http://jmvanel.free.fr/xsd/addressBook">
<owner>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
<?xml version='1.0'?>
<!--
eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors
[email protected]
http://www.exist-db.org
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<!-- $Id$ -->
<addressBook xmlns="http://jmvanel.free.fr/xsd/addressBook">
<owner>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
<?xml version="1.0"?>
<!--
eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors
[email protected]
http://www.exist-db.org
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<!-- $Id$ -->
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<uri name="http://jmvanel.free.fr/xsd/addressBook" uri="addressbook.xsd"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors
[email protected]
http://www.exist-db.org
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-->
<!-- $Id$ -->
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<uri name="MyNameSpace" uri="schemas/MyNameSpace.xsd" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
<?xml encoding="UTF-8"?>
<!--

eXist-db Open Source Native XML Database
Copyright (C) 2001 The eXist-db Authors

[email protected]
http://www.exist-db.org

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

-->

<!ELEMENT A (b,c,Z)>
<!ATTLIST A
Expand Down
Loading

0 comments on commit b1fc56e

Please sign in to comment.