Yamcs Maven PluginΒΆ
This is a Maven plugin for developing a Yamcs application.
Yamcs is a Java-based open source mission control framework. Its functionalities can be extended with your own custom code.
Goals
Goal |
Description |
---|---|
Run Yamcs as part of a Maven build. |
|
Run Yamcs in debug mode as part of a Maven build. |
|
Bundle a Yamcs application into a single archive file. |
|
Run a Yamcs-related tool as part of a Maven build. |
|
Detect metadata for Yamcs plugins. |
|
Generate Java sources from proto files. |
|
Generate web application. |
Usage
This plugin expects to find Yamcs configuration in ${project.basedir}/src/main/yamcs
in subfolders etc
and mdb
.
In the pom.xml add dependencies to the desired Yamcs modules. At least a dependency to yamcs-core is required. yamcs-web is another common dependency that makes Yamcs host a prebuilt copy of the Yamcs web interface:
<project>
...
<packaging>jar</packaging>
<properties>
<yamcsVersion>5.10.0</yamcsVersion>
</properties>
<dependencies>
<dependency>
<groupId>org.yamcs</groupId>
<artifactId>yamcs-core</artifactId>
<version>${yamcsVersion}</version>
</dependency>
<dependency>
<groupId>org.yamcs</groupId>
<artifactId>yamcs-web</artifactId>
<version>${yamcsVersion}</version>
</dependency>
...
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.yamcs</groupId>
<artifactId>yamcs-maven-plugin</artifactId>
<version>1.3.4</version>
</plugin>
</plugins>
</build>
</project>
To run a Yamcs application:
mvn yamcs:run
Examples