Skip to content

Commit

Permalink
升级mo-dep的版本
Browse files Browse the repository at this point in the history
  • Loading branch information
puras committed Aug 9, 2022
1 parent eba4e52 commit 912c359
Show file tree
Hide file tree
Showing 9 changed files with 448 additions and 4 deletions.
195 changes: 195 additions & 0 deletions repository/net/mooko/mo-dep/0.2.1/mo-dep-0.2.1.pom
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
<?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.mooko</groupId>
<artifactId>mo-dep</artifactId>
<version>0.2.1</version>
<packaging>pom</packaging>

<properties>
<spring.version>5.3.22</spring.version>
<spring-boot.version>2.7.2</spring-boot.version>
<spring-cloud.version>2021.0.3</spring-cloud.version>
<alibaba-cloud.version>2021.1</alibaba-cloud.version>

<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>

<java.version>1.8</java.version>
<kotlin.version>1.7.10</kotlin.version>
<kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>

<dependencyManagement>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-dependencies -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.alibaba.cloud/spring-cloud-alibaba-dependencies -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>${alibaba-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>${kotlin.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<resources>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
</resource>
<resource>
<directory>${project.basedir}/src/main/java</directory>
<excludes>
<exclude>**/*.java</exclude>
<exclude>**/*.kt</exclude>
</excludes>
</resource>
</resources>
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
<testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
</plugin>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<configuration>
<args>
<arg>-Xjsr305=strict</arg>
</args>
<compilerPlugins>
<plugin>spring</plugin>
<plugin>no-arg</plugin>
</compilerPlugins>
<pluginOptions>
<option>no-arg:annotation=net.mooko.mok.core.annotation.NoArg</option>
<option>no-arg:annotation=net.mooko.moj.core.annotation.NoArg</option>
</pluginOptions>
</configuration>
<executions>
<execution>
<id>compile</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<sourceDirs>
<sourceDir>${project.basedir}/src/main/java</sourceDir>
</sourceDirs>
</configuration>
</execution>
<execution>
<id>test-compile</id>
<goals>
<goal>test-compile</goal>
</goals>
<configuration>
<sourceDirs>
<sourceDir>${project.basedir}/src/test/java</sourceDir>
</sourceDirs>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-allopen</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-noarg</artifactId>
<version>${kotlin.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<compilerArgs>
<!-- 过期的方法的警告 -->
<arg>-Xlint:deprecation</arg>
</compilerArgs>
</configuration>
<executions>
<!-- 替换会被 maven 特别处理的 default-compile -->
<execution>
<id>default-compile</id>
<phase>none</phase>
</execution>
<!-- 替换会被 maven 特别处理的 default-testCompile -->
<execution>
<id>default-testCompile</id>
<phase>none</phase>
</execution>
<execution>
<id>java-compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>java-test-compile</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<!-- 公司 -->
<distributionManagement>
<repository>
<id>mo-releases</id>
<url>http://nexus.kugala.com/repository/mo-releases/</url>
</repository>
<snapshotRepository>
<id>mo-snapshots</id>
<url>http://nexus.kugala.com/repository/mo-snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>
1 change: 1 addition & 0 deletions repository/net/mooko/mo-dep/0.2.1/mo-dep-0.2.1.pom.md5
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
93694fbbadf58e0191a6178ae118f22c
1 change: 1 addition & 0 deletions repository/net/mooko/mo-dep/0.2.1/mo-dep-0.2.1.pom.sha1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1678c2d51a61ab33247444f3952c41fb2945f58f
6 changes: 4 additions & 2 deletions repository/net/mooko/mo-dep/maven-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@
<groupId>net.mooko</groupId>
<artifactId>mo-dep</artifactId>
<versioning>
<release>0.3.0</release>
<release>next-0.2.0</release>
<versions>
<version>0.1.0</version>
<version>0.1.0-next</version>
<version>0.2.0</version>
<version>0.1.1-next</version>
<version>0.3.0</version>
<version>0.2.1</version>
<version>next-0.2.0</version>
</versions>
<lastUpdated>20220612151012</lastUpdated>
<lastUpdated>20220809013325</lastUpdated>
</versioning>
</metadata>
2 changes: 1 addition & 1 deletion repository/net/mooko/mo-dep/maven-metadata.xml.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d0f3a376d74702d3971c882b53460188
8c776581f3fd91ac135fd2b2c1d0e540
2 changes: 1 addition & 1 deletion repository/net/mooko/mo-dep/maven-metadata.xml.sha1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d507cbfc3181a0deadb73d95f74a52ea120743c7
2a2b459e59fbcf79eaaddd221750354e48b7b3d9
Loading

0 comments on commit 912c359

Please sign in to comment.