1 |
c91fa0aa
|
Cherian Mathew
|
<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">
|
2 |
0d291022
|
Cherian Mathew
|
<parent>
|
3 |
|
|
<groupId>eu.etaxonomy</groupId>
|
4 |
|
|
<artifactId>taxeditor-parent</artifactId>
|
5 |
49667e09
|
jenkins
|
<version>5.29.0-SNAPSHOT</version>
|
6 |
0d291022
|
Cherian Mathew
|
</parent>
|
7 |
b6f47468
|
n.hoffmann
|
|
8 |
0d291022
|
Cherian Mathew
|
<modelVersion>4.0.0</modelVersion>
|
9 |
|
|
<artifactId>eu.etaxonomy.taxeditor</artifactId>
|
10 |
|
|
<packaging>eclipse-repository</packaging>
|
11 |
b6f47468
|
n.hoffmann
|
|
12 |
0d291022
|
Cherian Mathew
|
<name>EDIT Taxonomic Editor Product</name>
|
13 |
|
|
<description>The EDIT Taxonomic Desktop Editor</description>
|
14 |
a3fdfdf4
|
Patrick Plitzner
|
<url>https://cybertaxonomy.eu/taxeditor</url>
|
15 |
93b0eb6b
|
Cherian Mathew
|
<properties>
|
16 |
0c737257
|
Cherian Mathew
|
<product.id>eu.etaxonomy.taxeditor.product</product.id>
|
17 |
|
|
</properties>
|
18 |
93b0eb6b
|
Cherian Mathew
|
|
19 |
0d291022
|
Cherian Mathew
|
<profiles>
|
20 |
93b0eb6b
|
Cherian Mathew
|
<profile>
|
21 |
|
|
<id>buildProducts</id>
|
22 |
|
|
<build>
|
23 |
|
|
<plugins>
|
24 |
|
|
<plugin>
|
25 |
|
|
<groupId>org.eclipse.tycho</groupId>
|
26 |
|
|
<artifactId>tycho-p2-director-plugin</artifactId>
|
27 |
|
|
<version>${tycho.version}</version>
|
28 |
|
|
<executions>
|
29 |
|
|
<execution>
|
30 |
|
|
<id>materialize-products</id>
|
31 |
|
|
<goals>
|
32 |
|
|
<goal>materialize-products</goal>
|
33 |
|
|
</goals>
|
34 |
|
|
</execution>
|
35 |
|
|
<execution>
|
36 |
|
|
<id>archive-products</id>
|
37 |
|
|
<goals>
|
38 |
|
|
<goal>archive-products</goal>
|
39 |
|
|
</goals>
|
40 |
|
|
</execution>
|
41 |
|
|
</executions>
|
42 |
|
|
<configuration>
|
43 |
|
|
<products>
|
44 |
|
|
<product>
|
45 |
|
|
<id>${product.id}</id>
|
46 |
|
|
<rootFolder>EDIT Taxonomic Editor</rootFolder>
|
47 |
|
|
</product>
|
48 |
|
|
</products>
|
49 |
|
|
</configuration>
|
50 |
|
|
</plugin>
|
51 |
|
|
</plugins>
|
52 |
|
|
</build>
|
53 |
|
|
</profile>
|
54 |
0d291022
|
Cherian Mathew
|
<profile>
|
55 |
|
|
<id>signJars</id>
|
56 |
|
|
<build>
|
57 |
|
|
<plugins>
|
58 |
|
|
<plugin>
|
59 |
|
|
<groupId>org.apache.maven.plugins</groupId>
|
60 |
|
|
<artifactId>maven-jarsigner-plugin</artifactId>
|
61 |
|
|
<version>1.3.2</version>
|
62 |
|
|
<configuration>
|
63 |
c0b39031
|
Cherian Mathew
|
<alias>editor</alias>
|
64 |
|
|
<removeExistingSignatures>true</removeExistingSignatures>
|
65 |
|
|
<!-- keystore properties should be set in the ~/.m2/settings.xml -->
|
66 |
0d291022
|
Cherian Mathew
|
<keystore>${keystore.path}</keystore>
|
67 |
|
|
<storepass>${keystore.store.password}</storepass>
|
68 |
|
|
<keypass>${keystore.key.password}</keypass>
|
69 |
c0b39031
|
Cherian Mathew
|
|
70 |
0d291022
|
Cherian Mathew
|
<archiveDirectory>${project.build.directory}/repository</archiveDirectory>
|
71 |
c0b39031
|
Cherian Mathew
|
<!-- Following two settings are to ensure that the product
|
72 |
|
|
.zip files are not signed -->
|
73 |
|
|
<processMainArtifact>false</processMainArtifact>
|
74 |
|
|
<processAttachedArtifacts>false</processAttachedArtifacts>
|
75 |
0d291022
|
Cherian Mathew
|
<includes>
|
76 |
c0b39031
|
Cherian Mathew
|
<include>plugins/eu.etaxonomy.taxeditor*.jar</include>
|
77 |
|
|
<include>features/eu.etaxonomy.taxeditor*.jar</include>
|
78 |
0d291022
|
Cherian Mathew
|
</includes>
|
79 |
|
|
<arguments>
|
80 |
|
|
<!-- Due to bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=378155
|
81 |
c0b39031
|
Cherian Mathew
|
we need to force the signature / digest algorithm to SHA1 since this is the
|
82 |
|
|
only one which plays well with Eclipse 3.x -->
|
83 |
|
|
<argument>-sigalg</argument>
|
84 |
|
|
<argument>SHA1withDSA</argument>
|
85 |
|
|
<argument>-digestalg</argument>
|
86 |
|
|
<argument>SHA1</argument>
|
87 |
0d291022
|
Cherian Mathew
|
</arguments>
|
88 |
|
|
</configuration>
|
89 |
|
|
<executions>
|
90 |
|
|
<execution>
|
91 |
|
|
<id>sign</id>
|
92 |
|
|
<goals>
|
93 |
|
|
<goal>sign</goal>
|
94 |
|
|
</goals>
|
95 |
|
|
</execution>
|
96 |
|
|
</executions>
|
97 |
|
|
</plugin>
|
98 |
|
|
</plugins>
|
99 |
|
|
</build>
|
100 |
|
|
</profile>
|
101 |
|
|
<profile>
|
102 |
|
|
<!-- Upload the repo to the server -->
|
103 |
0c737257
|
Cherian Mathew
|
<!-- ATTENTION : This does not work well currently since the file permissions
|
104 |
|
|
are set with read permission set to off after upload -->
|
105 |
0d291022
|
Cherian Mathew
|
<id>uploadRepo</id>
|
106 |
|
|
<build>
|
107 |
|
|
<plugins>
|
108 |
|
|
<plugin>
|
109 |
|
|
<groupId>org.codehaus.mojo</groupId>
|
110 |
|
|
<artifactId>wagon-maven-plugin</artifactId>
|
111 |
31c3a6af
|
Patrick Plitzner
|
<version>1.0</version>
|
112 |
0d291022
|
Cherian Mathew
|
<!-- Problems with the wagon-maven-plugin have been encounterd
|
113 |
|
|
on Windows, it should work properly on linux though. -->
|
114 |
|
|
<executions>
|
115 |
249a8e67
|
Patrick Plitzner
|
<execution>
|
116 |
|
|
<id>delete_update_site</id>
|
117 |
36db2aa2
|
Patrick Plitzner
|
<phase>clean</phase>
|
118 |
249a8e67
|
Patrick Plitzner
|
<goals>
|
119 |
|
|
<goal>sshexec</goal>
|
120 |
|
|
</goals>
|
121 |
|
|
<configuration>
|
122 |
a3fdfdf4
|
Patrick Plitzner
|
<url>scp://cybertaxonomy.eu</url>
|
123 |
249a8e67
|
Patrick Plitzner
|
<commands>
|
124 |
753eefd1
|
Patrick Plitzner
|
<command>rm -r /var/www/download/taxeditor/update/${update.dir}/*</command>
|
125 |
cc5bb09d
|
Patrick Plitzner
|
</commands>
|
126 |
|
|
<failOnError>false</failOnError>
|
127 |
|
|
</configuration>
|
128 |
249a8e67
|
Patrick Plitzner
|
</execution>
|
129 |
|
|
<execution>
|
130 |
0d291022
|
Cherian Mathew
|
<phase>package</phase>
|
131 |
|
|
<goals>
|
132 |
|
|
<goal>upload</goal>
|
133 |
|
|
</goals>
|
134 |
|
|
</execution>
|
135 |
|
|
</executions>
|
136 |
|
|
<configuration>
|
137 |
|
|
<fromDir>${project.build.directory}/repository</fromDir>
|
138 |
a3fdfdf4
|
Patrick Plitzner
|
<url>scpexe://cybertaxonomy.eu/var/www/download/taxeditor/update/${update.dir}</url>
|
139 |
b1d99f9a
|
Patrick Plitzner
|
<!-- <includes> -->
|
140 |
|
|
<!-- binary/*,content.jar,artifacts.jar,**/eu.etaxonomy.*.jar -->
|
141 |
|
|
<!-- </includes> -->
|
142 |
0d291022
|
Cherian Mathew
|
<!-- Comment out the above and uncomment the below to upload
|
143 |
|
|
all jars -->
|
144 |
b1d99f9a
|
Patrick Plitzner
|
<includes>**/*</includes>
|
145 |
a3fdfdf4
|
Patrick Plitzner
|
<serverId>cybertaxonomy.eu</serverId>
|
146 |
0d291022
|
Cherian Mathew
|
</configuration>
|
147 |
|
|
</plugin>
|
148 |
|
|
</plugins>
|
149 |
|
|
</build>
|
150 |
|
|
</profile>
|
151 |
|
|
</profiles>
|
152 |
b6f47468
|
n.hoffmann
|
|
153 |
|
|
</project>
|