Your Plug-in file should be generated at the “target” folder under the Astah Plug-in project as “[artifactId] – [version].jar”. Copy this file to “plugins” folder under Astah Install folder and then launch Astah, and go to [Plugin] – [Installed Plugin].
If you are using Astah SysML, go to [Help] – [Plugin List].
If you see your new Plug-in on the list, congratulations!
That means your Plug-in has been installed successfully in Astah.
By setting <properties> tags named astah-version and astah-edition in pom.xml, specify the edition and version that this plug-in works with.
<properties> <bundle.symbolicName>com.change_vision.astah.sample</bundle.symbolicName> <bundle.namespace>com.change_vision.astah</bundle.namespace> <plugin.install>true</plugin.install> <astah.version>6.6</astah.version> <astah.edition>all</astah.edition> </properties>
The version of the Astah by which the plugin is developed should be set as osstat-version, otherwise, the version of the Astah running the plugin cannot be limited. Keys for astah-edition are listed in the table below.
|All editions||blank, all, *|
|Astah Professional||pro, professional|
|Astah UML||uml, UML|
|Astah Community||com, Community|