Skip to content

Commit e6f4e75

Browse files
author
王亮
committed
maven repository
1 parent 8d6c69e commit e6f4e75

File tree

5 files changed

+47
-50
lines changed

5 files changed

+47
-50
lines changed

leaf-demo/pom.xml

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<artifactId>leaf-demo</artifactId>
13+
<version>0.0.1</version>
14+
15+
<name>leaf-demo</name>
16+
<description>leaf-demo project for Spring Boot</description>
1317

1418
<properties>
15-
<maven.compiler.source>8</maven.compiler.source>
16-
<maven.compiler.target>8</maven.compiler.target>
19+
<java.version>1.8</java.version>
1720
</properties>
1821

1922
<dependencies>
@@ -29,28 +32,21 @@
2932
</dependency>
3033
</dependencies>
3134

32-
33-
<build>
34-
<plugins>
35-
<plugin>
36-
<groupId>org.apache.maven.plugins</groupId>
37-
<artifactId>maven-deploy-plugin</artifactId>
38-
<version>2.8.2</version>
39-
<configuration>
40-
<skip>true</skip>
41-
</configuration>
42-
</plugin>
43-
44-
<plugin>
45-
<groupId>org.apache.maven.plugins</groupId>
46-
<artifactId>maven-surefire-plugin</artifactId>
47-
<version>2.5</version>
48-
<configuration>
49-
<skipTests>true</skipTests>
50-
</configuration>
51-
</plugin>
52-
53-
</plugins>
54-
</build>
35+
<build>
36+
<plugins>
37+
<plugin>
38+
<groupId>org.springframework.boot</groupId>
39+
<artifactId>spring-boot-maven-plugin</artifactId>
40+
<configuration>
41+
<excludes>
42+
<exclude>
43+
<groupId>org.projectlombok</groupId>
44+
<artifactId>lombok</artifactId>
45+
</exclude>
46+
</excludes>
47+
</configuration>
48+
</plugin>
49+
</plugins>
50+
</build>
5551

5652
</project>

leaf-server/pom.xml

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<artifactId>leaf-server</artifactId>
13+
<version>0.0.1</version>
14+
15+
<name>leaf-server</name>
16+
<description>leaf-server project for Spring Boot</description>
17+
1318

1419
<properties>
15-
<maven.compiler.source>8</maven.compiler.source>
16-
<maven.compiler.target>8</maven.compiler.target>
20+
<java.version>1.8</java.version>
1721
</properties>
1822

1923
<dependencies>
@@ -70,25 +74,6 @@
7074

7175
<build>
7276
<plugins>
73-
74-
<plugin>
75-
<groupId>org.apache.maven.plugins</groupId>
76-
<artifactId>maven-deploy-plugin</artifactId>
77-
<version>2.8.2</version>
78-
<configuration>
79-
<skip>true</skip>
80-
</configuration>
81-
</plugin>
82-
83-
<plugin>
84-
<groupId>org.apache.maven.plugins</groupId>
85-
<artifactId>maven-surefire-plugin</artifactId>
86-
<version>2.5</version>
87-
<configuration>
88-
<skipTests>true</skipTests>
89-
</configuration>
90-
</plugin>
91-
9277
<plugin>
9378
<groupId>org.springframework.boot</groupId>
9479
<artifactId>spring-boot-maven-plugin</artifactId>

pom.xml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
<artifactId>springboot-starter-leaf-parent</artifactId>
2020
<version>0.0.1</version>
2121

22-
<name>springboot-starter-leaf-parent</name>
23-
<description>springboot-starter-leaf-parent project for Spring Boot</description>
22+
<name>springboot-starter-leaf</name>
23+
<description>springboot-starter-leaf project for Spring Boot</description>
2424
<url>https://gitlab.laiease.com/framework/springboot-starter-leaf</url>
2525

2626

@@ -189,12 +189,24 @@
189189
<activation>
190190
<activeByDefault>true</activeByDefault>
191191
</activation>
192+
193+
<modules>
194+
<module>springboot-starter-leaf</module>
195+
<module>leaf-demo</module>
196+
<module>leaf-server</module>
197+
</modules>
192198
</profile>
193199

194200
<!-- mvn clean test -P travis-->
195201
<profile>
196202
<id>travis</id>
197203

204+
<modules>
205+
<module>springboot-starter-leaf</module>
206+
<module>leaf-demo</module>
207+
<module>leaf-server</module>
208+
</modules>
209+
198210
<build>
199211
<plugins>
200212
<plugin>

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[![Build Status](https://app.travis-ci.com/codingapi/springboot-starter-leaf.svg?branch=main)](https://app.travis-ci.com/codingapi/springboot-starter-leaf)
12
# springboot-starter-leaf
23

34
```xml

springboot-starter-leaf/pom.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<artifactId>springboot-starter-leaf</artifactId>
13+
<version>0.0.1</version>
14+
15+
<name>springboot-starter-leaf</name>
16+
<description>springboot-starter-leaf project for Spring Boot</description>
1317

1418
<properties>
15-
<maven.compiler.source>8</maven.compiler.source>
16-
<maven.compiler.target>8</maven.compiler.target>
19+
<java.version>1.8</java.version>
1720
</properties>
1821

1922
<dependencies>

0 commit comments

Comments
 (0)