Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
The following is an example of of the ONOS OnePing sample an application app.xml file:
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?> <app name="org.onosproject.onepingsample" origin="ON.Lab" version="1.2.0${project.version}" featuresRepo="mvn:org.onosproject/oneping-app-features/1.2.0-SNAPSHOT${project.groupId}/${project.artifactId}/${project.version}/xml/features" features="oneping-app,onossample-app-tvue"> <description>One-Ping-Only sample application!<description>${project.description}</description> <artifact>mvn:...</artifact> </app> |
The app.xml file can contain Maven properties such as ${project.groupId}, ${project.artifactId}, ${project.version}, ${project.description}, ${short.version}, which which will result in substitution of the appropriate value from the Maven pom.xml file. It is highly recommended to use these in order to minimize the amount of maintenance required.
...