Skip to content

Commit

Permalink
add maven plugins config to spring boot starter module
Browse files Browse the repository at this point in the history
make it 0.0.2 will test the module build function of jitpack.io
  • Loading branch information
honwhy committed Mar 4, 2019
1 parent dcb0670 commit a911047
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 4 deletions.
48 changes: 46 additions & 2 deletions ftpcp-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>com.github.honwhy.ftpcp2</groupId>
<artifactId>ftpcp-spring-boot-starter</artifactId>
<version>0.0.1</version>
<version>0.0.2</version>
<name>ftpcp-spring-boot-starter</name>
<description>FTP connection pool starter for Spring Boot</description>

Expand Down Expand Up @@ -58,5 +58,49 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
<plugins>
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
2 changes: 1 addition & 1 deletion ftpcp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>ftpcp2</artifactId>
<groupId>com.github.honwhy</groupId>
<version>0.0.1</version>
<version>0.0.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.github.honwhy</groupId>
<artifactId>ftpcp2</artifactId>
<packaging>pom</packaging>
<version>0.0.1</version>
<version>0.0.2</version>
<modules>
<module>ftpcp</module>
<module>ftpcp-spring-boot-starter</module>
Expand Down

0 comments on commit a911047

Please sign in to comment.