-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add central publishing maven plugin
- Loading branch information
1 parent
5a2adf4
commit 8c5c1f4
Showing
48 changed files
with
1,285 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,10 +6,33 @@ | |
<parent> | ||
<groupId>com.milesight.beaveriot</groupId> | ||
<artifactId>application</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<version>1.0.0</version> | ||
</parent> | ||
|
||
<artifactId>application-dev</artifactId> | ||
<name>application-dev</name> | ||
<description>An open-source platform designed for rapid and intuitive IoT application development.</description> | ||
<url>https://github.com/milesight-iot/beaver-iot</url> | ||
<scm> | ||
<url>https://github.com/milesight-iot/beaver-iot</url> | ||
</scm> | ||
<organization> | ||
<name>Milesight</name> | ||
<url>https://www.milesight.com</url> | ||
</organization> | ||
<developers> | ||
<developer> | ||
<id>Simon</id> | ||
<name>Simon Zhao</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
</developers> | ||
<licenses> | ||
<license> | ||
<name>MIT License</name> | ||
<url>https://opensource.org/license/MIT</url> | ||
</license> | ||
</licenses> | ||
|
||
<properties> | ||
<maven.compiler.source>17</maven.compiler.source> | ||
|
@@ -83,24 +106,6 @@ | |
<artifactId>entity-service</artifactId> | ||
<version>${project.version}</version> | ||
</dependency> | ||
|
||
<!-- integration test --> | ||
<!--<dependency> | ||
<groupId>com.milesight.beaveriot</groupId> | ||
<artifactId>msc-integration</artifactId> | ||
<version>${project.version}</version> | ||
<scope>system</scope> | ||
<systemPath>C:/Users/Zhangl/.m2/repository/com/milesight/beaveriot/msc-integration/1.0-SNAPSHOT/msc-integration-1.0-SNAPSHOT.jar</systemPath> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.milesight.beaveriot</groupId> | ||
<artifactId>ping</artifactId> | ||
<version>${project.version}</version> | ||
<scope>system</scope> | ||
<systemPath>C:/Users/Zhangl/.m2/repository/com/milesight/beaveriot/ping/1.0-SNAPSHOT/ping-1.0-SNAPSHOT.jar</systemPath> | ||
</dependency>--> | ||
|
||
</dependencies> | ||
|
||
<build> | ||
|
@@ -115,4 +120,4 @@ | |
</plugin> | ||
</plugins> | ||
</build> | ||
</project> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,56 @@ | |
<parent> | ||
<groupId>com.milesight.beaveriot</groupId> | ||
<artifactId>application</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<version>1.0.0</version> | ||
</parent> | ||
|
||
<artifactId>application-edge</artifactId> | ||
<name>application-edge</name> | ||
<description>An open-source platform designed for rapid and intuitive IoT application development.</description> | ||
<url>https://github.com/milesight-iot/beaver-iot</url> | ||
<scm> | ||
<url>https://github.com/milesight-iot/beaver-iot</url> | ||
</scm> | ||
<organization> | ||
<name>Milesight</name> | ||
<url>https://www.milesight.com</url> | ||
</organization> | ||
<developers> | ||
<developer> | ||
<id>Simon</id> | ||
<name>Simon Zhao</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
</developers> | ||
<licenses> | ||
<license> | ||
<name>MIT License</name> | ||
<url>https://opensource.org/license/MIT</url> | ||
</license> | ||
</licenses> | ||
|
||
<properties> | ||
<maven.compiler.source>17</maven.compiler.source> | ||
<maven.compiler.target>17</maven.compiler.target> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<deploy.skip>true</deploy.skip> | ||
</properties> | ||
|
||
</project> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.sonatype.central</groupId> | ||
<artifactId>central-publishing-maven-plugin</artifactId> | ||
<version>0.6.0</version> | ||
<extensions>true</extensions> | ||
<executions> | ||
<execution> | ||
<id>injected-central-publishing</id> | ||
<phase>none</phase> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,10 +6,33 @@ | |
<parent> | ||
<groupId>com.milesight.beaveriot</groupId> | ||
<artifactId>application</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<version>1.0.0</version> | ||
</parent> | ||
|
||
<artifactId>application-standard</artifactId> | ||
<name>application-standard</name> | ||
<description>An open-source platform designed for rapid and intuitive IoT application development.</description> | ||
<url>https://github.com/milesight-iot/beaver-iot</url> | ||
<scm> | ||
<url>https://github.com/milesight-iot/beaver-iot</url> | ||
</scm> | ||
<organization> | ||
<name>Milesight</name> | ||
<url>https://www.milesight.com</url> | ||
</organization> | ||
<developers> | ||
<developer> | ||
<id>Simon</id> | ||
<name>Simon Zhao</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
</developers> | ||
<licenses> | ||
<license> | ||
<name>MIT License</name> | ||
<url>https://opensource.org/license/MIT</url> | ||
</license> | ||
</licenses> | ||
|
||
<properties> | ||
<maven.compiler.source>17</maven.compiler.source> | ||
|
@@ -119,26 +142,9 @@ | |
<dependency> | ||
<groupId>com.milesight.beaveriot</groupId> | ||
<artifactId>msc-integration</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<version>1.0.0</version> | ||
</dependency> | ||
|
||
<!-- sample test --> | ||
<!--<dependency> | ||
<groupId>com.milesight.beaveriot</groupId> | ||
<artifactId>msc-integration</artifactId> | ||
<version>${project.version}</version> | ||
<scope>system</scope> | ||
<systemPath>C:/Users/Zhangl/.m2/repository/com/milesight/beaveriot/msc-integration/1.0-SNAPSHOT/msc-integration-1.0-SNAPSHOT.jar</systemPath> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.milesight.beaveriot</groupId> | ||
<artifactId>ping</artifactId> | ||
<version>${project.version}</version> | ||
<scope>system</scope> | ||
<systemPath>C:/Users/Zhangl/.m2/repository/com/milesight/beaveriot/ping/1.0-SNAPSHOT/ping-1.0-SNAPSHOT.jar</systemPath> | ||
</dependency>--> | ||
|
||
<!-- unit test --> | ||
<dependency> | ||
<groupId>org.junit.platform</groupId> | ||
|
@@ -180,6 +186,18 @@ | |
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-maven-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.sonatype.central</groupId> | ||
<artifactId>central-publishing-maven-plugin</artifactId> | ||
<version>0.6.0</version> | ||
<extensions>true</extensions> | ||
<executions> | ||
<execution> | ||
<id>injected-central-publishing</id> | ||
<phase>none</phase> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,35 @@ | |
<parent> | ||
<groupId>com.milesight.beaveriot</groupId> | ||
<artifactId>beaver-iot</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
<version>1.0.0</version> | ||
</parent> | ||
|
||
<artifactId>application</artifactId> | ||
<packaging>pom</packaging> | ||
<name>application</name> | ||
<description>An open-source platform designed for rapid and intuitive IoT application development.</description> | ||
<url>https://github.com/milesight-iot/beaver-iot</url> | ||
<scm> | ||
<url>https://github.com/milesight-iot/beaver-iot</url> | ||
</scm> | ||
<organization> | ||
<name>Milesight</name> | ||
<url>https://www.milesight.com</url> | ||
</organization> | ||
<developers> | ||
<developer> | ||
<id>Simon</id> | ||
<name>Simon Zhao</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
</developers> | ||
<licenses> | ||
<license> | ||
<name>MIT License</name> | ||
<url>https://opensource.org/license/MIT</url> | ||
</license> | ||
</licenses> | ||
|
||
<modules> | ||
<module>application-edge</module> | ||
<module>application-standard</module> | ||
|
@@ -24,4 +48,4 @@ | |
</properties> | ||
|
||
|
||
</project> | ||
</project> |
Oops, something went wrong.