]> gerrit.simantics Code Review - simantics/platform.git/blob - releng/org.simantics.tycho.configuration/pom.xml
Stop using pack200 because it has been deprecated and removed
[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.5.0</tycho.version>
12                 <tycho.extras.version>1.5.0</tycho.extras.version>
13                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14         </properties>
15
16         <repositories>
17         </repositories>
18
19         <pluginRepositories>
20                 <pluginRepository>
21                         <id>graph-builder-snapshot</id>
22                         <name>Graph Builder Repository</name>
23                         <url>https://repo.simupedia.com/repository/graph-builder-release</url>
24                         <layout>default</layout>
25                         <releases>
26                                 <updatePolicy>never</updatePolicy>
27                         </releases>
28                         <snapshots>
29                                 <updatePolicy>always</updatePolicy>
30                         </snapshots>
31                 </pluginRepository>
32         </pluginRepositories>
33
34         <build>
35                 <plugins>
36                         <plugin>
37                                 <groupId>org.eclipse.tycho</groupId>
38                                 <artifactId>tycho-maven-plugin</artifactId>
39                                 <version>${tycho.version}</version>
40                                 <extensions>true</extensions>
41                         </plugin>
42                         <plugin>
43                                 <groupId>org.eclipse.tycho</groupId>
44                                 <artifactId>tycho-versions-plugin</artifactId>
45                                 <version>${tycho.version}</version>
46                         </plugin>
47                         <plugin>
48                                 <groupId>org.eclipse.tycho</groupId>
49                                 <artifactId>tycho-packaging-plugin</artifactId>
50                                 <version>${tycho.version}</version>
51                                 <configuration>
52                                         <format>'v'yyyyMMdd-HHmmss</format>
53                                 </configuration>
54                         </plugin>
55                         <plugin>
56                                 <groupId>org.eclipse.tycho</groupId>
57                                 <artifactId>target-platform-configuration</artifactId>
58                                 <version>${tycho.version}</version>
59                                 <configuration>
60                                         <target>
61                                                 <artifact>
62                                                         <groupId>org.simantics</groupId>
63                                                         <artifactId>org.simantics.sdk.build.targetdefinition</artifactId>
64                                                         <version>1.0.0-SNAPSHOT</version>
65                                                 </artifact>
66                                         </target>
67                                         <environments>
68                                                 <environment>
69                                                         <os>linux</os>
70                                                         <ws>gtk</ws>
71                                                         <arch>x86_64</arch>
72                                                 </environment>
73                                                 <environment>
74                                                         <os>win32</os>
75                                                         <ws>win32</ws>
76                                                         <arch>x86_64</arch>
77                                                 </environment>
78                                                 <environment>
79                                                         <os>macosx</os>
80                                                         <ws>cocoa</ws>
81                                                         <arch>x86_64</arch>
82                                                 </environment>
83                                         </environments>
84                                 </configuration>
85                         </plugin>
86                         <plugin>
87                                 <groupId>org.eclipse.tycho.extras</groupId>
88                                 <artifactId>tycho-source-feature-plugin</artifactId>
89                                 <version>${tycho.extras.version}</version>
90                         </plugin>
91                         <plugin>
92                                 <groupId>org.eclipse.tycho</groupId>
93                                 <artifactId>tycho-p2-plugin</artifactId>
94                                 <version>${tycho.version}</version>
95                                 <executions>
96                                         <execution>
97                                                 <id>attach-p2-metadata</id>
98                                                 <phase>package</phase>
99                                                 <goals>
100                                                         <goal>p2-metadata</goal>
101                                                 </goals>
102                                         </execution>
103                                 </executions>
104                                 <configuration>
105                                         <defaultP2Metadata>false</defaultP2Metadata>
106                                 </configuration>
107                         </plugin>
108                 </plugins>
109         </build>
110
111         <profiles>
112                 <profile>
113                         <id>sign</id>
114                         <activation>
115                                 <property>
116                                         <name>sign</name>
117                                         <value>true</value>
118                                 </property>
119                         </activation>
120                         <build>
121                                 <plugins>
122                                         <plugin>
123                                                 <groupId>org.codehaus.mojo</groupId>
124                                                 <artifactId>properties-maven-plugin</artifactId>
125                                                 <version>1.0.0</version>
126                                                 <executions>
127                                                         <execution>
128                                                                 <phase>initialize</phase>
129                                                                 <goals>
130                                                                         <goal>read-project-properties</goal>
131                                                                 </goals>
132                                                         </execution>
133                                                 </executions>
134                                                 <configuration>
135                                                         <files>
136                                                                 <file>${sign.properties}</file>
137                                                         </files>
138                                                 </configuration>
139                                         </plugin>
140                                         <plugin>
141                                                 <groupId>org.apache.maven.plugins</groupId>
142                                                 <artifactId>maven-jarsigner-plugin</artifactId>
143                                                 <version>3.0.0</version>
144                                                 <executions>
145                                                         <execution>
146                                                                 <id>sign</id>
147                                                                 <goals>
148                                                                         <goal>sign</goal>
149                                                                         <goal>verify</goal>
150                                                                 </goals>
151                                                         </execution>
152                                                 </executions>
153                                         </plugin>
154                                 </plugins>
155                         </build>
156                 </profile>
157         </profiles>
158 </project>