Project

General

Profile

Download (4.32 KB) Statistics
| Branch: | Tag: | Revision:
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
              <keystore>${keystore.path}</keystore>
59
              <storepass>${keystore.store.password}</storepass>
60
              <alias>editor</alias>
61
              <keypass>${keystore.key.password}</keypass>
62
              <removeExistingSignatures>true</removeExistingSignatures>
63
              <archiveDirectory>${project.build.directory}/repository</archiveDirectory>
64
              <includes>
65
                <include>**/eu.etaxonomy.taxeditor*.jar</include>
66
              </includes>
67
              <excludes>
68
                <exclude>**/*.zip</exclude>
69
              </excludes>
70
              <arguments>
71
                <!-- Due to bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=378155 
72
                     we need to force the signature / digest algorithm to SHA1 since
73
                     this is the only one which plays well with Eclipse 3.x -->
74
                <argument>-sigalg</argument><argument>SHA1withDSA</argument>
75
                <argument>-digestalg</argument><argument>SHA1</argument>
76
              </arguments>
77
            </configuration>
78
            <executions>
79
              <execution>
80
                <id>sign</id>
81
                <goals>
82
                  <goal>sign</goal>
83
                </goals>
84
              </execution>
85
            </executions>
86
          </plugin>
87
        </plugins>
88
      </build>
89
    </profile>
90
    <profile>
91
      <!-- Upload the repo to the server -->
92
      <id>uploadRepo</id>
93
      <build>
94
        <plugins>
95
          <plugin>
96
            <groupId>org.codehaus.mojo</groupId>
97
            <artifactId>wagon-maven-plugin</artifactId>
98
            <version>1.0-beta-3</version>
99
            <!-- Problems with the wagon-maven-plugin have been encounterd 
100
              on Windows, it should work properly on linux though. -->
101
            <executions>
102
              <execution>
103
                <phase>package</phase>
104
                <goals>
105
                  <goal>upload</goal>
106
                </goals>
107
              </execution>
108
            </executions>
109
            <configuration>
110
              <fromDir>${project.build.directory}/repository</fromDir>
111
              <url>scpexe://wp5.e-taxonomy.eu/var/www/download/taxeditor/update/${update.dir}</url>
112
              <includes>binary/*,content.jar,artifacts.jar,**/eu.etaxonomy.*.jar</includes>
113
              <!-- Comment out the above and uncomment the below to upload 
114
                all jars -->
115
              <!-- <includes>**/*</includes> -->
116
              <serverId>wp5.e-taxonomy.eu</serverId>
117
            </configuration>
118
          </plugin>
119
        </plugins>
120
      </build>
121
    </profile>
122
  </profiles>
123

    
124
</project>
(6-6/7)