This chapter describes how to get local copies for each of the following artifact bundles in order to distribute them on a physical device.
Infinity Process Platform provides a Maven POM file, which references all Infinity Process Platform related artifacts including the 3rd party dependencies. With the help of the Maven command
you can download all artifacts into a local repository. In your Maven project POM file, you have to reference the provided POM file, e.g.:
<dependency> <groupId>com.infinity.bpm.rtenv</groupId> <artifactId>all-ipp-artifacts</artifactId> <version>9.2.0-x</version> <type>pom</type> <scope>runtime</scope> </dependency>
Now you can zip the local repository and extract it again on your custom machine. There you have to specify the local repository as a remote one. This can be done in the settings.xml file in the following way:
<settings xmlns="http://maven.apache.org/settings/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <profile> <id>ipp-offline</id> <repositories> <repository> <id>local-ipp-libs</id> <url>file://C:/Development/ipp-repository</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>local-central-plugin</id> <name>Central PlugIn Repository</name> <url>file://C:/Development/ipp-repository</url> </pluginRepository> </pluginRepositories> </profile> </settings>
The example code snippet above assumes that you have extracted the local repository into C:\Development\ipp-repository. The first part for downloading the artifacts and creating the zip file is done by the build process so that you can use the corresponding zip archive, which you can retrieve by the Infinity Process Platform support team.
To get local copies of the Eclipse Modeling Features artifacts including third-party dependencies, export one or more folders from the artifactory that contain the required features.
The required Eclipse platform bundle can be hosted on an internal file server and downloaded when needed.