Skip to content

Commit

Permalink
Move license header files to a resource jar to avoid having relative …
Browse files Browse the repository at this point in the history
…file paths
  • Loading branch information
klaren committed Jun 8, 2018
1 parent aa80444 commit 01cc2a3
Show file tree
Hide file tree
Showing 115 changed files with 239 additions and 333 deletions.
26 changes: 26 additions & 0 deletions build/pom.xml
@@ -0,0 +1,26 @@
<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">
<modelVersion>4.0.0</modelVersion>

<groupId>org.neo4j.build</groupId>
<artifactId>resources</artifactId>
<version>3.4.1-SNAPSHOT</version>

<name>Neo4j - Build resources</name>

<build>
<plugins>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<executions>
<execution>
<id>check-licenses</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +1,4 @@
Copyright (c) ${inceptionYear}-${currentYear} "Neo4j,"
Copyright (c) ${project.inceptionYear}-${currentYear} "Neo4j,"
Neo4j Sweden AB [http://neo4j.com]

This file is part of Neo4j Enterprise Edition. The included source
Expand Down
@@ -1,4 +1,4 @@
Copyright (c) ${inceptionYear}-${currentYear} "Neo4j,"
Copyright (c) ${project.inceptionYear}-${currentYear} "Neo4j,"
Neo4j Sweden AB [http://neo4j.com]

Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
@@ -1,4 +1,4 @@
Copyright (c) ${inceptionYear}-${currentYear} "Neo4j,"
Copyright (c) ${project.inceptionYear}-${currentYear} "Neo4j,"
Neo4j Sweden AB [http://neo4j.com]

This file is part of Neo4j.
Expand Down
Expand Up @@ -7,17 +7,17 @@
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 Affero General Public License for more details.
GNU General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<licensing-requirements>
Expand Down
Expand Up @@ -7,17 +7,17 @@
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 Affero General Public License for more details.
GNU General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<licensing-requirements>
Expand Down
4 changes: 2 additions & 2 deletions community/bolt/pom.xml
Expand Up @@ -12,8 +12,8 @@
</parent>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.bolt</moduleName>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions community/codegen/pom.xml
Expand Up @@ -8,8 +8,8 @@
</parent>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.codegen</moduleName>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions community/collections/pom.xml
Expand Up @@ -8,8 +8,8 @@
</parent>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.collection</moduleName>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions community/command-line/pom.xml
Expand Up @@ -15,8 +15,8 @@
<packaging>jar</packaging>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.commandline</moduleName>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions community/common/pom.xml
Expand Up @@ -8,8 +8,8 @@
</parent>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.common</moduleName>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions community/configuration/pom.xml
Expand Up @@ -8,8 +8,8 @@
</parent>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.configuration</moduleName>
</properties>

Expand Down
5 changes: 2 additions & 3 deletions community/consistency-check/pom.xml
Expand Up @@ -15,9 +15,8 @@
<url>http://components.neo4j.org/${project.artifactId}/${project.version}</url>

<properties>
<neo4j.version>${project.version}</neo4j.version>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.consistency</moduleName>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions community/csv/pom.xml
Expand Up @@ -8,8 +8,8 @@
</parent>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.csv</moduleName>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion community/cypher/cypher-logical-plans-3.4/pom.xml
Expand Up @@ -18,7 +18,7 @@

<properties>
<moduleName>org.neo4j.cypher.internal.v3_4.logical.plans</moduleName>
<license-text.header>../../../build/GPL-3-header.txt</license-text.header>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
</properties>

<scm>
Expand Down
2 changes: 1 addition & 1 deletion community/cypher/cypher-planner-3.4/pom.xml
Expand Up @@ -17,7 +17,7 @@

<properties>
<moduleName>org.neo4j.cypher.internal.compiler.v3_4</moduleName>
<license-text.header>../../../build/GPL-3-header.txt</license-text.header>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
</properties>

<scm>
Expand Down
2 changes: 1 addition & 1 deletion community/cypher/cypher/pom.xml
Expand Up @@ -19,7 +19,7 @@

<properties>
<moduleName>org.neo4j.cypher</moduleName>
<license-text.header>../../../build/GPL-3-header.txt</license-text.header>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
</properties>

<scm>
Expand Down
4 changes: 2 additions & 2 deletions community/cypher/expressions-3.4/pom.xml
Expand Up @@ -23,8 +23,8 @@
</scm>

<properties>
<licensing.prepend.text>notice-asl-prefix.txt</licensing.prepend.text>
<license-text.header>${project.baseUri}/ASL-2-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-asl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/ASL-2-header.txt</license-text.header>
<moduleName>org.neo4j.cypher.internal.v3_4.expressions</moduleName>
</properties>

Expand Down
14 changes: 0 additions & 14 deletions community/cypher/frontend-3.4/ASL-2-header.txt

This file was deleted.

4 changes: 2 additions & 2 deletions community/cypher/frontend-3.4/pom.xml
Expand Up @@ -35,8 +35,8 @@
</scm>

<properties>
<licensing.prepend.text>notice-asl-prefix.txt</licensing.prepend.text>
<license-text.header>${project.baseUri}/ASL-2-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-asl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/ASL-2-header.txt</license-text.header>
<moduleName>org.neo4j.cypher.internal.frontend.v3_4</moduleName>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion community/cypher/interpreted-runtime/pom.xml
Expand Up @@ -24,7 +24,7 @@

<properties>
<moduleName>org.neo4j.cypher.internal.runtime.interpreted</moduleName>
<license-text.header>../../../build/GPL-3-header.txt</license-text.header>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
</properties>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion community/cypher/ir-3.4/pom.xml
Expand Up @@ -24,7 +24,7 @@

<properties>
<moduleName>org.neo4j.cypher.internal.ir.v3_4</moduleName>
<license-text.header>../../../build/GPL-3-header.txt</license-text.header>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
</properties>

<licenses>
Expand Down
2 changes: 1 addition & 1 deletion community/cypher/planner-spi-3.4/pom.xml
Expand Up @@ -24,7 +24,7 @@

<properties>
<moduleName>org.neo4j.cypher.internal.planner.v3_4.spi</moduleName>
<license-text.header>../../../build/GPL-3-header.txt</license-text.header>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
</properties>

<licenses>
Expand Down
4 changes: 2 additions & 2 deletions community/cypher/pom.xml
Expand Up @@ -18,8 +18,8 @@
<url>http://components.neo4j.org/${project.artifactId}/${project.version}</url>

<properties>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
</properties>

<scm>
Expand Down
2 changes: 1 addition & 1 deletion community/cypher/runtime-util/pom.xml
Expand Up @@ -24,7 +24,7 @@

<properties>
<moduleName>org.neo4j.cypher.internal.runtime.util</moduleName>
<license-text.header>../../../build/GPL-3-header.txt</license-text.header>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
</properties>

<licenses>
Expand Down
14 changes: 0 additions & 14 deletions community/cypher/util-3.4/ASL-2-header.txt

This file was deleted.

4 changes: 2 additions & 2 deletions community/cypher/util-3.4/pom.xml
Expand Up @@ -23,8 +23,8 @@
</scm>

<properties>
<licensing.prepend.text>notice-asl-prefix.txt</licensing.prepend.text>
<license-text.header>${project.baseUri}/ASL-2-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-asl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/ASL-2-header.txt</license-text.header>
<moduleName>org.neo4j.cypher.internal.util.v3_4</moduleName>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions community/dbms/pom.xml
Expand Up @@ -13,8 +13,8 @@
<version>3.4.1-SNAPSHOT</version>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.dbms</moduleName>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions community/graph-algo/pom.xml
Expand Up @@ -8,8 +8,8 @@
</parent>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<test.runner.jvm.settings.additional>
-Dorg.neo4j.kernel.impl.api.KernelStatement.trackStatements=false
</test.runner.jvm.settings.additional>
Expand Down
4 changes: 2 additions & 2 deletions community/graphdb-api/pom.xml
Expand Up @@ -8,8 +8,8 @@
</parent>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.graphdb</moduleName>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions community/import-tool/pom.xml
Expand Up @@ -8,8 +8,8 @@
</parent>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.tooling.import</moduleName>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions community/index/pom.xml
Expand Up @@ -8,8 +8,8 @@
</parent>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.index</moduleName>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions community/io/pom.xml
Expand Up @@ -8,8 +8,8 @@
</parent>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.io</moduleName>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions community/jmx/pom.xml
Expand Up @@ -16,8 +16,8 @@
<url>http://components.neo4j.org/${project.artifactId}/${project.version}</url>

<properties>
<license-text.header>../../build/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>notice-gpl-prefix.txt</licensing.prepend.text>
<license-text.header>headers/GPL-3-header.txt</license-text.header>
<licensing.prepend.text>licensing/notice-gpl-prefix.txt</licensing.prepend.text>
<moduleName>org.neo4j.jmx</moduleName>
</properties>

Expand Down

0 comments on commit 01cc2a3

Please sign in to comment.