Skip to content

Commit f8ca193

Browse files
committed
Add third party code license blurbs
1 parent 3185ab8 commit f8ca193

22 files changed

+445
-3
lines changed

NOTICE.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
========================================================================
2+
Portions of this project were adapted from no-package-cycles-enforcer-rule:
3+
https://github.com/andrena/no-package-cycles-enforcer-rule
4+
5+
Copyright 2013 - 2018 David Burkhart, Ben Romberg, Daniel Galan y Martins,
6+
Bastian Feigl, Marc Philipp, and Carsten Otto.
7+
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
19+
========================================================================

src/main/java/org/scijava/maven/plugin/enforcer/AbstractPackageEnforcementRule.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11

2+
/* ========================================================================
3+
* This file was adapted from the no-package-cycles-enforcer-rule project:
4+
* https://github.com/andrena/no-package-cycles-enforcer-rule
5+
*
6+
* Copyright 2013 - 2018 David Burkhart, Ben Romberg, Daniel Galan y Martins,
7+
* Bastian Feigl, Marc Philipp, and Carsten Otto.
8+
*
9+
* Licensed under the Apache License, Version 2.0 (the "License");
10+
* you may not use this file except in compliance with the License.
11+
* You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS,
17+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
* See the License for the specific language governing permissions and
19+
* limitations under the License.
20+
* ======================================================================== */
21+
222
package org.scijava.maven.plugin.enforcer;
323

424
import java.io.File;

src/main/java/org/scijava/maven/plugin/enforcer/CollectionOutput.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
2+
/* ========================================================================
3+
* This file was adapted from the no-package-cycles-enforcer-rule project:
4+
* https://github.com/andrena/no-package-cycles-enforcer-rule
5+
*
6+
* Copyright 2013 - 2018 David Burkhart, Ben Romberg, Daniel Galan y Martins,
7+
* Bastian Feigl, Marc Philipp, and Carsten Otto.
8+
*
9+
* Licensed under the Apache License, Version 2.0 (the "License");
10+
* you may not use this file except in compliance with the License.
11+
* You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS,
17+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
* See the License for the specific language governing permissions and
19+
* limitations under the License.
20+
* ======================================================================== */
21+
122
package org.scijava.maven.plugin.enforcer;
223

324
import java.util.Arrays;

src/main/java/org/scijava/maven/plugin/enforcer/DirectoriesWithClasses.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
2+
/* ========================================================================
3+
* This file was adapted from the no-package-cycles-enforcer-rule project:
4+
* https://github.com/andrena/no-package-cycles-enforcer-rule
5+
*
6+
* Copyright 2013 - 2018 David Burkhart, Ben Romberg, Daniel Galan y Martins,
7+
* Bastian Feigl, Marc Philipp, and Carsten Otto.
8+
*
9+
* Licensed under the Apache License, Version 2.0 (the "License");
10+
* you may not use this file except in compliance with the License.
11+
* You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS,
17+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
* See the License for the specific language governing permissions and
19+
* limitations under the License.
20+
* ======================================================================== */
21+
122
package org.scijava.maven.plugin.enforcer;
223

324
import static java.util.Collections.unmodifiableList;

src/main/java/org/scijava/maven/plugin/enforcer/JavaClassNameComparator.java

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
2+
/* ========================================================================
3+
* This file was adapted from the no-package-cycles-enforcer-rule project:
4+
* https://github.com/andrena/no-package-cycles-enforcer-rule
5+
*
6+
* Copyright 2013 - 2018 David Burkhart, Ben Romberg, Daniel Galan y Martins,
7+
* Bastian Feigl, Marc Philipp, and Carsten Otto.
8+
*
9+
* Licensed under the Apache License, Version 2.0 (the "License");
10+
* you may not use this file except in compliance with the License.
11+
* You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS,
17+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
* See the License for the specific language governing permissions and
19+
* limitations under the License.
20+
* ======================================================================== */
21+
122
package org.scijava.maven.plugin.enforcer;
223

324
import java.util.Comparator;
@@ -10,4 +31,4 @@ public enum JavaClassNameComparator implements Comparator<JavaClass> {
1031
public int compare(JavaClass class1, JavaClass class2) {
1132
return class1.getName().compareTo(class2.getName());
1233
}
13-
}
34+
}

