123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235 |
- <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>cn.superdesk.libs</groupId>
- <artifactId>superdesk-libs</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
- <description>Java 后台开发套件</description>
- <name>superdesk-libs</name>
- <url>http://www.superdesk.cn</url>
- <developers>
- <developer>
- <name>superdesk</name>
- <email></email>
- <organization>superdesk</organization>
- <organizationUrl>https://www.superdesk.cn</organizationUrl>
- </developer>
- </developers>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <compiler.jdk.version>1.8</compiler.jdk.version>
- <output.encoding>utf-8</output.encoding>
- <spring.version>5.3.20</spring.version>
- <spring-boot.version>2.7.0</spring-boot.version>
- <kafka.version>0.10.2.0</kafka.version>
- <zkclient.version>0.10</zkclient.version>
- <zookeeper.version>3.4.9</zookeeper.version>
- <!-- 3.1.0 the lastest 3.2.0-SNAPSHOT-->
- <jedis.version>2.9.0</jedis.version>
- <mybatis.version>3.4.5</mybatis.version>
- <mapper.version>3.5.3</mapper.version>
- <jsqlparser.version>2.1</jsqlparser.version>
- <!-- 1.6.20 -->
- <lombok.version>1.18.4</lombok.version>
- <druid.version>1.0.16</druid.version>
- <junit.version>4.12</junit.version>
- </properties>
- <modules>
- <module>superdesk-libs-common</module>
- <module>superdesk-libs-kafka</module>
- <module>superdesk-libs-spring</module>
- <module>superdesk-libs-cache</module>
- <module>superdesk-libs-scheduler</module>
- <module>superdesk-libs-mybatis</module>
- <module>superdesk-libs-rest</module>
- <module>superdesk-libs-common2</module>
- <module>superdesk-libs-filesystem</module>
- <module>superdesk-libs-springboot-starter</module>
- <module>superdesk-libs-springweb</module>
- <!--
- <module>superdesk-libs-log</module>
- <module>superdesk-libs-search</module>
- <module>superdesk-libs-tx</module>
- -->
- <module>superdesk-libs-event</module>
- <module>superdesk-libs-security</module>
- </modules>
- <dependencies>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-core</artifactId>
- <version>2.7</version>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.apache.logging.log4j</groupId>
- <artifactId>log4j-slf4j-impl</artifactId>
- <version>2.7</version>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.7.21</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>${spring.version}</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <profiles>
- <profile>
- <id>release</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${compiler.jdk.version}</source>
- <target>${compiler.jdk.version}</target>
- <encoding>${output.encoding}</encoding>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>false</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.9.1</version>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <additionalparam>-Xdoclint:none</additionalparam>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--中央仓库-->
- <!--<plugin>-->
- <!--<groupId>org.apache.maven.plugins</groupId>-->
- <!--<artifactId>maven-gpg-plugin</artifactId>-->
- <!--<executions>-->
- <!--<execution>-->
- <!--<id>sign-artifacts</id>-->
- <!--<phase>verify</phase>-->
- <!--<goals>-->
- <!--<goal>sign</goal>-->
- <!--</goals>-->
- <!--</execution>-->
- <!--</executions>-->
- <!--</plugin>-->
- </plugins>
- </build>
- </profile>
- </profiles>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>${compiler.jdk.version}</source>
- <target>${compiler.jdk.version}</target>
- <encoding>${output.encoding}</encoding>
- </configuration>
- </plugin>
- <!-- 打包时打不打源代码上去 -->
- <!--<plugin>-->
- <!--<groupId>org.apache.maven.plugins</groupId>-->
- <!--<artifactId>maven-source-plugin</artifactId>-->
- <!--<version>2.4</version>-->
- <!--<executions>-->
- <!--<execution>-->
- <!--<id>attach-sources</id>-->
- <!--<phase>verify</phase>-->
- <!--<goals>-->
- <!--<goal>jar-no-fork</goal>-->
- <!--</goals>-->
- <!--</execution>-->
- <!--</executions>-->
- <!--</plugin>-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>false</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <!-- Nexus Repository OSS 2.x it not like that config -->
- <!-- mvn clean deploy -P release -DskipTests=true -Dgpg.passphrase=admin123 -->
- <!-- mvn clean deploy -P release -DskipTests=true -->
- <!-- localhost Nexus Repository OSS 3.15.2-0 -->
- <!--<distributionManagement>-->
- <!--<repository>-->
- <!--<id>nexus-releases</id>-->
- <!--<!–<name>Project RELEASE</name>–>-->
- <!--<url>http://127.0.0.1:28080/repository/maven-releases</url>-->
- <!--</repository>-->
- <!--<snapshotRepository>-->
- <!--<id>nexus-snapshots</id>-->
- <!--<!–<name>Porject SNAPSHOTS</name>–>-->
- <!--<url>http://127.0.0.1:28080/repository/maven-snapshots</url>-->
- <!--</snapshotRepository>-->
- <!--</distributionManagement>-->
- <!-- publichost Nexus Repository OSS 3.15.2-0 -->
- <distributionManagement>
- <repository>
- <id>nexus-releases</id>
- <name>Project RELEASE</name>
- <url>https://nexus.superdesk.cn/repository/maven-releases</url>
- </repository>
- <snapshotRepository>
- <id>nexus-snapshots</id>
- <name>Porject SNAPSHOTS</name>
- <url>https://nexus.superdesk.cn/repository/maven-snapshots</url>
- </snapshotRepository>
- </distributionManagement>
- </project>
|