pom.xml 7.7 KB
Newer Older
如梦技术's avatar
如梦技术 已提交
1 2 3 4 5 6
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>net.dreamlu</groupId>
    <artifactId>mica-mqtt</artifactId>
如梦技术's avatar
如梦技术 已提交
7
    <version>${revision}</version>
如梦技术's avatar
如梦技术 已提交
8 9 10 11
    <packaging>pom</packaging>

    <name>${project.artifactId}</name>
    <description>Mica mqtt tools.</description>
如梦技术's avatar
如梦技术 已提交
12
    <url>https://www.dreamlu.net</url>
如梦技术's avatar
如梦技术 已提交
13

如梦技术's avatar
如梦技术 已提交
14
    <properties>
如梦技术's avatar
如梦技术 已提交
15
        <!-- mica-mqtt version -->
如梦技术's avatar
如梦技术 已提交
16
        <revision>1.1.5-SNAPSHOT</revision>
如梦技术's avatar
如梦技术 已提交
17
        <!-- java version -->
如梦技术's avatar
如梦技术 已提交
18 19
        <java.version>1.8</java.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
如梦技术's avatar
如梦技术 已提交
20 21
        <maven-flatten.version>1.2.2</maven-flatten.version>
        <!-- tio version -->
如梦技术's avatar
如梦技术 已提交
22 23 24
        <tio.version>3.7.5.v20211028-RELEASE</tio.version>
        <spring.boot.version>2.5.6</spring.boot.version>
        <mica.version>2.5.6</mica.version>
如梦技术's avatar
如梦技术 已提交
25 26 27 28
    </properties>

    <modules>
        <module>mica-mqtt-codec</module>
29
        <module>mica-mqtt-model</module>
如梦技术's avatar
如梦技术 已提交
30
        <module>mica-mqtt-core</module>
31
        <module>mica-mqtt-spring-boot-starter</module>
如梦技术's avatar
如梦技术 已提交
32
        <module>mica-mqtt-example</module>
33
        <module>mica-mqtt-spring-boot-example</module>
34
        <module>mica-mqtt-broker</module>
如梦技术's avatar
如梦技术 已提交
35 36 37 38 39 40 41 42 43
    </modules>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.t-io</groupId>
                <artifactId>tio-core</artifactId>
                <version>${tio.version}</version>
            </dependency>
44 45 46 47 48
            <dependency>
                <groupId>org.t-io</groupId>
                <artifactId>tio-websocket-server</artifactId>
                <version>${tio.version}</version>
            </dependency>
如梦技术's avatar
如梦技术 已提交
49 50 51
            <dependency>
                <groupId>net.dreamlu</groupId>
                <artifactId>mica-mqtt-codec</artifactId>
如梦技术's avatar
如梦技术 已提交
52
                <version>${revision}</version>
如梦技术's avatar
如梦技术 已提交
53
            </dependency>
54 55 56 57 58
            <dependency>
                <groupId>net.dreamlu</groupId>
                <artifactId>mica-mqtt-model</artifactId>
                <version>${revision}</version>
            </dependency>
如梦技术's avatar
如梦技术 已提交
59 60 61
            <dependency>
                <groupId>net.dreamlu</groupId>
                <artifactId>mica-mqtt-core</artifactId>
如梦技术's avatar
如梦技术 已提交
62
                <version>${revision}</version>
如梦技术's avatar
如梦技术 已提交
63
            </dependency>
浅梦2013's avatar
浅梦2013 已提交
64 65 66 67 68
            <dependency>
                <groupId>net.dreamlu</groupId>
                <artifactId>mica-mqtt-spring-boot-starter</artifactId>
                <version>${revision}</version>
            </dependency>
如梦技术's avatar
如梦技术 已提交
69 70 71
        </dependencies>
    </dependencyManagement>

如梦技术's avatar
如梦技术 已提交
72 73 74 75 76 77 78 79
    <developers>
        <developer>
            <name>ChunmengLu</name>
            <email>qq596392912@gmail.com</email>
        </developer>
    </developers>

    <scm>
如梦技术's avatar
如梦技术 已提交
80 81 82
        <connection>scm:git:git@gitee.com/596392912/mica-mqtt</connection>
        <developerConnection>scm:git:git@gitee.com/596392912/mica-mqtt.git</developerConnection>
        <url>git@gitee.com/596392912/mica-mqtt.git</url>
如梦技术's avatar
如梦技术 已提交
83 84 85 86 87 88 89 90 91 92 93
    </scm>

    <repositories>
        <!--阿里云主仓库,代理了 maven central 和 jcenter 仓库-->
        <repository>
            <id>aliyun</id>
            <name>aliyun</name>
            <url>https://maven.aliyun.com/repository/public</url>
        </repository>
    </repositories>

如梦技术's avatar
如梦技术 已提交
94 95 96 97 98 99 100 101 102 103 104 105
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>
                <configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                    <encoding>${project.build.sourceEncoding}</encoding>
                </configuration>
            </plugin>
如梦技术's avatar
如梦技术 已提交
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>flatten-maven-plugin</artifactId>
                <version>${maven-flatten.version}</version>
                <configuration>
                    <updatePomFile>true</updatePomFile>
                    <flattenMode>oss</flattenMode>
                    <pomElements>
                        <properties>remove</properties>
                        <repositories>remove</repositories>
                    </pomElements>
                </configuration>
                <executions>
                    <execution>
                        <id>flatten</id>
                        <phase>process-resources</phase>
                        <goals>
                            <goal>flatten</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>flatten.clean</id>
                        <phase>clean</phase>
                        <goals>
                            <goal>clean</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
如梦技术's avatar
如梦技术 已提交
135 136 137
        </plugins>
    </build>

如梦技术's avatar
如梦技术 已提交
138 139 140 141 142 143
    <licenses>
        <license>
            <name>Apache License 2.0</name>
            <url>http://www.apache.org/licenses</url>
        </license>
    </licenses>
如梦技术's avatar
如梦技术 已提交
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206

    <profiles>
        <profile>
            <id>release</id>
            <build>
                <plugins>
                    <!-- Source -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <version>3.2.0</version>
                        <executions>
                            <execution>
                                <phase>package</phase>
                                <goals>
                                    <goal>jar-no-fork</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <!-- Javadoc -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-javadoc-plugin</artifactId>
                        <version>3.2.0</version>
                        <executions>
                            <execution>
                                <phase>package</phase>
                                <goals>
                                    <goal>jar</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <!-- GPG -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.6</version>
                        <executions>
                            <execution>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
            <distributionManagement>
                <snapshotRepository>
                    <id>oss</id>
                    <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
                </snapshotRepository>
                <repository>
                    <id>oss</id>
                    <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
                </repository>
            </distributionManagement>
        </profile>
    </profiles>

如梦技术's avatar
如梦技术 已提交
207
</project>