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">
4 <groupId>eu.etaxonomy
</groupId>
5 <artifactId>taxeditor-parent
</artifactId>
6 <version>3.5.0-SNAPSHOT
</version>
9 <modelVersion>4.0.0</modelVersion>
10 <artifactId>eu.etaxonomy.taxeditor
</artifactId>
11 <packaging>eclipse-repository
</packaging>
13 <name>EDIT Taxonomic Editor Product
</name>
14 <description>The EDIT Taxonomic Desktop Editor
</description>
15 <url>http://wp5.e-taxonomy.eu/taxeditor
</url>
17 <jre.vm
>-vm jre/bin
</jre.vm
>
18 <product.id
>eu.etaxonomy.taxeditor.product
</product.id
>
23 <groupId>org.eclipse.tycho
</groupId>
24 <artifactId>tycho-p2-director-plugin
</artifactId>
25 <version>${tycho.version}
</version>
28 <id>materialize-products
</id>
30 <goal>materialize-products
</goal>
34 <id>archive-products
</id>
36 <goal>archive-products
</goal>
43 <id>${product.id}
</id>
44 <rootFolder>EDIT Taxonomic Editor
</rootFolder>
57 <groupId>org.apache.maven.plugins
</groupId>
58 <artifactId>maven-jarsigner-plugin
</artifactId>
59 <version>1.3.2</version>
62 <removeExistingSignatures>true
</removeExistingSignatures>
63 <!-- keystore properties should be set in the ~/.m2/settings.xml -->
64 <keystore>${keystore.path}
</keystore>
65 <storepass>${keystore.store.password}
</storepass>
66 <keypass>${keystore.key.password}
</keypass>
68 <archiveDirectory>${project.build.directory}/repository
</archiveDirectory>
69 <!-- Following two settings are to ensure that the product
70 .zip files are not signed -->
71 <processMainArtifact>false
</processMainArtifact>
72 <processAttachedArtifacts>false
</processAttachedArtifacts>
74 <include>plugins/eu.etaxonomy.taxeditor*.jar
</include>
75 <include>features/eu.etaxonomy.taxeditor*.jar
</include>
78 <!-- Due to bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=378155
79 we need to force the signature / digest algorithm to SHA1 since this is the
80 only one which plays well with Eclipse 3.x -->
81 <argument>-sigalg
</argument>
82 <argument>SHA1withDSA
</argument>
83 <argument>-digestalg
</argument>
84 <argument>SHA1
</argument>
100 <!-- Upload the repo to the server -->
101 <!-- ATTENTION : This does not work well currently since the file permissions
102 are set with read permission set to off after upload -->
107 <groupId>org.codehaus.mojo
</groupId>
108 <artifactId>wagon-maven-plugin
</artifactId>
109 <version>1.0-beta-
3</version>
110 <!-- Problems with the wagon-maven-plugin have been encounterd
111 on Windows, it should work properly on linux though. -->
114 <phase>package
</phase>
121 <fromDir>${project.build.directory}/repository
</fromDir>
122 <url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/update/${update.dir}
</url>
124 binary/*,content.jar,artifacts.jar,**/eu.etaxonomy.*.jar
126 <!-- Comment out the above and uncomment the below to upload
128 <!-- <includes>**/*</includes> -->
129 <serverId>wp5.e-taxonomy.eu
</serverId>
136 <!-- Configures the editor to lanuch using the packaged jre by adding
137 the '-vm jre/bin' option the eu.etaxonomy.taxeditor/eu.etaxonomy.taxeditor.product -->
142 <groupId>org.apache.maven.plugins
</groupId>
143 <artifactId>maven-antrun-plugin
</artifactId>
144 <version>1.8</version>
147 <id>setProductWithJRE
</id>
148 <phase>validate
</phase>
151 <copy overwrite=
"true" force=
"true"
152 file=
"${basedir}/eu.etaxonomy.taxeditor.product.with.jre"
153 tofile=
"${basedir}/eu.etaxonomy.taxeditor.product" />
161 <id>setProductWithoutJRE
</id>
165 <copy overwrite=
"true" force=
"true"
166 file=
"${basedir}/eu.etaxonomy.taxeditor.product.wo.jre"
167 tofile=
"${basedir}/eu.etaxonomy.taxeditor.product" />