Downloads and Setup

TRIMM Java standalone

If you don’t want to install or use Maven then you can download TRIMM Java Standalone and use it directly from the command line – see this guide for how to use it

TrimmJavaStandalone-1.0.0 (released 12th of August 2013)

TRIMM JPA standalone

If you don’t want to install or use Maven then you can download TRIMM JPA Standalone and use it directly from the command line – see this guide for how to use TRIMM Standalone in general

TrimmJpaStandalone-1.0.0 (released 12th of August 2013)

TRIMM Groovy standalone

If you don’t want to install or use Maven then you can download TRIMM Groovy Standalone and use it directly from the command line – see this guide for how to use TRIMM Standalone in general

TrimmGroovyStandalone-1.0.0 (released 12th of August 2013)

TRIMM WS standalone

If you don’t want to install or use Maven then you can download TRIMM WS Standalone and use it directly from the command line

TrimmWsStandalone-1.0.0 (released 12th of August 2013)

TrimmWS MDG for Enterprise Architect

A ZIP file containing an Enterprise Architect model and all the supporting files needed to model and generate an MDG file for WebService Modeling. The development of this MDG is described in this tutorial: “How to develop MDG’s for Enterprise Architect”.

The MDG file is developed to be used for modeling and generating WebServices using the TRIMM model generator.
TrimmWS (version 1.3, released 29th of August 2013)

TrimmJAVA MDG for Enterprise Architect

A ZIP file containing an Enterprise Architect model and all the supporting files needed to model and generate an MDG file for JAVA Modeling.

The MDG file is developed to be used for modeling and generating JAVA using the TRIMM model generator.
TrimmJAVA (version 1.1, released 29th of August 2013)

TrimmJPA MDG for Enterprise Architect

A ZIP file containing an Enterprise Architect model and all the supporting files needed to model and generate an MDG file for JPA Modeling.

The MDG file is developed to be used for modeling and generating JPA using the TRIMM model generator.
TrimmJPA (version 1.1, released 29th of August 2013)
Note: The TrimmPA MDG requires that the TrimmJAVA MDG is installed prior to installing TrimmJPA.

TrimmHibernate MDG for Enterprise Architect

A ZIP file containing an Enterprise Architect model and all the supporting files needed to model and generate an MDG file for Hibernate Modeling.

The MDG file is developed to be used for modeling and generating Hibernate using the TRIMM model generator.
TrimmHibernate (version 1.1, released 29th of August 2013)
Note:The TrimmHibernate MDG requires that the TrimmJPA MDG is installed prior to installing TrimmHibernate.

Full set of TRIMM MDG’s for Enterprise Architect

This ZIP file contains the full set of installable TRIMM MDG’s for those of you that only wants to use the MDG’s and not make any changes to them.

TrimmMDG (version 1.0, released 29th of August 2013)

Please see the How to Install a TRIMM MDG under Enterprise Architect (from Sparx Systems) guide for instructions on how to install our MDG’s

TRIMM Repository

<repository>
   <id>tigerteam-maven2-repository</id>
   <name>tigerteam.dk Repository for Maven 2</name>
   <url>http://www.tigerteam.dk/maven2/</url>
</repository>

TRIMM Plugin Repository

<pluginRepository>
   <id>tigerteam-maven2-repository</id>
   <name>tigerteam.dk Repository for Maven 2</name>
   <url>http://www.tigerteam.dk/maven2/</url>
</pluginRepository>

TRIMM Java Plugin

<plugin>
    <groupId>dk.tigerteam</groupId>
    <artifactId>TrimmJavaMavenPlugin</artifactId>
    <version>1.0.0</version>
    <executions>
        <execution>
            <id>generate</id>
            <phase>generate-sources</phase>
            <goals>
                <goal>generate</goal>
            </goals>
            <configuration>
                <yamlFile>model/JavaModel.yml</yamlFile>
            </configuration>
        </execution>
    </executions>
</plugin>

TRIMM JPA Plugin

<plugin>
    <groupId>dk.tigerteam</groupId>
    <artifactId>TrimmJpaMavenPlugin</artifactId>
    <version>1.0.0</version>
    <executions>
        <execution>
            <id>generate</id>
            <phase>generate-sources</phase>
            <goals>
                <goal>generate</goal>
            </goals>
            <configuration>
                <yamlFile>model/JpaModel.yml</yamlFile>
            </configuration>
        </execution>
    </executions>
</plugin>

TRIMM Groovy Plugin

