|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 3 | + |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <groupId>net.cloudopt.logger</groupId> |
| 7 | + <artifactId>cloudopt-logger</artifactId> |
| 8 | + <version>1.0.0-SNAPSHOT</version> |
| 9 | + <packaging>jar</packaging> |
| 10 | + |
| 11 | + <pluginRepositories> |
| 12 | + <pluginRepository> |
| 13 | + <id>jcenter</id> |
| 14 | + <name>JCenter</name> |
| 15 | + <url>https://jcenter.bintray.com/</url> |
| 16 | + </pluginRepository> |
| 17 | + </pluginRepositories> |
| 18 | + |
| 19 | + <name>cloudopt-logger</name> |
| 20 | + <description>cloudopt-logger is a super lightweight logging library implemented in pure Kotlin. |
| 21 | + It is designed to be used in Kotlin, Java and Android.</description> |
| 22 | + <url>https://next.cloudopt.net</url> |
| 23 | + <organization> |
| 24 | + <name>Cloudopt</name> |
| 25 | + <url>https://www.cloudopt.net</url> |
| 26 | + </organization> |
| 27 | + |
| 28 | + <issueManagement> |
| 29 | + <system>Github Issue</system> |
| 30 | + <url>https://github.com/cloudoptlab/cloudopt-next/issues</url> |
| 31 | + </issueManagement> |
| 32 | + |
| 33 | + <licenses> |
| 34 | + <license> |
| 35 | + <name>The Apache Software License, Version 2.0</name> |
| 36 | + <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 37 | + </license> |
| 38 | + </licenses> |
| 39 | + |
| 40 | + <developers> |
| 41 | + <developer> |
| 42 | + <name>Cloudopt</name> |
| 43 | + <organization>Cloudopt</organization> |
| 44 | + <organizationUrl>https://www.cloudopt.net</organizationUrl> |
| 45 | + </developer> |
| 46 | + </developers> |
| 47 | + |
| 48 | + <scm> |
| 49 | + < connection>scm: [email protected]:cloudoptlab/cloudopt-next.git</ connection> |
| 50 | + < developerConnection>scm: [email protected]:cloudoptlab/cloudopt-next.git</ developerConnection> |
| 51 | + < url> [email protected]:cloudoptlab/cloudopt-next.git</ url> |
| 52 | + </scm> |
| 53 | + |
| 54 | + <properties> |
| 55 | + <java.version>1.8</java.version> |
| 56 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 57 | + <kotlin.version>1.2.71</kotlin.version> |
| 58 | + <junit.version>4.12</junit.version> |
| 59 | + <maven.compiler.source>${java.version}</maven.compiler.source> |
| 60 | + <maven.compiler.target>${java.version}</maven.compiler.target> |
| 61 | + <kotlin.compiler.incremental>true</kotlin.compiler.incremental> |
| 62 | + <dokka.version>0.9.17</dokka.version> |
| 63 | + </properties> |
| 64 | + |
| 65 | + <dependencies> |
| 66 | + <dependency> |
| 67 | + <groupId>org.jetbrains.kotlin</groupId> |
| 68 | + <artifactId>kotlin-stdlib</artifactId> |
| 69 | + <version>${kotlin.version}</version> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>org.jetbrains.kotlin</groupId> |
| 73 | + <artifactId>kotlin-test-junit</artifactId> |
| 74 | + <version>${kotlin.version}</version> |
| 75 | + <scope>test</scope> |
| 76 | + </dependency> |
| 77 | + <dependency> |
| 78 | + <groupId>junit</groupId> |
| 79 | + <artifactId>junit</artifactId> |
| 80 | + <version>${junit.version}</version> |
| 81 | + <scope>test</scope> |
| 82 | + </dependency> |
| 83 | + </dependencies> |
| 84 | + |
| 85 | + <build> |
| 86 | + <finalName>${project.name}-v${project.version}</finalName> |
| 87 | + <resources> |
| 88 | + <resource> |
| 89 | + <directory>src/main/java</directory> |
| 90 | + <includes> |
| 91 | + <include>**/*.xml</include> |
| 92 | + </includes> |
| 93 | + </resource> |
| 94 | + <resource> |
| 95 | + <directory>src/main/resources</directory> |
| 96 | + <includes> |
| 97 | + <include>**/*</include> |
| 98 | + </includes> |
| 99 | + </resource> |
| 100 | + </resources> |
| 101 | + <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> |
| 102 | + <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory> |
| 103 | + <plugins> |
| 104 | + <plugin> |
| 105 | + <groupId>org.jetbrains.kotlin</groupId> |
| 106 | + <artifactId>kotlin-maven-plugin</artifactId> |
| 107 | + <version>${kotlin.version}</version> |
| 108 | + <configuration> |
| 109 | + <jvmTarget>${java.version}</jvmTarget> |
| 110 | + <apiVersion>1.2</apiVersion> |
| 111 | + <languageVersion>1.2</languageVersion> |
| 112 | + <compilerPlugins> |
| 113 | + <!-- Or "spring" for the Spring support --> |
| 114 | + <plugin>all-open</plugin> |
| 115 | + <plugin>no-arg</plugin> |
| 116 | + <plugin>jpa</plugin> |
| 117 | + <plugin>spring</plugin> |
| 118 | + </compilerPlugins> |
| 119 | + |
| 120 | + <pluginOptions> |
| 121 | + <option>all-open:annotation=net.cloudopt</option> |
| 122 | + <option>no-arg:annotation=net.cloudopt</option> |
| 123 | + <option>no-arg:invokeInitializers=true</option> |
| 124 | + </pluginOptions> |
| 125 | + |
| 126 | + </configuration> |
| 127 | + |
| 128 | + <dependencies> |
| 129 | + <dependency> |
| 130 | + <groupId>org.jetbrains.kotlin</groupId> |
| 131 | + <artifactId>kotlin-maven-allopen</artifactId> |
| 132 | + <version>1.2.30</version> |
| 133 | + </dependency> |
| 134 | + <dependency> |
| 135 | + <groupId>org.jetbrains.kotlin</groupId> |
| 136 | + <artifactId>kotlin-maven-noarg</artifactId> |
| 137 | + <version>1.2.30</version> |
| 138 | + </dependency> |
| 139 | + </dependencies> |
| 140 | + <executions> |
| 141 | + <execution> |
| 142 | + <id>compile</id> |
| 143 | + <phase>compile</phase> |
| 144 | + <goals> |
| 145 | + <goal>compile</goal> |
| 146 | + </goals> |
| 147 | + </execution> |
| 148 | + <execution> |
| 149 | + <id>test-compile</id> |
| 150 | + <phase>test-compile</phase> |
| 151 | + <goals> |
| 152 | + <goal>test-compile</goal> |
| 153 | + </goals> |
| 154 | + </execution> |
| 155 | + </executions> |
| 156 | + </plugin> |
| 157 | + <plugin> |
| 158 | + <groupId>org.apache.maven.plugins</groupId> |
| 159 | + <artifactId>maven-jar-plugin</artifactId> |
| 160 | + <version>3.0.2</version> |
| 161 | + </plugin> |
| 162 | + <plugin> |
| 163 | + <groupId>org.apache.maven.plugins</groupId> |
| 164 | + <artifactId>maven-compiler-plugin</artifactId> |
| 165 | + <version>3.3</version> |
| 166 | + <configuration> |
| 167 | + <source>${maven.compiler.source}</source> |
| 168 | + <target>${maven.compiler.target}</target> |
| 169 | + </configuration> |
| 170 | + </plugin> |
| 171 | + |
| 172 | + <plugin> |
| 173 | + <groupId>org.jetbrains.dokka</groupId> |
| 174 | + <artifactId>dokka-maven-plugin</artifactId> |
| 175 | + <version>${dokka.version}</version> |
| 176 | + <executions> |
| 177 | + <execution> |
| 178 | + <phase>pre-site</phase> |
| 179 | + <goals> |
| 180 | + <goal>dokka</goal> |
| 181 | + </goals> |
| 182 | + </execution> |
| 183 | + </executions> |
| 184 | + <configuration> |
| 185 | + <outputFormat>html</outputFormat> |
| 186 | + <outputDir>${project.basedir}/target/dokka</outputDir> |
| 187 | + <jdkVersion>8</jdkVersion> |
| 188 | + </configuration> |
| 189 | + </plugin> |
| 190 | + |
| 191 | + </plugins> |
| 192 | + </build> |
| 193 | + |
| 194 | +</project> |
0 commit comments