pom.xml 8.5 KB
Newer Older
1
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
V
Vlad Ilyushchenko 已提交
2 3 4 5 6
  ~    ___                  _   ____  ____
  ~   / _ \ _   _  ___  ___| |_|  _ \| __ )
  ~  | | | | | | |/ _ \/ __| __| | | |  _ \
  ~  | |_| | |_| |  __/\__ \ |_| |_| | |_) |
  ~   \__\_\\__,_|\___||___/\__|____/|____/
V
Vlad 已提交
7
  ~
8
  ~ Copyright (C) 2014-2016 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>

34
    <version>1.0.1-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>http://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 67 68 69 70 71 72 73
                <configuration>
                    <source>1.7</source>
                    <target>1.7</target>
                </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 82
                <executions>
                    <execution>
                        <goals>
                            <goal>test-jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
83
            <plugin>
V
Vlad Ilyushchenko 已提交
84
                <groupId>org.apache.maven.plugins</groupId>
85
                <artifactId>maven-assembly-plugin</artifactId>
86
                <version>2.6</version>
87
                <configuration>
88
                    <tarLongFileMode>posix</tarLongFileMode>
89 90 91 92 93 94
                    <descriptors>
                        <descriptor>src/main/assembly/assembly.xml</descriptor>
                    </descriptors>
                </configuration>
                <executions>
                    <execution>
95
                        <id>create-jar</id>
96 97 98 99
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
                        <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 已提交
116
                            <finalName>questdb-${project.version}</finalName>
117
                        </configuration>
118 119 120
                    </execution>
                </executions>
            </plugin>
121 122 123
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
V
Vlad Ilyushchenko 已提交
124
                <version>2.19</version>
125
                <configuration>
V
Vlad Ilyushchenko 已提交
126
                    <argLine>-Xmx2048m</argLine>
127
                    <systemPropertyVariables>
128 129
                        <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]]>
130 131 132 133
                        </java.util.logging.SimpleFormatter.format>
                    </systemPropertyVariables>
                </configuration>
            </plugin>
V
Vlad 已提交
134 135 136
        </plugins>
    </build>

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

V
Vlad 已提交
193 194 195 196 197
    <dependencies>
        <!-- test dependencies -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
198
            <version>4.12</version>
V
Vlad 已提交
199 200 201
            <scope>test</scope>
        </dependency>

202 203 204 205
        <dependency>
            <groupId>com.intellij</groupId>
            <artifactId>annotations</artifactId>
            <version>12.0</version>
206
            <scope>provided</scope>
207 208
        </dependency>

V
Vlad Ilyushchenko 已提交
209 210 211 212 213 214 215 216 217 218 219 220 221 222
        <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 已提交
223 224 225 226 227 228 229
        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
            <version>2.5</version>
            <scope>test</scope>
        </dependency>

V
Vlad 已提交
230 231
    </dependencies>
</project>