xueli.xue il y a 9 ans
Parent
révision
4fa579b225
1 fichiers modifiés avec 67 ajouts et 0 suppressions
  1. 67 0
      pom.xml

+ 67 - 0
pom.xml Voir le fichier

@@ -6,6 +6,10 @@
6 6
 	<version>${xxl-job.version}</version>
7 7
 	<packaging>pom</packaging>
8 8
 
9
+	<name>xxl-job</name>
10
+	<description>A lightweight distributed task scheduling framework.</description>
11
+	<url>http://www.xuxueli.com/</url>
12
+
9 13
 	<modules>
10 14
 		<module>xxl-job-admin</module>
11 15
 		<module>xxl-job-core</module>
@@ -70,4 +74,67 @@
70 74
 		</developer>
71 75
 	</developers>
72 76
 
77
+	<profiles>
78
+
79
+		<profile>
80
+			<id>release</id>
81
+			<build>
82
+				<plugins>
83
+					<!-- Source -->
84
+					<plugin>
85
+						<groupId>org.apache.maven.plugins</groupId>
86
+						<artifactId>maven-source-plugin</artifactId>
87
+						<version>2.2.1</version>
88
+						<executions>
89
+							<execution>
90
+								<phase>package</phase>
91
+								<goals>
92
+									<goal>jar-no-fork</goal>
93
+								</goals>
94
+							</execution>
95
+						</executions>
96
+					</plugin>
97
+					<!-- Javadoc -->
98
+					<plugin>
99
+						<groupId>org.apache.maven.plugins</groupId>
100
+						<artifactId>maven-javadoc-plugin</artifactId>
101
+						<version>2.9.1</version>
102
+						<executions>
103
+							<execution>
104
+								<phase>package</phase>
105
+								<goals>
106
+									<goal>jar</goal>
107
+								</goals>
108
+							</execution>
109
+						</executions>
110
+					</plugin>
111
+					<!-- GPG -->
112
+                    <plugin>
113
+                        <groupId>org.apache.maven.plugins</groupId>
114
+                        <artifactId>maven-gpg-plugin</artifactId>
115
+                        <version>1.6</version>
116
+                        <executions>
117
+                            <execution>
118
+                                <phase>verify</phase>
119
+                                <goals>
120
+                                    <goal>sign</goal>
121
+                                </goals>
122
+                            </execution>
123
+                        </executions>
124
+                    </plugin>
125
+				</plugins>
126
+			</build>
127
+			<distributionManagement>
128
+				<snapshotRepository>
129
+					<id>oss</id>
130
+					<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
131
+				</snapshotRepository>
132
+				<repository>
133
+					<id>oss</id>
134
+					<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
135
+				</repository>
136
+			</distributionManagement>
137
+		</profile>
138
+	</profiles>
139
+
73 140
 </project>