You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2015/04/27 17:42:19 UTC
svn commit: r1676311 -
/ofbiz/branches/OFBIZ-6271/applications/accounting/pom.xml
Author: doogie
Date: Mon Apr 27 15:42:19 2015
New Revision: 1676311
URL: http://svn.apache.org/r1676311
Log:
Add a profile that detects if the verisign payflow.jar is available, and
compiled the verisign payment processor.
Modified:
ofbiz/branches/OFBIZ-6271/applications/accounting/pom.xml
Modified: ofbiz/branches/OFBIZ-6271/applications/accounting/pom.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/applications/accounting/pom.xml?rev=1676311&r1=1676310&r2=1676311&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/applications/accounting/pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/applications/accounting/pom.xml Mon Apr 27 15:42:19 2015
@@ -136,4 +136,61 @@ under the License.
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>accounting:verisign</id>
+ <activation>
+ <file>
+ <exists>${user.dir}/applications/accounting/lib/payflow.jar</exists>
+ </file>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>payflow</groupId>
+ <artifactId>payflow</artifactId>
+ <version>x.x</version>
+ <scope>system</scope>
+ <systemPath>${user.dir}/applications/accounting/lib/payflow.jar</systemPath>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>accounting-verisign-compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ <configuration>
+ <excludes>
+ <exclude>**/test/*.java</exclude>
+ </excludes>
+ <includes>
+ <include>**/org/ofbiz/accounting/thirdparty/verisign/**/*.java</include>
+ </includes>
+ </configuration>
+ </execution>
+ <execution>
+ <id>accounting-verisign-testCompile</id>
+ <phase>test-compile</phase>
+ <goals>
+ <goal>testCompile</goal>
+ </goals>
+ <configuration>
+ <testIncludes>
+ <testInclude>**/org/ofbiz/accounting/thirdparty/verisign/test/**/*.java</testInclude>
+ </testIncludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>