maven-tycho-eclipse-example/pom.xml

75 lines
2.3 KiB
XML

<?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.example.impl.group</groupId>
<artifactId>org.example.impl.parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Example plug-in for Eclipse using Maven and Tycho</name>
<properties>
<tycho.version>4.0.7</tycho.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.resource.version>3.3.1</maven.resource.version>
</properties>
<modules>
<module>org.example.impl</module>
<module>org.example.impl.feature</module>
<module>org.example.impl.updatesite</module>
<module>org.example.impl.dependencies</module>
<module>org.example.impl.tests</module>
</modules>
<repositories>
<repository>
<id>eclipse-2024-03</id>
<layout>p2</layout>
<url>https://download.eclipse.org/releases/2024-03</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<environments>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven.resource.version}</version>
</plugin>
</plugins>
</build>
</project>