pom.xml 9.0 KB
Newer Older
1
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 3 4 5 6
  ~     ___                  _   ____  ____
  ~    / _ \ _   _  ___  ___| |_|  _ \| __ )
  ~   | | | | | | |/ _ \/ __| __| | | |  _ \
  ~   | |_| | |_| |  __/\__ \ |_| |_| | |_) |
  ~    \__\_\\__,_|\___||___/\__|____/|____/
V
Vlad 已提交
7
  ~
8 9
  ~  Copyright (c) 2014-2019 Appsicle
  ~  Copyright (c) 2019-2020 QuestDB
V
Vlad 已提交
10
  ~
11 12 13
  ~  Licensed under the Apache License, Version 2.0 (the "License");
  ~  you may not use this file except in compliance with the License.
  ~  You may obtain a copy of the License at
V
Vlad 已提交
14
  ~
15
  ~  http://www.apache.org/licenses/LICENSE-2.0
16
  ~
17 18 19 20 21
  ~  Unless required by applicable law or agreed to in writing, software
  ~  distributed under the License is distributed on an "AS IS" BASIS,
  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~  See the License for the specific language governing permissions and
  ~  limitations under the License.
22
  ~
23
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
V
Vlad 已提交
24 25 26 27

<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
V
Vlad Ilyushchenko 已提交
28
    <name>QuestDB Core</name>
29
    <description>QuestDB is High Performance Time Series Database</description>
V
Vlad 已提交
30

31 32 33 34
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

V
Vlad Ilyushchenko 已提交
35
    <version>4.2.1-SNAPSHOT</version>
V
Vlad Ilyushchenko 已提交
36
    <groupId>org.questdb</groupId>
37
    <artifactId>core</artifactId>
V
Vlad 已提交
38
    <packaging>jar</packaging>
39

V
Vlad 已提交
40

41
    <url>https://www.questdb.io/</url>
V
Vlad 已提交
42 43
    <licenses>
        <license>
44 45
            <name>Apache 2.0</name>
            <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
V
Vlad 已提交
46 47 48 49 50 51
            <distribution>repo</distribution>
        </license>
    </licenses>

    <developers>
        <developer>
52 53
            <name>QuestDB Team</name>
            <email>hello@questdb.io</email>
V
Vlad 已提交
54 55 56 57
        </developer>
    </developers>

    <scm>
58
        <url>scm:git:https://github.com/questdb/questdb.git</url>
V
Vlad 已提交
59 60 61 62 63 64 65
    </scm>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
66
                <version>3.6.1</version>
V
Vlad 已提交
67
                <configuration>
68 69 70 71
                    <!-- these args suppress warning about using internal java APIs -->
                    <compilerArgument>-XDignore.symbol.file</compilerArgument>
                    <fork>true</fork>
                    <!-- end -->
72 73
                    <source>1.8</source>
                    <target>1.8</target>
V
Vlad 已提交
74 75 76 77 78
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
V
Vlad Ilyushchenko 已提交
79
                <version>3.0.1</version>
V
Vlad 已提交
80 81 82 83 84 85 86
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
V
Vlad Ilyushchenko 已提交
87 88 89
                <configuration>
                    <archive>
                        <manifest>
90
                            <mainClass>io.questdb.ServerMain</mainClass>
V
Vlad Ilyushchenko 已提交
91 92 93 94
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                        </manifest>
                    </archive>
                </configuration>
V
Vlad 已提交
95
            </plugin>
96
            <plugin>
V
Vlad Ilyushchenko 已提交
97
                <groupId>org.apache.maven.plugins</groupId>
98
                <artifactId>maven-assembly-plugin</artifactId>
99
                <version>3.0.0</version>
100
                <configuration>
101
                    <tarLongFileMode>posix</tarLongFileMode>
102 103 104 105 106 107
                    <descriptors>
                        <descriptor>src/main/assembly/assembly.xml</descriptor>
                    </descriptors>
                </configuration>
                <executions>
                    <execution>
108
                        <id>create-jar</id>
109 110 111 112
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
                        <configuration>
                            <descriptors>
                                <descriptor>src/main/assembly/assembly.xml</descriptor>
                            </descriptors>
                        </configuration>
                    </execution>
                    <execution>
                        <id>create-binary</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <configuration>
                            <descriptors>
                                <descriptor>src/main/assembly/binaries.xml</descriptor>
                            </descriptors>
V
Vlad Ilyushchenko 已提交
129
                            <finalName>questdb-${project.version}</finalName>
130
                        </configuration>
131 132 133
                    </execution>
                </executions>
            </plugin>
134 135 136
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
137
                <version>2.19</version>
138
                <configuration>
139
                    <argLine>-Xmx512m</argLine>
140 141
                </configuration>
            </plugin>
V
Vlad 已提交
142 143 144
        </plugins>
    </build>

V
Vlad 已提交
145 146 147 148 149 150 151 152 153 154 155 156 157 158
    <profiles>
        <profile>
            <id>release-sign-artifacts</id>
            <activation>
                <property>
                    <name>release</name>
                    <value>true</value>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
V
Vlad Ilyushchenko 已提交
159
                        <version>3.0.1</version>
V
Vlad 已提交
160 161 162 163 164 165 166 167 168 169 170 171
                        <executions>
                            <execution>
                                <id>attach-sources</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
172
                        <version>2.10.4</version>
V
Vlad 已提交
173 174 175 176 177 178 179 180 181 182 183 184
                        <executions>
                            <execution>
                                <id>attach-javadocs</id>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
V
Vlad Ilyushchenko 已提交
185
                        <version>1.6</version>
V
Vlad 已提交
186 187 188 189 190 191 192 193 194
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
195
                        <configuration>
V
Vlad Ilyushchenko 已提交
196
                            <executable>gpg</executable>
197
                        </configuration>
V
Vlad 已提交
198
                    </plugin>
199 200 201 202 203 204 205 206 207 208 209 210
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>cobertura-maven-plugin</artifactId>
                        <version>2.7</version>
                        <configuration>
                            <formats>
                                <format>html</format>
                                <format>xml</format>
                            </formats>
                            <check/>
                        </configuration>
                    </plugin>
V
Vlad 已提交
211 212 213 214 215
                </plugins>
            </build>
        </profile>
    </profiles>

V
Vlad 已提交
216 217 218 219 220
    <dependencies>
        <!-- test dependencies -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
221
            <version>4.12</version>
V
Vlad 已提交
222 223 224
            <scope>test</scope>
        </dependency>

225
        <dependency>
V
Vlad Ilyushchenko 已提交
226
            <groupId>org.jetbrains</groupId>
227
            <artifactId>annotations</artifactId>
V
Vlad Ilyushchenko 已提交
228
            <version>17.0.0</version>
229
            <scope>provided</scope>
230 231
        </dependency>

232 233 234 235 236 237
        <dependency>
            <groupId>org.postgresql</groupId>
            <artifactId>postgresql</artifactId>
            <version>42.2.5</version>
            <scope>test</scope>
        </dependency>
V
Vlad 已提交
238 239
    </dependencies>
</project>