Browse Source

maven版本改一个

4.1.3.A
jueyue 8 years ago
parent
commit
3351a1e70b
3 changed files with 144 additions and 3 deletions
  1. +12
    -0
      .gitignore
  2. +4
    -3
      README.md
  3. +128
    -0
      pom.xml

+ 12
- 0
.gitignore View File

@@ -20,3 +20,15 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
/pom_bak.xml
/deploy_sing.bat
/build/
/bin/
.idea/
*.iml

.project
.classpath
.settings/
target/
deploy.bat

+ 4
- 3
README.md View File

@@ -3,7 +3,7 @@
Gradle 引入方式
``` groovy
compile group: 'cn.afterturn',name:'easypoi-spring-boot-starter',version:'0.1.1'
compile group: 'cn.afterturn',name:'easypoi-spring-boot-starter',version:'0.2'
```
Maven 引入方式
@@ -11,9 +11,10 @@ Maven 引入方式
<dependency>
<groupId>cn.afterturn</groupId>
<artifactId>easypoi-spring-boot-starter</artifactId>
<version>0.1.1</version>
<version>0.2</version>
</dependency>
```
需要spring-boot-starter-web 来支持
需要spring-boot-starter-web 来支持
不需要在配置@ComponentScan("cn.afterturn.easypoi")

+ 128
- 0
pom.xml View File

@@ -0,0 +1,128 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.afterturn</groupId>
<artifactId>easypoi-spring-boot-starter</artifactId>
<version>0.2</version>

<url>https://gitee.com/lemur/easypoi-spring-boot-starter</url>
<description>office 工具类 基于 poi</description>

<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<scm>
<connection>https://gitee.com/lemur/easypoi-spring-boot-starter.git</connection>
<developerConnection>https://gitee.com/lemur/easypoi-spring-boot-starter.git</developerConnection>
<url>https://gitee.com/lemur/easypoi-spring-boot-starter.git</url>
</scm>

<developers>
<developer>
<name>JueYue</name>
<email>qrb.jueyue@foxmail.com</email>
<organization>Easypoi</organization>
<organizationUrl>http://www.Easypoi.org</organizationUrl>
</developer>
</developers>

<properties>
<spring-boot.version>1.2.5.RELEASE</spring-boot.version>
</properties>
<dependencies>
<dependency>
<groupId>cn.afterturn</groupId>
<artifactId>easypoi-web</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-scratchpad</artifactId>
<version>3.15</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>ooxml-schemas</artifactId>
<version>1.3</version>
</dependency>
<!-- Compile dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<version>${spring-boot.version}</version>
</dependency>
<!-- @ConfigurationProperties annotation processing (metadata for IDEs) -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<version>${spring-boot.version}</version>
<optional>true</optional>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.5</version>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.1</version>
<configuration>
<attach>true</attach>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>

<distributionManagement>
<repository>
<id>postaop-pay-platform-release</id>
<url>http://postaop.oicp.net:8081/nexus/content/repositories/postaop-common-release/</url>
</repository>
<snapshotRepository>
<id>postaop-pay-platform-snapshot</id>
<url>http://postaop.oicp.net:8081/nexus/content/repositories/postaop-common-snapshot/</url>
</snapshotRepository>
</distributionManagement>
</project>

Loading…
Cancel
Save