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>
50 <groupId>org.apache.maven.plugins
</groupId>
51 <artifactId>maven-antrun-plugin
</artifactId>
52 <version>1.8</version>
55 <id>setProductWithoutJRE
</id>
56 <phase>validate
</phase>
59 <copy overwrite=
"true" force=
"true"
60 file=
"${basedir}/eu.etaxonomy.taxeditor.product.wo.jre"
61 tofile=
"${basedir}/eu.etaxonomy.taxeditor.product" />
78 <groupId>org.apache.maven.plugins
</groupId>
79 <artifactId>maven-jarsigner-plugin
</artifactId>
80 <version>1.3.2</version>
83 <removeExistingSignatures>true
</removeExistingSignatures>
84 <!-- keystore properties should be set in the ~/.m2/settings.xml -->
85 <keystore>${keystore.path}
</keystore>
86 <storepass>${keystore.store.password}
</storepass>
87 <keypass>${keystore.key.password}
</keypass>
89 <archiveDirectory>${project.build.directory}/repository
</archiveDirectory>
90 <!-- Following two settings are to ensure that the product
91 .zip files are not signed -->
92 <processMainArtifact>false
</processMainArtifact>
93 <processAttachedArtifacts>false
</processAttachedArtifacts>
95 <include>plugins/eu.etaxonomy.taxeditor*.jar
</include>
96 <include>features/eu.etaxonomy.taxeditor*.jar
</include>
99 <!-- Due to bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=378155
100 we need to force the signature / digest algorithm to SHA1 since this is the
101 only one which plays well with Eclipse 3.x -->
102 <argument>-sigalg
</argument>
103 <argument>SHA1withDSA
</argument>
104 <argument>-digestalg
</argument>
105 <argument>SHA1
</argument>
121 <!-- Upload the repo to the server -->
122 <!-- ATTENTION : This does not work well currently since the file permissions
123 are set with read permission set to off after upload -->
128 <groupId>org.codehaus.mojo
</groupId>
129 <artifactId>wagon-maven-plugin
</artifactId>
130 <version>1.0-beta-
3</version>
131 <!-- Problems with the wagon-maven-plugin have been encounterd
132 on Windows, it should work properly on linux though. -->
135 <phase>package
</phase>
142 <fromDir>${project.build.directory}/repository
</fromDir>
143 <url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/update/${update.dir}
</url>
145 binary/*,content.jar,artifacts.jar,**/eu.etaxonomy.*.jar
147 <!-- Comment out the above and uncomment the below to upload
149 <!-- <includes>**/*</includes> -->
150 <serverId>wp5.e-taxonomy.eu
</serverId>
157 <!-- Configures the editor to lanuch using the packaged jre by adding
158 the '-vm jre/bin' option the eu.etaxonomy.taxeditor/eu.etaxonomy.taxeditor.product -->
163 <groupId>org.apache.maven.plugins
</groupId>
164 <artifactId>maven-antrun-plugin
</artifactId>
165 <version>1.8</version>
168 <id>setProductWithJRE
</id>
169 <phase>validate
</phase>
172 <copy overwrite=
"true" force=
"true"
173 file=
"${basedir}/eu.etaxonomy.taxeditor.product.with.jre"
174 tofile=
"${basedir}/eu.etaxonomy.taxeditor.product" />