Browse Source

文件上传下载到OSS插件

pull/1/head
richie 6 years ago
parent
commit
5f44bbd1fd
  1. 1
      .gitignore
  2. 2
      build.xml
  3. 0
      lib/report/.gitkeep
  4. 21
      pom.xml

1
.gitignore vendored

@ -2,3 +2,4 @@
.idea/
target/
lib/report/*.jar
.DS_Store

2
build.xml

@ -5,7 +5,7 @@
<property name="libs" value="${basedir}/lib"/>
<property name="publicLibs" value=""/>
<property name="reportLibs" value="${basedir}/lib/report"/>
<property name="reportLibs" value="${basedir}/../webroot/WEB-INF/lib"/>
<property name="destLoc" value="."/>
<property name="classes" value="classes"/>
<xmlproperty file="${basedir}/plugin.xml"/>

0
lib/report/.gitkeep

21
pom.xml

@ -5,32 +5,21 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.fr.maven</groupId>
<artifactId>finereport-maven</artifactId>
<version>10.0</version>
<groupId>com.fr.plugin</groupId>
<artifactId>starter</artifactId>
<version>10.0</version>
</parent>
<packaging>jar</packaging>
<artifactId>plugin-file-submit-oss</artifactId>
<artifactId>demo-file-submit-oss</artifactId>
<dependencies>
<!-- https://mvnrepository.com/artifact/com.aliyun.oss/aliyun-sdk-oss -->
<dependency>
<groupId>com.aliyun.oss</groupId>
<artifactId>aliyun-sdk-oss</artifactId>
<version>3.3.0</version>
</dependency>
<dependency>
<groupId>com.fr.report</groupId>
<artifactId>fine-report-designer</artifactId>
<version>10.0</version>
</dependency>
<dependency>
<groupId>com.fr.report</groupId>
<artifactId>designer-base</artifactId>
<version>10.0</version>
</dependency>
</dependencies>
<build>
<!---如果要更改调试插件,改这里的配置就可以了-->
<outputDirectory>${web-inf-path}/plugins/plugin-com.fr.plugin.file.submit.oss-1.0/classes</outputDirectory>
<outputDirectory>${project.basedir}/../webroot/WEB-INF/plugins/plugin-com.fr.plugin.file.submit.oss-1.0/classes</outputDirectory>
</build>
</project>
Loading…
Cancel
Save