From 463f2d92e1ed46014dd1fbbc6bbc426a4fb89acb Mon Sep 17 00:00:00 2001 From: Colin Alworth Date: Sat, 10 Feb 2024 06:56:24 -0600 Subject: [PATCH] License headers for integration tests --- .../src/main/java/com/example/MyAnnotation.java | 15 +++++++++++++++ .../app/src/main/java/com/example/MyApp.java | 15 +++++++++++++++ .../src/main/java/com/example/MyResources.java | 15 +++++++++++++++ .../test/java/com/example/MyTestResources.java | 15 +++++++++++++++ .../src/test/java/com/example/ResourceTest.java | 15 +++++++++++++++ .../src/main/java/com/example/MyProcessor.java | 15 +++++++++++++++ .../app/src/main/java/example/App.java | 15 +++++++++++++++ .../com/google/gwt/core/client/EntryPoint.java | 15 +++++++++++++++ .../src/main/java/j2clsample/nontest/MyType.java | 15 +++++++++++++++ .../test/java/j2clsample/tests/MyTypeTest.java | 15 +++++++++++++++ .../main/java/example/helloworld/HelloWorld.java | 15 +++++++++++++++ .../src/it/issue-41/src/test/java/bar/MyTest.java | 15 +++++++++++++++ .../src/it/issue-41/src/test/java/foo/MyTest.java | 15 +++++++++++++++ .../src/test/java/j2clsample/tests/MyTest.java | 15 +++++++++++++++ .../src/main/java/j2clsample/nontest/MyType.java | 15 +++++++++++++++ .../test/java/j2clsample/tests/MyTypeTest.java | 15 +++++++++++++++ .../src/main/java/com/example/App.java | 15 +++++++++++++++ .../src/test/java/com/example/AppTest.java | 15 +++++++++++++++ .../src/main/java/com/example/App.java | 15 +++++++++++++++ .../src/main/java/com/example/Foo.java | 15 +++++++++++++++ .../app/src/main/java/example/helloworld/App.java | 15 +++++++++++++++ .../lib1/src/main/java/example/lib1/Class1.java | 15 +++++++++++++++ .../lib2/src/main/java/example/lib2/Class2.java | 15 +++++++++++++++ .../java/example/test/TranslationService.java | 15 +++++++++++++++ .../example/test/UnescapedAndEscapedCheck.java | 15 +++++++++++++++ .../src/main/java/example/test/ValueHolder.java | 15 +++++++++++++++ .../tests/src/test/java/example/test/AppTest.java | 15 +++++++++++++++ 27 files changed, 405 insertions(+) diff --git a/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/main/java/com/example/MyAnnotation.java b/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/main/java/com/example/MyAnnotation.java index 958b4feb..128b10be 100644 --- a/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/main/java/com/example/MyAnnotation.java +++ b/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/main/java/com/example/MyAnnotation.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2022 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.example; import java.lang.annotation.ElementType; diff --git a/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/main/java/com/example/MyApp.java b/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/main/java/com/example/MyApp.java index e9be7b8e..7fc20473 100644 --- a/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/main/java/com/example/MyApp.java +++ b/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/main/java/com/example/MyApp.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2022 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.example; public class MyApp { diff --git a/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/main/java/com/example/MyResources.java b/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/main/java/com/example/MyResources.java index 60980323..18f06280 100644 --- a/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/main/java/com/example/MyResources.java +++ b/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/main/java/com/example/MyResources.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2022 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.example; @MyAnnotation diff --git a/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/test/java/com/example/MyTestResources.java b/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/test/java/com/example/MyTestResources.java index 5d058a93..772b988f 100644 --- a/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/test/java/com/example/MyTestResources.java +++ b/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/test/java/com/example/MyTestResources.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2022 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.example; @MyAnnotation diff --git a/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/test/java/com/example/ResourceTest.java b/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/test/java/com/example/ResourceTest.java index dab99d79..277f06a7 100644 --- a/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/test/java/com/example/ResourceTest.java +++ b/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/app/src/test/java/com/example/ResourceTest.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2022 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.example; import com.google.j2cl.junit.apt.J2clTestInput; diff --git a/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/processor/src/main/java/com/example/MyProcessor.java b/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/processor/src/main/java/com/example/MyProcessor.java index a83b1f6e..23230221 100644 --- a/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/processor/src/main/java/com/example/MyProcessor.java +++ b/j2cl-maven-plugin/src/it/annotation-processor-in-reactor/processor/src/main/java/com/example/MyProcessor.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2022 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.example; import com.google.auto.common.AnnotationMirrors; diff --git a/j2cl-maven-plugin/src/it/dependency-replacements/app/src/main/java/example/App.java b/j2cl-maven-plugin/src/it/dependency-replacements/app/src/main/java/example/App.java index c2b60e4c..acfa4236 100644 --- a/j2cl-maven-plugin/src/it/dependency-replacements/app/src/main/java/example/App.java +++ b/j2cl-maven-plugin/src/it/dependency-replacements/app/src/main/java/example/App.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2019 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package example; import com.google.gwt.core.client.EntryPoint; diff --git a/j2cl-maven-plugin/src/it/dependency-replacements/gwt-entrypoint/src/main/java/com/google/gwt/core/client/EntryPoint.java b/j2cl-maven-plugin/src/it/dependency-replacements/gwt-entrypoint/src/main/java/com/google/gwt/core/client/EntryPoint.java index b11b7b00..cd5477d3 100644 --- a/j2cl-maven-plugin/src/it/dependency-replacements/gwt-entrypoint/src/main/java/com/google/gwt/core/client/EntryPoint.java +++ b/j2cl-maven-plugin/src/it/dependency-replacements/gwt-entrypoint/src/main/java/com/google/gwt/core/client/EntryPoint.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2019 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.gwt.core.client; public interface EntryPoint { diff --git a/j2cl-maven-plugin/src/it/failing-htmlunit-test/src/main/java/j2clsample/nontest/MyType.java b/j2cl-maven-plugin/src/it/failing-htmlunit-test/src/main/java/j2clsample/nontest/MyType.java index b14b68f9..f8c57ddd 100644 --- a/j2cl-maven-plugin/src/it/failing-htmlunit-test/src/main/java/j2clsample/nontest/MyType.java +++ b/j2cl-maven-plugin/src/it/failing-htmlunit-test/src/main/java/j2clsample/nontest/MyType.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2018 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package j2clsample.nontest; public class MyType { diff --git a/j2cl-maven-plugin/src/it/failing-htmlunit-test/src/test/java/j2clsample/tests/MyTypeTest.java b/j2cl-maven-plugin/src/it/failing-htmlunit-test/src/test/java/j2clsample/tests/MyTypeTest.java index eabab5f9..f0c2b059 100644 --- a/j2cl-maven-plugin/src/it/failing-htmlunit-test/src/test/java/j2clsample/tests/MyTypeTest.java +++ b/j2cl-maven-plugin/src/it/failing-htmlunit-test/src/test/java/j2clsample/tests/MyTypeTest.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2020 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package j2clsample.tests; import com.google.j2cl.junit.apt.J2clTestInput; diff --git a/j2cl-maven-plugin/src/it/hello-world-web-components/src/main/java/example/helloworld/HelloWorld.java b/j2cl-maven-plugin/src/it/hello-world-web-components/src/main/java/example/helloworld/HelloWorld.java index eb580817..08944af6 100644 --- a/j2cl-maven-plugin/src/it/hello-world-web-components/src/main/java/example/helloworld/HelloWorld.java +++ b/j2cl-maven-plugin/src/it/hello-world-web-components/src/main/java/example/helloworld/HelloWorld.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2020 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package example.helloworld; import elemental2.dom.HTMLElement; diff --git a/j2cl-maven-plugin/src/it/issue-41/src/test/java/bar/MyTest.java b/j2cl-maven-plugin/src/it/issue-41/src/test/java/bar/MyTest.java index f1e2d160..a5ef4aa5 100644 --- a/j2cl-maven-plugin/src/it/issue-41/src/test/java/bar/MyTest.java +++ b/j2cl-maven-plugin/src/it/issue-41/src/test/java/bar/MyTest.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2020 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package bar; import com.google.j2cl.junit.apt.J2clTestInput; diff --git a/j2cl-maven-plugin/src/it/issue-41/src/test/java/foo/MyTest.java b/j2cl-maven-plugin/src/it/issue-41/src/test/java/foo/MyTest.java index 6512f8af..f102c41f 100644 --- a/j2cl-maven-plugin/src/it/issue-41/src/test/java/foo/MyTest.java +++ b/j2cl-maven-plugin/src/it/issue-41/src/test/java/foo/MyTest.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2020 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package foo; import com.google.j2cl.junit.apt.J2clTestInput; diff --git a/j2cl-maven-plugin/src/it/java-assertions/src/test/java/j2clsample/tests/MyTest.java b/j2cl-maven-plugin/src/it/java-assertions/src/test/java/j2clsample/tests/MyTest.java index fac2fc28..f8cc1d63 100644 --- a/j2cl-maven-plugin/src/it/java-assertions/src/test/java/j2clsample/tests/MyTest.java +++ b/j2cl-maven-plugin/src/it/java-assertions/src/test/java/j2clsample/tests/MyTest.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2020 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package j2clsample.tests; import com.google.j2cl.junit.apt.J2clTestInput; diff --git a/j2cl-maven-plugin/src/it/simple-htmlunit-test/src/main/java/j2clsample/nontest/MyType.java b/j2cl-maven-plugin/src/it/simple-htmlunit-test/src/main/java/j2clsample/nontest/MyType.java index 82866711..d9cbfe5e 100644 --- a/j2cl-maven-plugin/src/it/simple-htmlunit-test/src/main/java/j2clsample/nontest/MyType.java +++ b/j2cl-maven-plugin/src/it/simple-htmlunit-test/src/main/java/j2clsample/nontest/MyType.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2020 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package j2clsample.nontest; public class MyType { diff --git a/j2cl-maven-plugin/src/it/simple-htmlunit-test/src/test/java/j2clsample/tests/MyTypeTest.java b/j2cl-maven-plugin/src/it/simple-htmlunit-test/src/test/java/j2clsample/tests/MyTypeTest.java index eabab5f9..f0c2b059 100644 --- a/j2cl-maven-plugin/src/it/simple-htmlunit-test/src/test/java/j2clsample/tests/MyTypeTest.java +++ b/j2cl-maven-plugin/src/it/simple-htmlunit-test/src/test/java/j2clsample/tests/MyTypeTest.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2020 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package j2clsample.tests; import com.google.j2cl.junit.apt.J2clTestInput; diff --git a/j2cl-maven-plugin/src/it/static-resources/src/main/java/com/example/App.java b/j2cl-maven-plugin/src/it/static-resources/src/main/java/com/example/App.java index 23d6d589..04dff7d9 100644 --- a/j2cl-maven-plugin/src/it/static-resources/src/main/java/com/example/App.java +++ b/j2cl-maven-plugin/src/it/static-resources/src/main/java/com/example/App.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2022 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.example; import elemental2.dom.DomGlobal; diff --git a/j2cl-maven-plugin/src/it/static-resources/src/test/java/com/example/AppTest.java b/j2cl-maven-plugin/src/it/static-resources/src/test/java/com/example/AppTest.java index 5b6843df..d9e9cfac 100644 --- a/j2cl-maven-plugin/src/it/static-resources/src/test/java/com/example/AppTest.java +++ b/j2cl-maven-plugin/src/it/static-resources/src/test/java/com/example/AppTest.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2022 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.example; import com.google.j2cl.junit.apt.J2clTestInput; diff --git a/j2cl-maven-plugin/src/it/top-level-source-file/src/main/java/com/example/App.java b/j2cl-maven-plugin/src/it/top-level-source-file/src/main/java/com/example/App.java index 4d49d94a..57cdbc97 100644 --- a/j2cl-maven-plugin/src/it/top-level-source-file/src/main/java/com/example/App.java +++ b/j2cl-maven-plugin/src/it/top-level-source-file/src/main/java/com/example/App.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2021 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.example; import jsinterop.annotations.JsType; diff --git a/j2cl-maven-plugin/src/it/top-level-source-file/src/main/java/com/example/Foo.java b/j2cl-maven-plugin/src/it/top-level-source-file/src/main/java/com/example/Foo.java index a3073093..223e63be 100644 --- a/j2cl-maven-plugin/src/it/top-level-source-file/src/main/java/com/example/Foo.java +++ b/j2cl-maven-plugin/src/it/top-level-source-file/src/main/java/com/example/Foo.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2021 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.example; import jsinterop.annotations.JsType; diff --git a/j2cl-maven-plugin/src/it/transitive-dependencies/app/src/main/java/example/helloworld/App.java b/j2cl-maven-plugin/src/it/transitive-dependencies/app/src/main/java/example/helloworld/App.java index e63a4a91..c0c0feac 100644 --- a/j2cl-maven-plugin/src/it/transitive-dependencies/app/src/main/java/example/helloworld/App.java +++ b/j2cl-maven-plugin/src/it/transitive-dependencies/app/src/main/java/example/helloworld/App.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2019 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package example.helloworld; import example.lib1.Class1; diff --git a/j2cl-maven-plugin/src/it/transitive-dependencies/lib1/src/main/java/example/lib1/Class1.java b/j2cl-maven-plugin/src/it/transitive-dependencies/lib1/src/main/java/example/lib1/Class1.java index 55c2d0d0..b6276925 100644 --- a/j2cl-maven-plugin/src/it/transitive-dependencies/lib1/src/main/java/example/lib1/Class1.java +++ b/j2cl-maven-plugin/src/it/transitive-dependencies/lib1/src/main/java/example/lib1/Class1.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2019 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package example.lib1; import example.lib2.Class2; diff --git a/j2cl-maven-plugin/src/it/transitive-dependencies/lib2/src/main/java/example/lib2/Class2.java b/j2cl-maven-plugin/src/it/transitive-dependencies/lib2/src/main/java/example/lib2/Class2.java index 16ef8d5f..2e821daa 100644 --- a/j2cl-maven-plugin/src/it/transitive-dependencies/lib2/src/main/java/example/lib2/Class2.java +++ b/j2cl-maven-plugin/src/it/transitive-dependencies/lib2/src/main/java/example/lib2/Class2.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2019 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package example.lib2; public class Class2 { diff --git a/j2cl-maven-plugin/src/it/translationsfile/tests/src/main/java/example/test/TranslationService.java b/j2cl-maven-plugin/src/it/translationsfile/tests/src/main/java/example/test/TranslationService.java index 81136b66..25d9dc7d 100644 --- a/j2cl-maven-plugin/src/it/translationsfile/tests/src/main/java/example/test/TranslationService.java +++ b/j2cl-maven-plugin/src/it/translationsfile/tests/src/main/java/example/test/TranslationService.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2022 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package example.test; import jsinterop.annotations.JsMethod; diff --git a/j2cl-maven-plugin/src/it/translationsfile/tests/src/main/java/example/test/UnescapedAndEscapedCheck.java b/j2cl-maven-plugin/src/it/translationsfile/tests/src/main/java/example/test/UnescapedAndEscapedCheck.java index 30fe24d6..4b72db26 100644 --- a/j2cl-maven-plugin/src/it/translationsfile/tests/src/main/java/example/test/UnescapedAndEscapedCheck.java +++ b/j2cl-maven-plugin/src/it/translationsfile/tests/src/main/java/example/test/UnescapedAndEscapedCheck.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2022 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package example.test; import jsinterop.annotations.JsMethod; diff --git a/j2cl-maven-plugin/src/it/translationsfile/tests/src/main/java/example/test/ValueHolder.java b/j2cl-maven-plugin/src/it/translationsfile/tests/src/main/java/example/test/ValueHolder.java index c94f6d14..65cb2730 100644 --- a/j2cl-maven-plugin/src/it/translationsfile/tests/src/main/java/example/test/ValueHolder.java +++ b/j2cl-maven-plugin/src/it/translationsfile/tests/src/main/java/example/test/ValueHolder.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2022 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package example.test; public class ValueHolder { diff --git a/j2cl-maven-plugin/src/it/translationsfile/tests/src/test/java/example/test/AppTest.java b/j2cl-maven-plugin/src/it/translationsfile/tests/src/test/java/example/test/AppTest.java index d388c27b..6e41063c 100644 --- a/j2cl-maven-plugin/src/it/translationsfile/tests/src/test/java/example/test/AppTest.java +++ b/j2cl-maven-plugin/src/it/translationsfile/tests/src/test/java/example/test/AppTest.java @@ -1,3 +1,18 @@ +/* + * Copyright © 2018 j2cl-maven-plugin authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package example.test; import com.google.j2cl.junit.apt.J2clTestInput;