Browse Source

功能配置

persist/10.0
richie 6 years ago
parent
commit
5a01f0c5c2
  1. 4
      plugin-function/build.xml
  2. 17
      pom.xml

4
plugin-function/build.xml

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="jar" name="plugin"> <project basedir="." default="jar" name="plugin">
<!-- JDK路径,根据自己机器上实际位置修改--> <!-- JDK路径,根据自己机器上实际位置修改-->
<property name="jdk.home" value="/Library/Java/JavaVirtualMachines/JDK1.8/Contents/Home"/> <property name="jdk.home" value="/Library/Java/JavaVirtualMachines/jdk1.8/Contents/Home"/>
<property name="libs" value="${basedir}/lib"/> <property name="libs" value="${basedir}/lib"/>
<property name="publicLibs" value=""/> <property name="publicLibs" value=""/>
@ -127,4 +127,4 @@
</zip> </zip>
<move file="${plugin-folder}.zip" todir="${destLoc}/install"/> <move file="${plugin-folder}.zip" todir="${destLoc}/install"/>
</target> </target>
</project> </project>

17
pom.xml

@ -7,7 +7,7 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<properties> <properties>
<common-version>10.0-RELEASE-SNAPSHOT</common-version> <common-version>10.0-RELEASE-SNAPSHOT</common-version>
<web-inf-path>${project.basedir}/webroot/WEB-INF</web-inf-path> <web-inf-bucket>${project.basedir}/webroot/WEB-INF</web-inf-bucket>
</properties> </properties>
<modules> <modules>
<module>plugin-function</module> <module>plugin-function</module>
@ -141,9 +141,22 @@
<version>5.1.44</version> <version>5.1.44</version>
</dependency> </dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>3.5.1</version>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>
<outputDirectory>${web-inf-path}/classes</outputDirectory> <outputDirectory>${web-inf-bucket}/classes</outputDirectory>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>

Loading…
Cancel
Save