pom.xml 6.2 KB
Newer Older
J
jurgen 已提交
1
<?xml version="1.0" encoding="UTF-8"?>
2 3 4 5 6 7 8 9
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
         xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.jkiss.dbeaver</groupId>
    <artifactId>dbeaver</artifactId>
    <version>1.0.0</version>
    <packaging>pom</packaging>
J
jurgen 已提交
10

11
    <properties>
S
serge-rider 已提交
12
        <dbeaver-version>5.1.1</dbeaver-version>
13
        <dbeaver-product>DBeaver</dbeaver-product>
S
serge-rider 已提交
14
        <tycho-version>1.1.0</tycho-version>
S
serge-rider 已提交
15
        <tycho-versions-version>0.26.0</tycho-versions-version>
16
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
S
Serge Rider 已提交
17
        <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
S
serge-rider 已提交
18
        <eclipse-p2-repo.url>http://download.eclipse.org/releases/oxygen/</eclipse-p2-repo.url>
19
        <local-p2-repo.url>https://dbeaver.io/eclipse-repo</local-p2-repo.url>
20
    </properties>
J
jurgen 已提交
21

22
    <modules>
S
Serge Rider 已提交
23 24 25
        <module>bundles</module>
        <module>plugins</module>
        <module>features</module>
26
        <module>nls</module>
27

28
        <!-- Products -->
29
        <module>product/standalone</module>
30
        <module>product/repositories</module>
31

32 33
        <!-- Test -->
        <module>plugins/org.jkiss.dbeaver.test</module>
34
        <module>tests/org.jkiss.dbeaver.runtime.ide.core.tests</module>
35

36
    </modules>
J
jurgen 已提交
37

38 39 40 41 42 43 44 45 46 47 48 49
    <repositories>
        <repository>
            <id>eclipse-p2-repo</id>
            <url>${eclipse-p2-repo.url}</url>
            <layout>p2</layout>
        </repository>
        <repository>
            <id>local-contrib</id>
            <url>${local-p2-repo.url}</url>
            <layout>p2</layout>
        </repository>
    </repositories>
J
jurgen 已提交
50

51 52
    <build>
        <plugins>
J
jurgen 已提交
53

54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
            <!-- Tycho build -->
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>target-platform-configuration</artifactId>
                <version>${tycho-version}</version>
                <configuration>
                    <environments>
                        <environment>
                            <os>win32</os>
                            <ws>win32</ws>
                            <arch>x86</arch>
                        </environment>
                        <environment>
                            <os>win32</os>
                            <ws>win32</ws>
                            <arch>x86_64</arch>
                        </environment>
                        <environment>
                            <os>linux</os>
                            <ws>gtk</ws>
                            <arch>x86</arch>
                        </environment>
                        <environment>
                            <os>linux</os>
                            <ws>gtk</ws>
                            <arch>x86_64</arch>
                        </environment>
                        <environment>
                            <os>macosx</os>
                            <ws>cocoa</ws>
                            <arch>x86_64</arch>
                        </environment>
S
serge-rider 已提交
86
<!--
87 88 89
                        <environment>
                            <os>solaris</os>
                            <ws>gtk</ws>
S
Serge Rider 已提交
90
                            <arch>x86_64</arch>
91
                        </environment>
S
serge-rider 已提交
92
-->
93 94 95
                    </environments>
                </configuration>
            </plugin>
J
jurgen 已提交
96

97 98 99 100 101 102
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-maven-plugin</artifactId>
                <version>${tycho-version}</version>
                <extensions>true</extensions>
            </plugin>
S
Serge Rider 已提交
103

S
serge-rider 已提交
104
<!--
S
serge-rider 已提交
105 106 107 108 109 110
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-versions-plugin</artifactId>
                <version>${tycho-versions-version}</version>
                <extensions>true</extensions>
            </plugin>
S
serge-rider 已提交
111
-->
S
serge-rider 已提交
112

113 114 115 116 117
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-compiler-plugin</artifactId>
                <version>${tycho-version}</version>
                <configuration>
S
serge-rider 已提交
118 119
                    <source>1.8</source>
                    <target>1.8</target>
S
Serge Rider 已提交
120
                    <compilerArgument>-warn:+discouraged,forbidden</compilerArgument>
121 122
                </configuration>
            </plugin>
J
jurgen 已提交
123

S
Serge Rider 已提交
124 125 126 127 128 129 130 131 132 133
            <!-- Set Built-By info -->
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-packaging-plugin</artifactId>
                <version>${tycho-version}</version>
                <configuration>
                    <archive>
                        <manifestEntries>
                            <Built-By>jkiss.org</Built-By>
                            <Created-By>jkiss.org</Created-By>
S
Serge Rider 已提交
134
                            <Build-Time>${maven.build.timestamp}</Build-Time>
S
Serge Rider 已提交
135 136 137 138 139 140
                        </manifestEntries>
                        <addMavenDescriptor>false</addMavenDescriptor>
                    </archive>
                </configuration>
            </plugin>

S
serge-rider 已提交
141 142 143 144 145 146 147 148 149
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.3.2</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>

150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
            <!-- Signing -->
            <!--plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jarsigner-plugin</artifactId>
                <version>1.2</version>
                <configuration>
                    <keystore>file://C:\tmp\eclipse-signing.keystore </keystore>
                    <storepass>dbeaver</storepass>
                    <alias>dbeaver</alias>
                    <keypass>dbeaver</keypass>
                </configuration>
                <executions>
                    <execution>
                        <id>sign</id>
                        <goals>
                            <goal>sign</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin-->

        </plugins>
    </build>
J
jurgen 已提交
173
</project>