<plugin>
    <groupId>dk.tigerteam</groupId>
    <artifactId>TrimmGroovyMavenPlugin</artifactId>
    <version>1.0.0</version>
    <executions>
        <execution>
            <id>generate</id>
            <phase>generate-sources</phase>
            <goals>
                <goal>generate</goal>
            </goals>
            <configuration>
                <yamlFile>model/GroovyModel.yml</yamlFile>
            </configuration>
        </execution>
    </executions>
</plugin>

TRIMM WebService Plugin

<plugin>
    <groupId>dk.tigerteam</groupId>
    <artifactId>TrimmWSMavenPlugin</artifactId>
    <version>1.0.0</version>
    <executions>
        <!-- Generate for JAX-WS consumption, with XmlSchemas kept separate and not inlined -->
        <execution>
            <id>generate-for-backend</id>
            <phase>generate-sources</phase>
            <goals>
                <goal>generate</goal>
            </goals>
            <configuration>
                <modelFilePath>model/wsmodel.xml</modelFilePath>
                <generateToFolder>target/generated-sources/wsdl</generateToFolder>
                <useAliasIfAvailable>true</useAliasIfAvailable>
                <namespaceAndFileLocationHandling>default</namespaceAndFileLocationHandling>
                <inlineReferencedSchemas>false</inlineReferencedSchemas>
                <createWrapperSchema>true</createWrapperSchema>
                <inlineWrapperSchema>true</inlineWrapperSchema>
                <soapHeaderNamespacePrefix>header</soapHeaderNamespacePrefix>
                <soapHeaderNamespace>http://bus.company.dk/iheader</soapHeaderNamespace>
                <soapHeaderLocation>header/header.xsd</soapHeaderLocation>
                <soapHeaderWsdlMessageName>OurHeaderMessage</soapHeaderWsdlMessageName>
                <soapHeaderWsdlMessagePart>iheader</soapHeaderWsdlMessagePart>
                <soapHeaderWsdlMessageElement>OurHeader</soapHeaderWsdlMessageElement>
            </configuration>
        </execution>
        <!-- Generate for Oracle Service Bus (OSB) which prefers WSDL with as many XML Schemas as possible inlined -->
        <execution>
            <id>generate-for-osb</id>
            <phase>generate-sources</phase>
            <goals>
                <goal>generate</goal>
            </goals>
            <configuration>
                <modelFilePath>model/wsmodel.xml</modelFilePath>
                <generateToFolder>target/generated-sources/wsdl-osb</generateToFolder>
                <useAliasIfAvailable>true</useAliasIfAvailable>
                <namespaceAndFileLocationHandling>classic</namespaceAndFileLocationHandling>
                <inlineReferencedSchemas>true</inlineReferencedSchemas>
                <createWrapperSchema>true</createWrapperSchema>
                <inlineWrapperSchema>true</inlineWrapperSchema>
                <soapHeaderNamespacePrefix>header</soapHeaderNamespacePrefix>
                <soapHeaderNamespace>http://bus.company.dk/iheader</soapHeaderNamespace>
                <soapHeaderLocation>header/header.xsd</soapHeaderLocation>
                <soapHeaderWsdlMessageName>OurHeaderMessage</soapHeaderWsdlMessageName>
                <soapHeaderWsdlMessagePart>iheader</soapHeaderWsdlMessagePart>
                <soapHeaderWsdlMessageElement>OurHeader</soapHeaderWsdlMessageElement>
            </configuration>
        </execution>
    </executions>
</plugin>

TRIMM Core dependency

Only needed if you generate Extension Classes (GAP Pattern) and request @BaseClazz @ExtensionClazz annotation to be inserted into the generated code

<dependency>
    <groupId>dk.tigerteam</groupId>
    <artifactId>TrimmCore</artifactId>
    <version>1.0.0</version>
</dependency>

TRIMM JPA dependencies for Model Integration Testing

If Model Integration testing is enabled then the following test scope dependencies are needed

<dependency>
    <groupId>dk.tigerteam</groupId>
    <artifactId>TrimmJpa</artifactId>
    <version>1.0.0</version>
    <scope>test</scope>
</dependency>
<dependency>
    <groupId>dk.tigerteam</groupId>
    <artifactId>TrimmPersistenceHibernate</artifactId>
    <version>1.0.0</version>
    <scope>test</scope>
</dependency>
<dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.11</version> <!-- Or later -->
    <scope>test</scope>
</dependency>