pom.xml 9.2 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 36
    <version>4.0.0</version>
    <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 52 53 54 55 56 57
            <distribution>repo</distribution>
        </license>
    </licenses>

    <developers>
        <developer>
            <name>Vlad Ilyushchenko</name>
            <email>bluestreak@gmail.com</email>
        </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 90 91 92 93
                <configuration>
                    <archive>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                        </manifest>
                    </archive>
                </configuration>
V
Vlad 已提交
94
            </plugin>
95
            <plugin>
V
Vlad Ilyushchenko 已提交
96
                <groupId>org.apache.maven.plugins</groupId>
97
                <artifactId>maven-assembly-plugin</artifactId>
98
                <version>3.0.0</version>
99
                <configuration>
100
                    <tarLongFileMode>posix</tarLongFileMode>
101 102 103 104 105 106
                    <descriptors>
                        <descriptor>src/main/assembly/assembly.xml</descriptor>
                    </descriptors>
                </configuration>
                <executions>
                    <execution>
107
                        <id>create-jar</id>
108 109 110 111
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
                        <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 已提交
128
                            <finalName>questdb-${project.version}</finalName>
129
                        </configuration>
130 131 132
                    </execution>
                </executions>
            </plugin>
133 134 135
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
V
Vlad Ilyushchenko 已提交
136
                <version>2.19</version>
137
                <configuration>
138
                    <argLine>-Xmx512m</argLine>
139
                    <systemPropertyVariables>
140 141
                        <java.util.logging.SimpleFormatter.format>
                            <![CDATA[%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$s %2$s %5$s%6$s%n]]>
142 143 144 145
                        </java.util.logging.SimpleFormatter.format>
                    </systemPropertyVariables>
                </configuration>
            </plugin>
V
Vlad 已提交
146 147 148
        </plugins>
    </build>

V
Vlad 已提交
149 150 151 152 153 154 155 156 157 158 159 160 161 162
    <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 已提交
163
                        <version>3.0.1</version>
V
Vlad 已提交
164 165 166 167 168 169 170 171 172 173 174 175
                        <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>
176
                        <version>2.10.4</version>
V
Vlad 已提交
177 178 179 180 181 182 183 184 185 186 187 188
                        <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 已提交
189
                        <version>1.6</version>
V
Vlad 已提交
190 191 192 193 194 195 196 197 198
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
199
                        <configuration>
V
Vlad Ilyushchenko 已提交
200
                            <executable>gpg</executable>
201
                        </configuration>
V
Vlad 已提交
202
                    </plugin>
203 204 205 206 207 208 209 210 211 212 213 214
                    <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 已提交
215 216 217 218 219
                </plugins>
            </build>
        </profile>
    </profiles>

V
Vlad 已提交
220 221 222 223 224
    <dependencies>
        <!-- test dependencies -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
225
            <version>4.12</version>
V
Vlad 已提交
226 227 228
            <scope>test</scope>
        </dependency>

229
        <dependency>
V
Vlad Ilyushchenko 已提交
230
            <groupId>org.jetbrains</groupId>
231
            <artifactId>annotations</artifactId>
V
Vlad Ilyushchenko 已提交
232
            <version>17.0.0</version>
233
            <scope>provided</scope>
234 235
        </dependency>

236 237 238 239 240 241
        <dependency>
            <groupId>org.postgresql</groupId>
            <artifactId>postgresql</artifactId>
            <version>42.2.5</version>
            <scope>test</scope>
        </dependency>
V
Vlad 已提交
242 243
    </dependencies>
</project>