Skip to content

Commit 4d9ee96

Browse files
committed
添加oss-parent进行发布maven center
1 parent 7d4e8ad commit 4d9ee96

File tree

1 file changed

+6
-90
lines changed

1 file changed

+6
-90
lines changed

pom.xml

Lines changed: 6 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<groupId>org.minbox.framework</groupId>
7+
<artifactId>oss-parent</artifactId>
8+
<version>0.1.0.RELEASE</version>
9+
<relativePath>../oss-parent</relativePath>
10+
</parent>
511
<packaging>pom</packaging>
612
<modules>
713
<module>api-boot-project</module>
@@ -17,94 +23,4 @@
1723
不再为搭建接口框架而犯愁,从而极大的提高开发效率。
1824
</description>
1925
<url>https://github.com/hengboy/api-boot</url>
20-
<properties>
21-
<java.version>1.8</java.version>
22-
</properties>
23-
<developers>
24-
<developer>
25-
<name>Yu Qi Yu</name>
26-
<email>jnyuqy@gmail.com</email>
27-
<organization>github</organization>
28-
<organizationUrl>https://github.com/hengboy</organizationUrl>
29-
</developer>
30-
</developers>
31-
<scm>
32-
<connection>scm:git:https://github.com/hengboy/api-boot</connection>
33-
<developerConnection>scm:git:https://github.com/hengboy/api-boot</developerConnection>
34-
<url>https://github.com/hengboy/api-boot</url>
35-
<tag>0.1.1.RELEASE</tag>
36-
</scm>
37-
<licenses>
38-
<license>
39-
<name>Apache License, Version 2.0</name>
40-
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
41-
</license>
42-
</licenses>
43-
<distributionManagement>
44-
<snapshotRepository>
45-
<id>hengyu</id>
46-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
47-
</snapshotRepository>
48-
<repository>
49-
<id>hengyu</id>
50-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
51-
</repository>
52-
</distributionManagement>
53-
<build>
54-
<plugins>
55-
<!--jdk version-->
56-
<plugin>
57-
<groupId>org.apache.maven.plugins</groupId>
58-
<artifactId>maven-compiler-plugin</artifactId>
59-
<version>3.5.1</version>
60-
<configuration>
61-
<source>${java.version}</source>
62-
<target>${java.version}</target>
63-
</configuration>
64-
</plugin>
65-
<!-- Source -->
66-
<!--<plugin>
67-
<groupId>org.apache.maven.plugins</groupId>
68-
<artifactId>maven-source-plugin</artifactId>
69-
<version>3.0.1</version>
70-
<executions>
71-
<execution>
72-
<phase>package</phase>
73-
<goals>
74-
<goal>jar-no-fork</goal>
75-
</goals>
76-
</execution>
77-
</executions>
78-
</plugin>
79-
&lt;!&ndash; Javadoc &ndash;&gt;
80-
<plugin>
81-
<groupId>org.apache.maven.plugins</groupId>
82-
<artifactId>maven-javadoc-plugin</artifactId>
83-
<version>2.10.4</version>
84-
<executions>
85-
<execution>
86-
<phase>package</phase>
87-
<goals>
88-
<goal>jar</goal>
89-
</goals>
90-
</execution>
91-
</executions>
92-
</plugin>
93-
&lt;!&ndash; Gpg Signature &ndash;&gt;
94-
<plugin>
95-
<groupId>org.apache.maven.plugins</groupId>
96-
<artifactId>maven-gpg-plugin</artifactId>
97-
<version>1.6</version>
98-
<executions>
99-
<execution>
100-
<id>sign-artifacts</id>
101-
<phase>verify</phase>
102-
<goals>
103-
<goal>sign</goal>
104-
</goals>
105-
</execution>
106-
</executions>
107-
</plugin>-->
108-
</plugins>
109-
</build>
11026
</project>

0 commit comments

Comments
 (0)