diff --git a/plugin-function/build.xml b/plugin-function/build.xml index 7fe1db7..7a6dc84 100644 --- a/plugin-function/build.xml +++ b/plugin-function/build.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <project basedir="." default="jar" name="plugin"> <!-- 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="publicLibs" value=""/> @@ -127,4 +127,4 @@ </zip> <move file="${plugin-folder}.zip" todir="${destLoc}/install"/> </target> -</project> +</project> \ No newline at end of file diff --git a/pom.xml b/pom.xml index 3507a9d..8773250 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ <packaging>pom</packaging> <properties> <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> <modules> <module>plugin-function</module> @@ -141,9 +141,22 @@ <version>5.1.44</version> </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> <build> - <outputDirectory>${web-inf-path}/classes</outputDirectory> + <outputDirectory>${web-inf-bucket}/classes</outputDirectory> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId>