Removing need for boilerplate app.xml; Instead defining onos.app.name and onos.app.origin (optional) is sufficient to trigger generation of boilerplate app.xml and features.xml files.
Change-Id: If50cc3a18134602d47fcf6f240ee6b0a20c6c329
diff --git a/oneping/app.xml b/oneping/app.xml
deleted file mode 100644
index 942321d..0000000
--- a/oneping/app.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Copyright 2015 Open Networking Laboratory
- ~
- ~ 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.
- -->
-<app name="org.onosproject.oneping" origin="ON.Lab" version="${feature.version}"
- featuresRepo="mvn:${project.groupId}/${project.artifactId}/${project.version}/xml/features"
- features="${project.artifactId}">
- <description>${project.description}</description>
- <artifact>mvn:${project.groupId}/${project.artifactId}/${project.version}</artifact>
-</app>
-
diff --git a/oneping/pom.xml b/oneping/pom.xml
index 3b0e5c9..902f7b2 100644
--- a/oneping/pom.xml
+++ b/oneping/pom.xml
@@ -31,4 +31,8 @@
<description>One-Ping-Only sample application</description>
+ <properties>
+ <onos.app.name>org.onosproject.oneping</onos.app.name>
+ </properties>
+
</project>