]> gerrit.simantics Code Review - simantics/platform.git/blob - releng/org.simantics.tycho.configuration/pom.xml
Configured platform build to produce pack200 artifacts
[simantics/platform.git] / releng / org.simantics.tycho.configuration / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4         <modelVersion>4.0.0</modelVersion>
5         <groupId>org.simantics</groupId>
6         <artifactId>org.simantics.tycho.configuration</artifactId>
7         <version>1.0.0-SNAPSHOT</version>
8         <packaging>pom</packaging>
9
10         <properties>
11                 <tycho.version>1.0.0</tycho.version>
12                 <tycho.extras.version>1.0.0</tycho.extras.version>
13                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14                 <mars-repo.url>http://download.eclipse.org/releases/mars</mars-repo.url>
15         </properties>
16
17         <repositories>
18         </repositories>
19
20         <pluginRepositories>
21                 <pluginRepository>
22                         <id>graph-builder-snapshot</id>
23                         <name>Graph Builder Repository</name>
24                         <url>https://repo.simupedia.com/repository/graph-builder-release</url>
25                         <layout>default</layout>
26                         <releases>
27                                 <updatePolicy>never</updatePolicy>
28                         </releases>
29                         <snapshots>
30                                 <updatePolicy>always</updatePolicy>
31                         </snapshots>
32                 </pluginRepository>
33         </pluginRepositories>
34
35         <build>
36                 <plugins>
37                         <plugin>
38                                 <groupId>org.eclipse.tycho</groupId>
39                                 <artifactId>tycho-maven-plugin</artifactId>
40                                 <version>${tycho.version}</version>
41                                 <extensions>true</extensions>
42                         </plugin>
43                         <plugin>
44                                 <groupId>org.eclipse.tycho</groupId>
45                                 <artifactId>tycho-versions-plugin</artifactId>
46                                 <version>${tycho.version}</version>
47                         </plugin>
48                         <plugin>
49                                 <groupId>org.eclipse.tycho</groupId>
50                                 <artifactId>tycho-packaging-plugin</artifactId>
51                                 <version>${tycho.version}</version>
52                                 <configuration>
53                                         <format>'v'yyyyMMdd-HHmmss</format>
54                                 </configuration>
55                         </plugin>
56                         <plugin>
57                                 <groupId>org.eclipse.tycho</groupId>
58                                 <artifactId>target-platform-configuration</artifactId>
59                                 <version>${tycho.version}</version>
60                                 <configuration>
61                                         <includePackedArtifacts>true</includePackedArtifacts>
62                                         <target>
63                                                 <artifact>
64                                                         <groupId>org.simantics</groupId>
65                                                         <artifactId>org.simantics.sdk.build.targetdefinition</artifactId>
66                                                         <version>1.0.0-SNAPSHOT</version>
67                                                 </artifact>
68                                         </target>
69                                         <environments>
70                                                 <environment>
71                                                         <os>linux</os>
72                                                         <ws>gtk</ws>
73                                                         <arch>x86_64</arch>
74                                                 </environment>
75                                                 <environment>
76                                                         <os>win32</os>
77                                                         <ws>win32</ws>
78                                                         <arch>x86</arch>
79                                                 </environment>
80                                                 <environment>
81                                                         <os>win32</os>
82                                                         <ws>win32</ws>
83                                                         <arch>x86_64</arch>
84                                                 </environment>
85                                                 <environment>
86                                                         <os>macosx</os>
87                                                         <ws>cocoa</ws>
88                                                         <arch>x86_64</arch>
89                                                 </environment>
90                                         </environments>
91                                 </configuration>
92                         </plugin>
93                         <plugin>
94                                 <groupId>org.eclipse.tycho.extras</groupId>
95                                 <artifactId>tycho-source-feature-plugin</artifactId>
96                                 <version>${tycho.extras.version}</version>
97                         </plugin>
98                         <plugin>
99                                 <groupId>org.eclipse.tycho.extras</groupId>
100                                 <artifactId>tycho-pack200b-plugin</artifactId>
101                                 <version>${tycho.extras.version}</version>
102                                 <executions>
103                                         <execution>
104                                                 <id>pack200-pack</id>
105                                                 <goals>
106                                                         <goal>pack</goal>
107                                                 </goals>
108                                         </execution>
109                                 </executions>
110                         </plugin>
111                         <plugin>
112                                 <groupId>org.eclipse.tycho</groupId>
113                                 <artifactId>tycho-p2-plugin</artifactId>
114                                 <version>${tycho.version}</version>
115                                 <executions>
116                                         <execution>
117                                                 <id>attach-p2-metadata</id>
118                                                 <phase>package</phase>
119                                                 <goals>
120                                                         <goal>p2-metadata</goal>
121                                                 </goals>
122                                         </execution>
123                                 </executions>
124                                 <configuration>
125                                         <defaultP2Metadata>false</defaultP2Metadata>
126                                 </configuration>
127                         </plugin>
128                 </plugins>
129         </build>
130 </project>