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 |
e42c5494
|
jenkins
|
<version>4.12.0</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 |
|
|
<url>http://wp5.e-taxonomy.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 |
|
|
<version>1.0-beta-3</version>
|
112 |
|
|
<!-- Problems with the wagon-maven-plugin have been encounterd
|
113 |
|
|
on Windows, it should work properly on linux though. -->
|
114 |
|
|
<executions>
|
115 |
|
|
<execution>
|
116 |
|
|
<phase>package</phase>
|
117 |
|
|
<goals>
|
118 |
|
|
<goal>upload</goal>
|
119 |
|
|
</goals>
|
120 |
|
|
</execution>
|
121 |
|
|
</executions>
|
122 |
|
|
<configuration>
|
123 |
|
|
<fromDir>${project.build.directory}/repository</fromDir>
|
124 |
|
|
<url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/update/${update.dir}</url>
|
125 |
375fee3c
|
Cherian Mathew
|
<includes>
|
126 |
7a46f22e
|
Cherian Mathew
|
binary/*,content.jar,artifacts.jar,**/eu.etaxonomy.*.jar
|
127 |
375fee3c
|
Cherian Mathew
|
</includes>
|
128 |
0d291022
|
Cherian Mathew
|
<!-- Comment out the above and uncomment the below to upload
|
129 |
|
|
all jars -->
|
130 |
|
|
<!-- <includes>**/*</includes> -->
|
131 |
|
|
<serverId>wp5.e-taxonomy.eu</serverId>
|
132 |
|
|
</configuration>
|
133 |
|
|
</plugin>
|
134 |
|
|
</plugins>
|
135 |
|
|
</build>
|
136 |
|
|
</profile>
|
137 |
|
|
</profiles>
|
138 |
b6f47468
|
n.hoffmann
|
|
139 |
|
|
</project>
|