How modeldriven-hu/cameo_lesson_1 works
Project type and purpose
• This is a Java-based plugin project for the Cameo/MagicDraw modeling tool (a Hello-World example).
• It uses Maven to compile, assemble and package into a ZIP that is dropped into the Cameo “plugins” folder.
File structure
• pom.xml: standard Maven project descriptor.
• src/main/java/hu/modeldriven/cameo/Lesson1Plugin.java: main plugin class.
• src/main/resources/plugin.xml: plugin manifest that registers the plugin with Cameo.
• src/main/assembly/assembly.xml: assembly descriptor to produce the distributable ZIP.
README for additional insights
• Requirements: Cameo/MagicDraw, JDK 11, Maven
• Workflow: clone → set CAMEO_ROOT environment variable → mvn package → unzip target ZIP into CAMEO_ROOT/plugins → restart Cameo
Detailed but concise
• Three roles (source code, build, host) as separate nodes.
• Plugin.xml as a separate resource artifact.
• Maven phases (compile, package, assembly).