1 <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">
3 <groupId>eu.etaxonomy
</groupId>
4 <artifactId>taxeditor-parent
</artifactId>
5 <version>5.4.0-SNAPSHOT
</version>
8 <modelVersion>4.0.0</modelVersion>
9 <artifactId>eu.etaxonomy.taxeditor
</artifactId>
10 <packaging>eclipse-repository
</packaging>
12 <name>EDIT Taxonomic Editor Product
</name>
13 <description>The EDIT Taxonomic Desktop Editor
</description>
14 <url>https://cybertaxonomy.eu/taxeditor
</url>
16 <product.id
>eu.etaxonomy.taxeditor.product
</product.id
>
21 <id>buildProducts
</id>
25 <groupId>org.eclipse.tycho
</groupId>
26 <artifactId>tycho-p2-director-plugin
</artifactId>
27 <version>${tycho.version}
</version>
30 <id>materialize-products
</id>
32 <goal>materialize-products
</goal>
36 <id>archive-products
</id>
38 <goal>archive-products
</goal>
45 <id>${product.id}
</id>
46 <rootFolder>EDIT Taxonomic Editor
</rootFolder>
59 <groupId>org.apache.maven.plugins
</groupId>
60 <artifactId>maven-jarsigner-plugin
</artifactId>
61 <version>1.3.2</version>
64 <removeExistingSignatures>true
</removeExistingSignatures>
65 <!-- keystore properties should be set in the ~/.m2/settings.xml -->
66 <keystore>${keystore.path}
</keystore>
67 <storepass>${keystore.store.password}
</storepass>
68 <keypass>${keystore.key.password}
</keypass>
70 <archiveDirectory>${project.build.directory}/repository
</archiveDirectory>
71 <!-- Following two settings are to ensure that the product
72 .zip files are not signed -->
73 <processMainArtifact>false
</processMainArtifact>
74 <processAttachedArtifacts>false
</processAttachedArtifacts>
76 <include>plugins/eu.etaxonomy.taxeditor*.jar
</include>
77 <include>features/eu.etaxonomy.taxeditor*.jar
</include>
80 <!-- Due to bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=378155
81 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>
102 <!-- Upload the repo to the server -->
103 <!-- ATTENTION : This does not work well currently since the file permissions
104 are set with read permission set to off after upload -->
109 <groupId>org.codehaus.mojo
</groupId>
110 <artifactId>wagon-maven-plugin
</artifactId>
111 <version>1.0</version>
112 <!-- Problems with the wagon-maven-plugin have been encounterd
113 on Windows, it should work properly on linux though. -->
116 <id>delete_update_site
</id>
122 <url>scp://cybertaxonomy.eu
</url>
124 <command>rm -r /var/www/download/taxeditor/update/${update.dir}/*
</command>
126 <failOnError>false
</failOnError>
130 <phase>package
</phase>
137 <fromDir>${project.build.directory}/repository
</fromDir>
138 <url>scpexe://cybertaxonomy.eu/var/www/download/taxeditor/update/${update.dir}
</url>
140 <!-- binary/*,content.jar,artifacts.jar,**/eu.etaxonomy.*.jar -->
142 <!-- Comment out the above and uncomment the below to upload
144 <includes>**/*
</includes>
145 <serverId>cybertaxonomy.eu
</serverId>