pom.xml 9.9 KB
Newer Older
1
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
V
Vlad Ilyushchenko 已提交
2 3 4 5 6
  ~    ___                  _   ____  ____
  ~   / _ \ _   _  ___  ___| |_|  _ \| __ )
  ~  | | | | | | |/ _ \/ __| __| | | |  _ \
  ~  | |_| | |_| |  __/\__ \ |_| |_| | |_) |
  ~   \__\_\\__,_|\___||___/\__|____/|____/
V
Vlad 已提交
7
  ~
8
  ~ Copyright (C) 2014-2018 Appsicle
V
Vlad 已提交
9
  ~
10 11 12
  ~ This program is free software: you can redistribute it and/or  modify
  ~ it under the terms of the GNU Affero General Public License, version 3,
  ~ as published by the Free Software Foundation.
V
Vlad 已提交
13
  ~
14 15 16 17 18 19 20 21
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU Affero General Public License for more details.
  ~
  ~ You should have received a copy of the GNU Affero General Public License
  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  ~
22
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
V
Vlad 已提交
23 24 25 26

<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>
27 28
    <name>QuestDB</name>
    <description>QuestDB is High Performance Time Series Database</description>
V
Vlad 已提交
29

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

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

V
Vlad 已提交
39

V
Vlad Ilyushchenko 已提交
40
    <url>https://www.questdb.org</url>
V
Vlad 已提交
41 42
    <licenses>
        <license>
V
Vlad Ilyushchenko 已提交
43 44
            <name>GNU Affero General Public License 3.0</name>
            <url>http://www.fsf.org/licensing/licenses/agpl-3.0.html</url>
V
Vlad 已提交
45 46 47 48 49 50 51 52 53 54 55 56
            <distribution>repo</distribution>
        </license>
    </licenses>

    <developers>
        <developer>
            <name>Vlad Ilyushchenko</name>
            <email>bluestreak@gmail.com</email>
        </developer>
    </developers>

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

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

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

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

228 229 230 231
        <dependency>
            <groupId>com.intellij</groupId>
            <artifactId>annotations</artifactId>
            <version>12.0</version>
232
            <scope>provided</scope>
233 234
        </dependency>

V
Vlad Ilyushchenko 已提交
235 236 237
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
238
            <version>4.5.3</version>
V
Vlad Ilyushchenko 已提交
239 240 241 242 243 244
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpmime</artifactId>
245
            <version>4.5.3</version>
V
Vlad Ilyushchenko 已提交
246 247 248
            <scope>test</scope>
        </dependency>

I
ideoma 已提交
249 250 251
        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
252
            <version>2.8.1</version>
I
ideoma 已提交
253 254 255
            <scope>test</scope>
        </dependency>

V
Vlad Ilyushchenko 已提交
256 257 258 259 260 261 262 263
        <dependency>
            <groupId>org.hdrhistogram</groupId>
            <artifactId>HdrHistogram</artifactId>
            <version>2.1.10</version>
            <scope>test</scope>
        </dependency>


V
Vlad 已提交
264 265
    </dependencies>
</project>