Ver Fonte

pom配置优化

xueli.xue há 7 anos atrás
pai
commit
ab62bbb18b

+ 1 - 1
pom.xml

@@ -6,7 +6,7 @@
 	<version>1.8.0-SNAPSHOT</version>
 	<packaging>pom</packaging>
 
-	<name>xxl-job</name>
+	<name>${project.artifactId}</name>
 	<description>A lightweight distributed task scheduling framework.</description>
 	<url>http://www.xuxueli.com/</url>
 

+ 1 - 2
xxl-job-admin/pom.xml

@@ -10,7 +10,6 @@
 	<packaging>war</packaging>
 
 	<properties>
-		<xxl-job.version>1.8.0-SNAPSHOT</xxl-job.version>
 		<spring.version>3.2.17.RELEASE</spring.version>
 	</properties>
 
@@ -146,7 +145,7 @@
 		<dependency>
 			<groupId>com.xuxueli</groupId>
 			<artifactId>xxl-job-core</artifactId>
-			<version>${xxl-job.version}</version>
+			<version>${project.parent.version}</version>
 		</dependency>
 
 	</dependencies>

+ 1 - 1
xxl-job-core/pom.xml

@@ -9,7 +9,7 @@
 	<artifactId>xxl-job-core</artifactId>
 	<packaging>jar</packaging>
 
-	<name>xxl-job-core</name>
+	<name>${project.artifactId}</name>
 	<description>A lightweight distributed task scheduling framework.</description>
 	<url>http://www.xuxueli.com/</url>
 

+ 5 - 2
xxl-job-executor-example/pom.xml

@@ -9,8 +9,11 @@
 	<artifactId>xxl-job-executor-example</artifactId>
 	<packaging>war</packaging>
 
+	<name>${project.artifactId}</name>
+	<description>Executor project for spring boot.</description>
+	<url>http://www.xuxueli.com/</url>
+
 	<properties>
-		<xxl-job.version>1.8.0-SNAPSHOT</xxl-job.version>
 		<spring.version>3.2.17.RELEASE</spring.version>
 	</properties>
 
@@ -46,7 +49,7 @@
 		<dependency>
 			<groupId>com.xuxueli</groupId>
 			<artifactId>xxl-job-core</artifactId>
-			<version>${xxl-job.version}</version>
+			<version>${project.parent.version}</version>
 		</dependency>
 		
 	</dependencies>

+ 5 - 4
xxl-job-executor-springboot-example/pom.xml

@@ -10,11 +10,12 @@
     </parent>
     <artifactId>xxl-job-executor-springboot-example</artifactId>
     <packaging>jar</packaging>
-    <name>xxl-job-executor-springboot-example</name>
-    <description>Example executor project for spring boot</description>
+
+    <name>${project.artifactId}</name>
+    <description>Example executor project for spring boot.</description>
+    <url>http://www.xuxueli.com/</url>
 
     <properties>
-        <xxl-job.version>1.8.0-SNAPSHOT</xxl-job.version>
         <spring-boot.version>1.3.8.RELEASE</spring-boot.version>
 
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -71,7 +72,7 @@
         <dependency>
             <groupId>com.xuxueli</groupId>
             <artifactId>xxl-job-core</artifactId>
-            <version>${xxl-job.version}</version>
+            <version>${project.parent.version}</version>
         </dependency>
 
     </dependencies>