blob: c689e97acf8a56afcbb3a3ec0a008af7522a65fa [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse.papyrus.iotml</groupId>
<artifactId>org.eclipse.papyrus.iotml.parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>IoTML</name>
<description>A Papyrus DSML for the IoT</description>
<url>https://eclipse.org/papyrus/components/${component.shortname}/</url>
<inceptionYear>2018</inceptionYear>
<properties>
<component.shortname>iotml</component.shortname>
<component.fullartifactId>org.eclipse.papyrus.iotml</component.fullartifactId>
<component.hudson.tabname>IoTML</component.hudson.tabname>
<component.bugzilla.name>IoTML</component.bugzilla.name>
<component.package.rootname>org.eclipse.papyrus.iotml</component.package.rootname>
<component.rcp.name>org.eclipse.papyrus.iotml.rcp</component.rcp.name>
<component.apibaseline.url>http://download.eclipse.org/modeling/mdt/papyrus/components/iotml</component.apibaseline.url>
<component.servicetype>org.eclipse.papyrus.iotml.service.types</component.servicetype>
<tycho.version>1.7.0</tycho.version>
<tychoExtrasVersion>1.7.0</tychoExtrasVersion>
<maven.resources.version>3.1.0</maven.resources.version>
<maven.clean.version>3.1.0</maven.clean.version>
<maven.compiler.version>3.8.0</maven.compiler.version>
<java.source.version>11.0</java.source.version>
<java.target.version>11.0</java.target.version>
<jboss.utils.version>1.7.0</jboss.utils.version>
</properties>
<modules>
<module>org.eclipse.papyrus.iotml.profile</module>
<module>org.eclipse.papyrus.iotml.library</module>
<!--<module>org.eclipse.papyrus.iotml.profile.tests</module> -->
<module>org.eclipse.papyrus.iotml.architecture</module>
<!--<module>org.eclipse.papyrus.iotml.architecture.tests</module> -->
<module>org.eclipse.papyrus.iotml.examples</module>
<module>org.eclipse.papyrus.iotml.ui</module>
<module>org.eclipse.papyrus.iotml.feature</module>
<module>org.eclipse.papyrus.iotml.targetplatform.photon</module>
<module>addons</module>
<module>releng</module>
</modules>
<ciManagement>
<system>Jenkins</system>
<url>https://ci.eclipse.org/papyrus/view/${component.hudson.tabname}/</url>
</ciManagement>
<issueManagement>
<url>https://bugs.eclipse.org/bugs/buglist.cgi?product=Papyrus&amp;component=${component.bugzilla.name}</url>
<system>Bugzilla</system>
</issueManagement>
<licenses>
<license>
<name>Eclipse Public License - v 2.0</name>
<url>https://www.eclipse.org/legal/epl-v20.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>tycho-snapshots</id>
<url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>license-feature</id>
<url>http://download.eclipse.org/cbi/updates/license/</url>
<layout>p2</layout>
</repository>
</repositories>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-source-feature-plugin</artifactId>
<version>1.2.0</version>
<executions>
<execution>
<id>source-feature</id>
<phase>package</phase>
<goals>
<goal>source-feature</goal>
</goals>
<configuration>
<excludes>
<feature id="org.eclipse.papyrus.sysml14.feature" />
<feature
id="org.eclipse.papyrus.infra.gmfdiag.layers.feature" />
<feature id="org.eclipse.papyrus.marte.main.feature" />
<feature id="org.eclipse.papyrus.moka.feature" />
<feature
id="org.eclipse.papyrus.designer.components.main.feature" />
<feature
id="org.eclipse.papyrus.designer.languages.common.feature" />
<feature
id="org.eclipse.papyrus.designer.languages.cpp.feature" />
<feature
id="org.eclipse.papyrus.designer.languages.java.feature" />
<feature
id="org.eclipse.papyrus.designer.transformation.main.feature" />
<feature
id="org.eclipse.papyrus.designer.monitoring.feature" />
</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.version}</version>
<configuration>
<source>${java.source.version}</source>
<target>${java.target.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven.resources.version}</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven.clean.version}</version>
</plugin>
<!-- Integration between Tycho and Maven -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.version}</version>
<extensions>true</extensions>
</plugin>
<!-- Tycho compiler -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<source>${java.source.version}</source>
<target>${java.target.version}</target>
<optimize>true</optimize>
<showWarnings>true</showWarnings>
<!-- Tycho build using the project's JDT settings. -->
<useProjectSettings>true</useProjectSettings>
</configuration>
</plugin>
<!-- Target platform based build -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
</environments>
<target>
<artifact>
<groupId>${component.fullartifactId}</groupId>
<artifactId>org.eclipse.papyrus.iotml.targetplatform.photon</artifactId>
<version>${project.version}</version>
</artifact>
</target>
</configuration>
</plugin>
</plugins>
</build>
</project>