src/main/java/org/scijava/maven/plugin/enforcer/JavaPackageListComparator.java

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
2+
/* ========================================================================
3+
* This file was adapted from the no-package-cycles-enforcer-rule project:
4+
* https://github.com/andrena/no-package-cycles-enforcer-rule
5+
*
6+
* Copyright 2013 - 2018 David Burkhart, Ben Romberg, Daniel Galan y Martins,
7+
* Bastian Feigl, Marc Philipp, and Carsten Otto.
8+
*
9+
* Licensed under the Apache License, Version 2.0 (the "License");
10+
* you may not use this file except in compliance with the License.
11+
* You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS,
17+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
* See the License for the specific language governing permissions and
19+
* limitations under the License.
20+
* ======================================================================== */
21+
122
package org.scijava.maven.plugin.enforcer;
223

324
import java.util.Comparator;
@@ -11,4 +32,4 @@ public enum JavaPackageListComparator implements Comparator<List<JavaPackage>> {
1132
public int compare(List<JavaPackage> package1, List<JavaPackage> package2) {
1233
return package1.get(0).getName().compareTo(package2.get(0).getName());
1334
}
14-
}
35+
}

src/main/java/org/scijava/maven/plugin/enforcer/JavaPackageNameComparator.java

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
2+
/* ========================================================================
3+
* This file was adapted from the no-package-cycles-enforcer-rule project:
4+
* https://github.com/andrena/no-package-cycles-enforcer-rule
5+
*
6+
* Copyright 2013 - 2018 David Burkhart, Ben Romberg, Daniel Galan y Martins,
7+
* Bastian Feigl, Marc Philipp, and Carsten Otto.
8+
*
9+
* Licensed under the Apache License, Version 2.0 (the "License");
10+
* you may not use this file except in compliance with the License.
11+
* You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS,
17+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
* See the License for the specific language governing permissions and
19+
* limitations under the License.
20+
* ======================================================================== */
21+
122
package org.scijava.maven.plugin.enforcer;
223

324
import java.util.Comparator;
@@ -10,4 +31,4 @@ public enum JavaPackageNameComparator implements Comparator<JavaPackage> {
1031
public int compare(JavaPackage package1, JavaPackage package2) {
1132
return package1.getName().compareTo(package2.getName());
1233
}
13-
}
34+
}

src/main/java/org/scijava/maven/plugin/enforcer/NoPackageCyclesRule.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11

2+
/* ========================================================================
3+
* This file was adapted from the no-package-cycles-enforcer-rule project:
4+
* https://github.com/andrena/no-package-cycles-enforcer-rule
5+
*
6+
* Copyright 2013 - 2018 David Burkhart, Ben Romberg, Daniel Galan y Martins,
7+
* Bastian Feigl, Marc Philipp, and Carsten Otto.
8+
*
9+
* Licensed under the Apache License, Version 2.0 (the "License");
10+
* you may not use this file except in compliance with the License.
11+
* You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS,
17+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
* See the License for the specific language governing permissions and
19+
* limitations under the License.
20+
* ======================================================================== */
21+
222
package org.scijava.maven.plugin.enforcer;
323

424
import java.util.ArrayList;

src/main/java/org/scijava/maven/plugin/enforcer/NoSubpackageDependenceRule.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11

2+
/* ========================================================================
3+
* This file was adapted from the no-package-cycles-enforcer-rule project:
4+
* https://github.com/andrena/no-package-cycles-enforcer-rule
5+
*
6+
* Copyright 2013 - 2018 David Burkhart, Ben Romberg, Daniel Galan y Martins,
7+
* Bastian Feigl, Marc Philipp, and Carsten Otto.
8+
*
9+
* Licensed under the Apache License, Version 2.0 (the "License");
10+
* you may not use this file except in compliance with the License.
11+
* You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS,
17+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
* See the License for the specific language governing permissions and
19+
* limitations under the License.
20+
* ======================================================================== */
21+
222
package org.scijava.maven.plugin.enforcer;
323

424
import java.util.ArrayList;

src/main/java/org/scijava/maven/plugin/enforcer/PackageCycleCollector.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
2+
/* ========================================================================
3+
* This file was adapted from the no-package-cycles-enforcer-rule project:
4+
* https://github.com/andrena/no-package-cycles-enforcer-rule
5+
*
6+
* Copyright 2013 - 2018 David Burkhart, Ben Romberg, Daniel Galan y Martins,
7+
* Bastian Feigl, Marc Philipp, and Carsten Otto.
8+
*
9+
* Licensed under the Apache License, Version 2.0 (the "License");
10+
* you may not use this file except in compliance with the License.
11+
* You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS,
17+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
* See the License for the specific language governing permissions and
19+
* limitations under the License.
20+
* ======================================================================== */
21+
122
package org.scijava.maven.plugin.enforcer;
223

324
import java.util.Iterator;

0 commit comments

Comments
 (0)