In round-trip mode Java Architect adds @objid annotations in order to match a java element with a Modelio element. These annotations are source level but the Java Architect annotations library is needed to compile the project.

Two versions of the library are provided: one for Java 8, and one for Java 11:

Java version Library version File name

8 or less

2.2.0

javadesigner-2.2.0.jar

11+

3.0.0

javadesigner-3.0.0.jar

Using the IDE builder

You will need to add the library to the IDE build path.

The libraries are provided in the module resources directory. The .jar files are located in %USERPROFILE%/.modelio/5.0/modules/JavaArchitect_1.1.04++/JavaArchitect/res/bin/

Choose the file matching your project Java version and add it to the project build path.

Using Maven

  1. Add the Modelio maven repository to your maven settings.xml:

    https://repository.modelio.org/
  2. Add the library as provided dependency:

      <dependency>
        <groupId>org.modelio</groupId>
        <artifactId>javadesigner</artifactId>
        <version>2.2.0</version> <!-- change to 3.0.0 for a Java 11 project -->
        <scope>provided</scope>
      </dependency>