- Fine tuned the java7 build
- Activated the RAT plugin
- Added some missing license headers
diff --git a/README.md b/README.md
index d7ad8fd..0e3af44 100644
--- a/README.md
+++ b/README.md
@@ -1 +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.
+
+-->
Samples for the embedded streams API.
diff --git a/apps/src/main/java/org/apache/edgent/samples/apps/applicationTemplate.properties b/apps/src/main/java/org/apache/edgent/samples/apps/applicationTemplate.properties
index c45d3db..4f23ff5 100644
--- a/apps/src/main/java/org/apache/edgent/samples/apps/applicationTemplate.properties
+++ b/apps/src/main/java/org/apache/edgent/samples/apps/applicationTemplate.properties
@@ -1,3 +1,20 @@
+#
+# 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.
+#
+
# A template file for Application Configuration properties
#
# The default Edgent topology provider is DirectProvider
diff --git a/scenarios/src/main/java/org/apache/edgent/samples/scenarios/iotp/range/sensor/README.md b/scenarios/README.md
similarity index 72%
rename from scenarios/src/main/java/org/apache/edgent/samples/scenarios/iotp/range/sensor/README.md
rename to scenarios/README.md
index de23cc6..7a2d3ac 100644
--- a/scenarios/src/main/java/org/apache/edgent/samples/scenarios/iotp/range/sensor/README.md
+++ b/scenarios/README.md
@@ -1,3 +1,21 @@
+<!--
+
+ 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.
+
+-->
# edgent.IoTFRangeSensor
See the Recipe this was created for [here](https://developer.ibm.com/recipes/tutorials/apache-quarks-on-pi-to-watson-iot-foundation/). If that link doesn't work, try [here](https://developer.ibm.com/recipes/tutorials/apache-edgent-on-pi-to-watson-iot-foundation/).
diff --git a/scenarios/pom.xml b/scenarios/pom.xml
index dd63fa2..27cd1c8 100644
--- a/scenarios/pom.xml
+++ b/scenarios/pom.xml
@@ -32,6 +32,29 @@
<name>Apache Edgent: Samples: Szenarios</name>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>license-check</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludes combine.children="append">
+ <exclude>src/main/resources/**/*.cfg</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
<dependencies>
<dependency>
<groupId>org.apache.edgent.connectors</groupId>
diff --git a/scenarios/src/main/java/org/apache/edgent/samples/scenarios/iotp/range/sensor/device.cfg b/scenarios/src/main/resources/org/apache/edgent/samples/scenarios/iotp/range/sensor/device.cfg
similarity index 100%
rename from scenarios/src/main/java/org/apache/edgent/samples/scenarios/iotp/range/sensor/device.cfg
rename to scenarios/src/main/resources/org/apache/edgent/samples/scenarios/iotp/range/sensor/device.cfg