merge-update from trunk
[taxeditor.git] / eu.etaxonomy.taxeditor / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <parent>
4 <groupId>eu.etaxonomy</groupId>
5 <artifactId>taxeditor-parent</artifactId>
6 <version>3.3.8-SNAPSHOT</version>
7 </parent>
8
9 <modelVersion>4.0.0</modelVersion>
10 <artifactId>eu.etaxonomy.taxeditor</artifactId>
11 <packaging>eclipse-repository</packaging>
12
13 <name>EDIT Taxonomic Editor Product</name>
14 <description>The EDIT Taxonomic Desktop Editor</description>
15 <url>http://wp5.e-taxonomy.eu/taxeditor</url>
16
17 <build>
18 <plugins>
19 <plugin>
20 <groupId>org.eclipse.tycho</groupId>
21 <artifactId>tycho-p2-director-plugin</artifactId>
22 <version>${tycho.version}</version>
23 <executions>
24 <execution>
25 <id>materialize-products</id>
26 <goals>
27 <goal>materialize-products</goal>
28 </goals>
29 </execution>
30 <execution>
31 <id>archive-products</id>
32 <goals>
33 <goal>archive-products</goal>
34 </goals>
35 </execution>
36 </executions>
37 <configuration>
38 <products>
39 <product>
40 <id>eu.etaxonomy.taxeditor.product</id>
41 <rootFolder>EDIT Taxonomic Editor</rootFolder>
42 </product>
43 </products>
44 </configuration>
45 </plugin>
46 </plugins>
47 </build>
48 <profiles>
49 <profile>
50 <id>signJars</id>
51 <build>
52 <plugins>
53 <plugin>
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-jarsigner-plugin</artifactId>
56 <version>1.3.2</version>
57 <configuration>
58 <alias>editor</alias>
59 <removeExistingSignatures>true</removeExistingSignatures>
60 <!-- keystore properties should be set in the ~/.m2/settings.xml -->
61 <keystore>${keystore.path}</keystore>
62 <storepass>${keystore.store.password}</storepass>
63 <keypass>${keystore.key.password}</keypass>
64
65 <archiveDirectory>${project.build.directory}/repository</archiveDirectory>
66 <!-- Following two settings are to ensure that the product
67 .zip files are not signed -->
68 <processMainArtifact>false</processMainArtifact>
69 <processAttachedArtifacts>false</processAttachedArtifacts>
70 <includes>
71 <include>plugins/eu.etaxonomy.taxeditor*.jar</include>
72 <include>features/eu.etaxonomy.taxeditor*.jar</include>
73 </includes>
74 <arguments>
75 <!-- Due to bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=378155
76 we need to force the signature / digest algorithm to SHA1 since this is the
77 only one which plays well with Eclipse 3.x -->
78 <argument>-sigalg</argument>
79 <argument>SHA1withDSA</argument>
80 <argument>-digestalg</argument>
81 <argument>SHA1</argument>
82 </arguments>
83 </configuration>
84 <executions>
85 <execution>
86 <id>sign</id>
87 <goals>
88 <goal>sign</goal>
89 </goals>
90 </execution>
91 </executions>
92 </plugin>
93 </plugins>
94 </build>
95 </profile>
96 <profile>
97 <!-- Upload the repo to the server -->
98 <id>uploadRepo</id>
99 <build>
100 <plugins>
101 <plugin>
102 <groupId>org.codehaus.mojo</groupId>
103 <artifactId>wagon-maven-plugin</artifactId>
104 <version>1.0-beta-3</version>
105 <!-- Problems with the wagon-maven-plugin have been encounterd
106 on Windows, it should work properly on linux though. -->
107 <executions>
108 <execution>
109 <phase>package</phase>
110 <goals>
111 <goal>upload</goal>
112 </goals>
113 </execution>
114 </executions>
115 <configuration>
116 <fromDir>${project.build.directory}/repository</fromDir>
117 <url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/update/${update.dir}</url>
118 <includes>binary/*,content.jar,artifacts.jar,**/eu.etaxonomy.*.jar</includes>
119 <!-- Comment out the above and uncomment the below to upload
120 all jars -->
121 <!-- <includes>**/*</includes> -->
122 <serverId>wp5.e-taxonomy.eu</serverId>
123 </configuration>
124 </plugin>
125 </plugins>
126 </build>
127 </profile>
128 </profiles>
129
130 </project>