Browse Source

插件调整为maven结构

release/10.0
neil 6 years ago
parent
commit
556a85b7c3
  1. 4
      .gitignore
  2. 4
      build.xml
  3. 0
      lib/report/.gitkeep
  4. 30
      pom.xml
  5. 0
      src/main/java/com/fr/plugin/hdfs/repository/HDFSFactoryProvider.java
  6. 0
      src/main/java/com/fr/plugin/hdfs/repository/core/HDFSConfig.java
  7. 0
      src/main/java/com/fr/plugin/hdfs/repository/core/HDFSRepositoryFactory.java
  8. 0
      src/main/java/com/fr/plugin/hdfs/repository/core/HDFSRepositoryProfile.java
  9. 0
      src/main/java/com/fr/plugin/hdfs/repository/core/HDFSResourceRepository.java
  10. 0
      src/main/java/com/fr/plugin/hdfs/repository/decision/HDFSFileServerComponent.java
  11. 0
      src/main/java/com/fr/plugin/hdfs/repository/decision/HDFSFileServerResource.java
  12. 0
      src/main/resources/com/fr/plugin/hdfs/repository/decision/js/bundle.js

4
.gitignore vendored

@ -0,0 +1,4 @@
.iml
.idea/
lib/report/*.jar
.DS_Store

4
build.xml

@ -44,7 +44,7 @@
<echo message="从${resources_from}拷贝图片,JS,CSS等资源文件"/>
<delete dir="tmp"/>
<copy todir="tmp">
<fileset dir="${resources_from}\src">
<fileset dir="${resources_from}/src/main/resources">
<patternset refid="resources4Jar"/>
</fileset>
</copy>
@ -59,7 +59,7 @@
target="${target_jdk_version}"
fork="true" memoryMaximumSize="512m" listfiles="false" srcdir="${basedir}"
executable="${compile_jdk_version}/bin/javac">
<src path="${basedir}/src"/>
<src path="${basedir}/src/main/java"/>
<exclude name="**/.svn/**"/>
<compilerarg line="-encoding UTF8 "/>
<classpath refid="compile.classpath"/>

0
lib/report/.gitkeep

30
pom.xml

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>
<parent>
<groupId>com.fr.plugin</groupId>
<artifactId>starter</artifactId>
<version>10.0</version>
</parent>
<packaging>jar</packaging>
<artifactId>com.fr.plugin.***m</artifactId>
<build>
<!---如果要更改调试插件,改这里的配置就可以了-->
<outputDirectory>
${project.basedir}\..\webroot\WEB-INF\plugins\plugin-com.fr.plugin.***-版本\classes
</outputDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>6</source>
<target>6</target>
</configuration>
</plugin>
</plugins>
</build>
</project>

0
src/com/fr/plugin/hdfs/repository/HDFSFactoryProvider.java → src/main/java/com/fr/plugin/hdfs/repository/HDFSFactoryProvider.java

0
src/com/fr/plugin/hdfs/repository/core/HDFSConfig.java → src/main/java/com/fr/plugin/hdfs/repository/core/HDFSConfig.java

0
src/com/fr/plugin/hdfs/repository/core/HDFSRepositoryFactory.java → src/main/java/com/fr/plugin/hdfs/repository/core/HDFSRepositoryFactory.java

0
src/com/fr/plugin/hdfs/repository/core/HDFSRepositoryProfile.java → src/main/java/com/fr/plugin/hdfs/repository/core/HDFSRepositoryProfile.java

0
src/com/fr/plugin/hdfs/repository/core/HDFSResourceRepository.java → src/main/java/com/fr/plugin/hdfs/repository/core/HDFSResourceRepository.java

0
src/com/fr/plugin/hdfs/repository/decision/HDFSFileServerComponent.java → src/main/java/com/fr/plugin/hdfs/repository/decision/HDFSFileServerComponent.java

0
src/com/fr/plugin/hdfs/repository/decision/HDFSFileServerResource.java → src/main/java/com/fr/plugin/hdfs/repository/decision/HDFSFileServerResource.java

0
src/com/fr/plugin/hdfs/repository/decision/js/bundle.js → src/main/resources/com/fr/plugin/hdfs/repository/decision/js/bundle.js

Loading…
Cancel
Save