Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion emf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,20 @@ bundles `emf.target` pins.
For examiners, in Eclipse Modeling Tools 2026-06 with the OCL, QVT-Operational
and Acceleo 4 SDKs installed from the same release:

0. Run `./mvnw verify` once, from `emf/`, before importing anything. Each
metamodel's typed Java is generated into `target/generated-sources/emf/`,
which `build.properties` names as a source folder, and on a clean clone that
directory does not exist yet: import first and the workspace opens with
every reference to a generated package unresolved. One terminal build is
what makes the import land clean.
1. Open `emf/emf.target` and choose **Set as Active Target Platform**.
2. **File > Import > Maven > Existing Maven Projects**, with `emf/` as the
root directory. The importer walks the whole tree, so that one root
still finds the five bundles nested under `emf/bundles/` and the parity
suite nested under `emf/tests/parity`; import every module.
suite nested under `emf/tests/parity`; import every module. Five of the six
are `eclipse-plugin` packaging, which m2e maps through the Tycho
configurator: accept the connector if the importer offers to install one,
and restart when it asks.
3. In `dev.jorisjonkers.deploykit.emf.metamodel`, open `model/skeleton.ecore`.
Open `model/empty.xmi` with the Sample Reflective Ecore Model Editor, load
`model/skeleton.ocl` through **OCL > Load Document**, and validate: the
Expand Down
31 changes: 31 additions & 0 deletions emf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,37 @@
<plugin><groupId>org.eclipse.tycho</groupId><artifactId>tycho-bnd-plugin</artifactId><version>${tycho.version}</version></plugin>
<plugin><groupId>org.eclipse.tycho</groupId><artifactId>tycho-source-plugin</artifactId><version>${tycho.version}</version></plugin>
<plugin><groupId>org.codehaus.mojo</groupId><artifactId>exec-maven-plugin</artifactId><version>3.6.4</version></plugin>
<!--
m2e reads this and Maven ignores it. Without it an Eclipse import
reports "Plugin execution not covered by lifecycle configuration"
against every `exec-maven-plugin` execution, which is both metamodel
generators, and a grader meets a red workspace before reading a line
of the model (#132). `runOnIncremental` is false because generating
the metamodel's Java on every keystroke is not what anyone wants; a
full build and the import itself still run it.
-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<versionRange>[3.0.0,)</versionRange>
<goals><goal>java</goal></goals>
</pluginExecutionFilter>
<action>
<execute><runOnIncremental>false</runOnIncremental></execute>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
<plugin><groupId>org.jetbrains.kotlin</groupId><artifactId>kotlin-maven-plugin</artifactId><version>${kotlin.version}</version></plugin>
</plugins>
</pluginManagement>
Expand Down
Loading