Skip to main content

Dependencies

When running a participant in servlet-container or as a standalone application, the following dependency should be used in the participant's pom.xml file:

pom.xml for servlet-based or standalone participants

<dependency>
    <groupId>org.talend.esb.policies</groupId>
    <artifactId>transformation-policy</artifactId>
    <version>${project.version}</version>
</dependency>

When running a participant in the Talend Runtime Container, in the Require-Bundle section of Felix bundle plugin, the transformation-policy bundle should be mentioned:

OSGi environment pom.xml

<plugin>
    <groupId>org.apache.felix</groupId>
    <artifactId>maven-bundle-plugin</artifactId>
    <configuration>
        <instructions>
            <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
            <Require-Bundle>
                ...
                transformation-policy
            </Require-Bundle>
        </instructions>
    </configuration>
    <extensions>true</extensions>
</plugin>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!