You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by an...@apache.org on 2019/08/20 22:49:27 UTC
[sling-org-apache-sling-feature-launcher] branch issues/SLING-8483
updated: Added the License Headers and excluded the test service files
This is an automated email from the ASF dual-hosted git repository.
andysch pushed a commit to branch issues/SLING-8483
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-launcher.git
The following commit(s) were added to refs/heads/issues/SLING-8483 by this push:
new b5e805e Added the License Headers and excluded the test service files
b5e805e is described below
commit b5e805e702fc55b466f5645f2ace6c994d75d22c
Author: Andreas Schaefer <sc...@iMac.local>
AuthorDate: Tue Aug 20 15:49:15 2019 -0700
Added the License Headers and excluded the test service files
---
pom.xml | 1 +
.../launcher/handler/ExtensionHandler100.java | 21 ++++++++++++++++-----
.../launcher/handler/ExtensionHandler200.java | 21 ++++++++++++++++-----
.../launcher/handler/ExtensionHandlerBase.java | 16 ++++++++++++++++
.../launcher/handler/ExtensionHandlerDefault.java | 19 ++++++++++++++++---
.../feature/launcher/impl/FeatureProcessorTest.java | 16 ++++++++++++++++
6 files changed, 81 insertions(+), 13 deletions(-)
diff --git a/pom.xml b/pom.xml
index 444b542..9ace7da 100644
--- a/pom.xml
+++ b/pom.xml
@@ -79,6 +79,7 @@
<excludes>
<exclude>readme.md</exclude>
<exclude>src/main/resources/META-INF/services/**</exclude>
+ <exclude>src/test/resources/META-INF/services/**</exclude>
<exclude>**/*.properties</exclude>
<exclude>launcher/**</exclude>
</excludes>
diff --git a/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandler100.java b/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandler100.java
index 0f56b7a..45188d1 100644
--- a/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandler100.java
+++ b/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandler100.java
@@ -1,12 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to You 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 org.apache.sling.feature.launcher.handler;
-import org.apache.sling.feature.Extension;
-import org.apache.sling.feature.launcher.spi.extensions.ExtensionContext;
-import org.apache.sling.feature.launcher.spi.extensions.ExtensionHandler;
-
public class ExtensionHandler100
extends ExtensionHandlerBase
- implements ExtensionHandler
{
@Override
public int getPriority() {
diff --git a/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandler200.java b/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandler200.java
index 49f31fc..83e7510 100644
--- a/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandler200.java
+++ b/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandler200.java
@@ -1,12 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to You 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 org.apache.sling.feature.launcher.handler;
-import org.apache.sling.feature.Extension;
-import org.apache.sling.feature.launcher.spi.extensions.ExtensionContext;
-import org.apache.sling.feature.launcher.spi.extensions.ExtensionHandler;
-
public class ExtensionHandler200
extends ExtensionHandlerBase
- implements ExtensionHandler
{
@Override
public int getPriority() {
diff --git a/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandlerBase.java b/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandlerBase.java
index b4fab4c..eb11580 100644
--- a/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandlerBase.java
+++ b/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandlerBase.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to You 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 org.apache.sling.feature.launcher.handler;
import org.apache.sling.feature.Extension;
diff --git a/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandlerDefault.java b/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandlerDefault.java
index 867c8dc..4e98a3b 100644
--- a/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandlerDefault.java
+++ b/src/test/java/org/apache/sling/feature/launcher/handler/ExtensionHandlerDefault.java
@@ -1,10 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to You 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 org.apache.sling.feature.launcher.handler;
-import org.apache.sling.feature.launcher.spi.extensions.ExtensionHandler;
-
public class ExtensionHandlerDefault
extends ExtensionHandlerBase
- implements ExtensionHandler
{
@Override
public int getPriority() {
diff --git a/src/test/java/org/apache/sling/feature/launcher/impl/FeatureProcessorTest.java b/src/test/java/org/apache/sling/feature/launcher/impl/FeatureProcessorTest.java
index 5e9bdcf..d86505b 100644
--- a/src/test/java/org/apache/sling/feature/launcher/impl/FeatureProcessorTest.java
+++ b/src/test/java/org/apache/sling/feature/launcher/impl/FeatureProcessorTest.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to You 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 org.apache.sling.feature.launcher.impl;
import org.apache.sling.feature.ArtifactId;