pom.xml 8.8 KB
Newer Older
1
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
V
Vlad Ilyushchenko 已提交
2 3 4 5 6
  ~    ___                  _   ____  ____
  ~   / _ \ _   _  ___  ___| |_|  _ \| __ )
  ~  | | | | | | |/ _ \/ __| __| | | |  _ \
  ~  | |_| | |_| |  __/\__ \ |_| |_| | |_) |
  ~   \__\_\\__,_|\___||___/\__|____/|____/
V
Vlad 已提交
7
  ~
V
Vlad Ilyushchenko 已提交
8
  ~ Copyright (C) 2014-2017 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>1.0.5-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>
V
Vlad Ilyushchenko 已提交
65
                <version>3.3</version>
V
Vlad 已提交
66
                <configuration>
67 68
                    <source>1.8</source>
                    <target>1.8</target>
V
Vlad 已提交
69 70 71 72 73
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
V
Vlad Ilyushchenko 已提交
74
                <version>2.6</version>
V
Vlad 已提交
75 76 77 78 79 80 81
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
V
Vlad Ilyushchenko 已提交
82 83 84 85 86 87 88
                <configuration>
                    <archive>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                        </manifest>
                    </archive>
                </configuration>
V
Vlad 已提交
89
            </plugin>
90
            <plugin>
V
Vlad Ilyushchenko 已提交
91
                <groupId>org.apache.maven.plugins</groupId>
92
                <artifactId>maven-assembly-plugin</artifactId>
93
                <version>2.6</version>
94
                <configuration>
95
                    <tarLongFileMode>posix</tarLongFileMode>
96 97 98 99 100 101
                    <descriptors>
                        <descriptor>src/main/assembly/assembly.xml</descriptor>
                    </descriptors>
                </configuration>
                <executions>
                    <execution>
102
                        <id>create-jar</id>
103 104 105 106
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
                        <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 已提交
123
                            <finalName>questdb-${project.version}</finalName>
124
                        </configuration>
125 126 127
                    </execution>
                </executions>
            </plugin>
128 129 130
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
V
Vlad Ilyushchenko 已提交
131
                <version>2.19</version>
132
                <configuration>
V
Vlad Ilyushchenko 已提交
133
                    <argLine>-Xmx2048m</argLine>
134
                    <systemPropertyVariables>
135 136
                        <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]]>
137 138 139 140
                        </java.util.logging.SimpleFormatter.format>
                    </systemPropertyVariables>
                </configuration>
            </plugin>
V
Vlad 已提交
141 142 143
        </plugins>
    </build>

V
Vlad 已提交
144 145 146 147 148 149 150 151 152 153 154 155 156 157
    <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 已提交
158
                        <version>2.4</version>
V
Vlad 已提交
159 160 161 162 163 164 165 166 167 168 169 170
                        <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>
V
Vlad Ilyushchenko 已提交
171
                        <version>2.10.3</version>
V
Vlad 已提交
172 173 174 175 176 177 178 179 180 181 182 183
                        <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 已提交
184
                        <version>1.6</version>
V
Vlad 已提交
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

V
Vlad 已提交
200 201 202 203 204
    <dependencies>
        <!-- test dependencies -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
205
            <version>4.12</version>
V
Vlad 已提交
206 207 208
            <scope>test</scope>
        </dependency>

209 210 211 212
        <dependency>
            <groupId>com.intellij</groupId>
            <artifactId>annotations</artifactId>
            <version>12.0</version>
213
            <scope>provided</scope>
214 215
        </dependency>

V
Vlad Ilyushchenko 已提交
216 217 218 219 220 221 222 223 224 225 226 227 228 229
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.5.1</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpmime</artifactId>
            <version>4.5.1</version>
            <scope>test</scope>
        </dependency>

I
ideoma 已提交
230 231 232 233 234 235 236
        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
            <version>2.5</version>
            <scope>test</scope>
        </dependency>

V
Vlad 已提交
237 238
    </dependencies>
</project>