eu.etaxonomy.taxeditor.cdmlib/.classpath, eu.etaxonomy.taxeditor.cdmlib/META-INF...
[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.5.2-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 <properties>
17 <product.id>eu.etaxonomy.taxeditor.product</product.id>
18 </properties>
19
20 <profiles>
21 <profile>
22 <id>buildProducts</id>
23 <build>
24 <plugins>
25 <plugin>
26 <groupId>org.eclipse.tycho</groupId>
27 <artifactId>tycho-p2-director-plugin</artifactId>
28 <version>${tycho.version}</version>
29 <executions>
30 <execution>
31 <id>materialize-products</id>
32 <goals>
33 <goal>materialize-products</goal>
34 </goals>
35 </execution>
36 <execution>
37 <id>archive-products</id>
38 <goals>
39 <goal>archive-products</goal>
40 </goals>
41 </execution>
42 </executions>
43 <configuration>
44 <products>
45 <product>
46 <id>${product.id}</id>
47 <rootFolder>EDIT Taxonomic Editor</rootFolder>
48 </product>
49 </products>
50 </configuration>
51 </plugin>
52 </plugins>
53 </build>
54 </profile>
55 <profile>
56 <id>signJars</id>
57 <build>
58 <plugins>
59 <plugin>
60 <groupId>org.apache.maven.plugins</groupId>
61 <artifactId>maven-jarsigner-plugin</artifactId>
62 <version>1.3.2</version>
63 <configuration>
64 <alias>editor</alias>
65 <removeExistingSignatures>true</removeExistingSignatures>
66 <!-- keystore properties should be set in the ~/.m2/settings.xml -->
67 <keystore>${keystore.path}</keystore>
68 <storepass>${keystore.store.password}</storepass>
69 <keypass>${keystore.key.password}</keypass>
70
71 <archiveDirectory>${project.build.directory}/repository</archiveDirectory>
72 <!-- Following two settings are to ensure that the product
73 .zip files are not signed -->
74 <processMainArtifact>false</processMainArtifact>
75 <processAttachedArtifacts>false</processAttachedArtifacts>
76 <includes>
77 <include>plugins/eu.etaxonomy.taxeditor*.jar</include>
78 <include>features/eu.etaxonomy.taxeditor*.jar</include>
79 </includes>
80 <arguments>
81 <!-- Due to bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=378155
82 we need to force the signature / digest algorithm to SHA1 since this is the
83 only one which plays well with Eclipse 3.x -->
84 <argument>-sigalg</argument>
85 <argument>SHA1withDSA</argument>
86 <argument>-digestalg</argument>
87 <argument>SHA1</argument>
88 </arguments>
89 </configuration>
90 <executions>
91 <execution>
92 <id>sign</id>
93 <goals>
94 <goal>sign</goal>
95 </goals>
96 </execution>
97 </executions>
98 </plugin>
99 </plugins>
100 </build>
101 </profile>
102 <profile>
103 <!-- Upload the repo to the server -->
104 <!-- ATTENTION : This does not work well currently since the file permissions
105 are set with read permission set to off after upload -->
106 <id>uploadRepo</id>
107 <build>
108 <plugins>
109 <plugin>
110 <groupId>org.codehaus.mojo</groupId>
111 <artifactId>wagon-maven-plugin</artifactId>
112 <version>1.0-beta-3</version>
113 <!-- Problems with the wagon-maven-plugin have been encounterd
114 on Windows, it should work properly on linux though. -->
115 <executions>
116 <execution>
117 <phase>package</phase>
118 <goals>
119 <goal>upload</goal>
120 </goals>
121 </execution>
122 </executions>
123 <configuration>
124 <fromDir>${project.build.directory}/repository</fromDir>
125 <url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/update/${update.dir}</url>
126 <includes>
127 binary/*,content.jar,artifacts.jar,**/eu.etaxonomy.*.jar
128 </includes>
129 <!-- Comment out the above and uncomment the below to upload
130 all jars -->
131 <!-- <includes>**/*</includes> -->
132 <serverId>wp5.e-taxonomy.eu</serverId>
133 </configuration>
134 </plugin>
135 </plugins>
136 </build>
137 </profile>
138 </profiles>
139
140 </project>