Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 94492cf

Browse filesBrowse files
committed
2 parents 8aa16e7 + ffb80bc commit 94492cf
Copy full SHA for 94492cf

21 files changed

+159
-1999
lines changed

‎.classpath

Copy file name to clipboardExpand all lines: .classpath
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
<classpathentry kind="lib" path="lib/hamcrest-core-1.3.jar"/>
1313
<classpathentry kind="lib" path="lib/hamcrest-library-1.3.jar"/>
1414
<classpathentry kind="lib" path="lib/jmock-2.6.0.jar"/>
15-
<classpathentry kind="lib" path="lib/gson-2.3.1.jar" />
15+
<classpathentry kind="lib" path="lib/gson-2.3.1.jar"/>
1616
<classpathentry kind="output" path="target/classes"/>
1717
</classpath>

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ before_script:
2020

2121
script:
2222
- cd sample-code-java
23-
- mvn install -DsdkVersion=2.0.0-SNAPSHOT -DskipTests=true -Dmaven.javadoc.skip=true -B -V
24-
- mvn test -DsdkVersion=2.0.0-SNAPSHOT -B
23+
- mvn install -DsdkVersion=2.0.1-SNAPSHOT -DskipTests=true -Dmaven.javadoc.skip=true -B -V
24+
- mvn test -DsdkVersion=2.0.1-SNAPSHOT -B
2525

2626
after_script:
2727
print_surefire_reports.sh

‎anet-java-sdk.properties

Copy file name to clipboardExpand all lines: anet-java-sdk.properties
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@
88
# the keys above.
99
api.login.id=API_LOGIN_ID
1010
transaction.key=TRANSACTION_KEY
11-
md5.hash.key=MD5_HASH_KEY
1211

1312
# Keys for ApplePay transaction tests. These keys may or may not be
1413
# the same as the key above. If not specified, they are defaulted to
1514
# the keys above.
1615
# api.login.id.applepay=API_LOGIN_ID_APPLEPAY
1716
# transaction.key.applepay=TRANSACTION_KEY_APPLEPAY
18-
# md5.hash.key.applepay=MD5_HASH_KEY_APPLEPAY
1917

2018
# if behind a proxy, use these settings:
2119
# http.proxyHost=HTTP_PROXY_HOST

‎build.xml

Copy file name to clipboardExpand all lines: build.xml
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<property name="prop.message" value="must be defined in ${user.home}/${ant.project.name}.properties" />
1818
<fail message="api.login.id ${prop.message}" unless="api.login.id" />
1919
<fail message="transaction.key ${prop.message}" unless="transaction.key" />
20-
<fail message="md5.hash.key ${prop.message}" unless="md5.hash.key" />
2120

2221
<path id="classpath">
2322
<fileset dir="${lib.dir}" includes="**/*.jar" />
@@ -88,12 +87,10 @@
8887
</classpath>
8988
<sysproperty key="API_LOGIN_ID" value="${api.login.id}" />
9089
<sysproperty key="TRANSACTION_KEY" value="${transaction.key}" />
91-
<sysproperty key="MD5_HASH_KEY" value="${md5.hash.key}" />
9290
<formatter type="plain" />
9391
<batchtest fork="yes" todir="${reports.tests}">
9492
<fileset dir="${classes.dir}">
9593
<include name="**/*Test*.class" />
96-
<!--include name="net/authorize/cim/functional_test/*Test*.class" /-->
9794
<exclude name="**/UnitTestData.class, **/MyTest.class" />
9895
</fileset>
9996
</batchtest>

‎pom.xml

Copy file name to clipboard
+155-169Lines changed: 155 additions & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -1,173 +1,159 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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">
3-
<modelVersion>4.0.0</modelVersion>
4-
<parent>
5-
<groupId>org.sonatype.oss</groupId>
6-
<artifactId>oss-parent</artifactId>
7-
<version>7</version>
8-
</parent>
9-
<groupId>net.authorize</groupId>
10-
<artifactId>anet-java-sdk</artifactId>
11-
<packaging>jar</packaging>
12-
<version>2.0.1-SNAPSHOT</version>
13-
<name>Authorize.Net Java SDK</name>
14-
<description>Authorize.Net SDK includes standard payments, recurring billing, and customer profiles.</description>
15-
<url>http://developer.authorize.net</url>
16-
<licenses>
17-
<license>
18-
<name>SDK License Agreement</name>
19-
<url>https://github.com/AuthorizeNet/sdk-java/blob/master/LICENSE.txt</url>
20-
<distribution>repo</distribution>
21-
</license>
22-
</licenses>
23-
<scm>
24-
<connection>scm:git:https://github.com/AuthorizeNet/sdk-java.git</connection>
25-
<developerConnection>scm:git:https://github.com/AuthorizeNet/sdk-java.git</developerConnection>
26-
<url>https://github.com/AuthorizeNet/sdk-java.git</url>
27-
</scm>
28-
<developers>
29-
<developer>
30-
<id>authorizenet</id>
31-
<name>Authorize.Net Developer</name>
32-
<email>developer@authorize.net</email>
33-
</developer>
34-
</developers>
35-
<dependencies>
36-
<dependency>
37-
<groupId>junit</groupId>
38-
<artifactId>junit</artifactId>
39-
<version>4.8.1</version>
40-
<scope>test</scope>
41-
</dependency>
42-
<dependency>
43-
<groupId>commons-logging</groupId>
44-
<artifactId>commons-logging</artifactId>
45-
<version>1.1.1</version>
46-
<scope>compile</scope>
47-
</dependency>
48-
<dependency>
49-
<groupId>org.apache.httpcomponents</groupId>
50-
<artifactId>httpclient</artifactId>
51-
<version>4.5.3</version>
52-
<scope>compile</scope>
53-
</dependency>
54-
<dependency>
55-
<groupId>org.apache.httpcomponents</groupId>
56-
<artifactId>httpcore</artifactId>
57-
<version>4.4.6</version>
58-
<scope>compile</scope>
59-
</dependency>
60-
<dependency>
61-
<groupId>log4j</groupId>
62-
<artifactId>log4j</artifactId>
63-
<version>1.2.16</version>
64-
<scope>compile</scope>
65-
</dependency>
66-
<dependency>
67-
<groupId>org.jmock</groupId>
68-
<artifactId>jmock</artifactId>
69-
<version>2.6.0</version>
70-
<scope>test</scope>
71-
</dependency>
72-
<dependency>
73-
<groupId>org.hamcrest</groupId>
74-
<artifactId>hamcrest-core</artifactId>
75-
<version>1.3</version>
76-
<scope>test</scope>
77-
</dependency>
78-
<dependency>
79-
<groupId>org.hamcrest</groupId>
80-
<artifactId>hamcrest-library</artifactId>
81-
<version>1.3</version>
82-
<scope>test</scope>
83-
</dependency>
84-
<dependency>
85-
<groupId>com.google.code.gson</groupId>
86-
<artifactId>gson</artifactId>
87-
<version>2.3.1</version>
3+
<modelVersion>4.0.0</modelVersion>
4+
<parent>
5+
<groupId>org.sonatype.oss</groupId>
6+
<artifactId>oss-parent</artifactId>
7+
<version>7</version>
8+
</parent>
9+
<groupId>net.authorize</groupId>
10+
<artifactId>anet-java-sdk</artifactId>
11+
<packaging>jar</packaging>
12+
<version>2.0.2-SNAPSHOT</version>
13+
<name>Authorize.Net Java SDK</name>
14+
<description>Authorize.Net SDK includes standard payments, recurring billing, and customer profiles.</description>
15+
<url>http://developer.authorize.net</url>
16+
<licenses>
17+
<license>
18+
<name>SDK License Agreement</name>
19+
<url>https://github.com/AuthorizeNet/sdk-java/blob/master/LICENSE.txt</url>
20+
<distribution>repo</distribution>
21+
</license>
22+
</licenses>
23+
<scm>
24+
<connection>scm:git:https://github.com/AuthorizeNet/sdk-java.git</connection>
25+
<developerConnection>scm:git:https://github.com/AuthorizeNet/sdk-java.git</developerConnection>
26+
<url>https://github.com/AuthorizeNet/sdk-java.git</url>
27+
</scm>
28+
<developers>
29+
<developer>
30+
<id>authorizenet</id>
31+
<name>Authorize.Net Developer</name>
32+
<email>developer@authorize.net</email>
33+
</developer>
34+
</developers>
35+
<dependencies>
36+
<dependency>
37+
<groupId>junit</groupId>
38+
<artifactId>junit</artifactId>
39+
<version>4.8.1</version>
40+
<scope>test</scope>
41+
</dependency>
42+
<dependency>
43+
<groupId>commons-logging</groupId>
44+
<artifactId>commons-logging</artifactId>
45+
<version>1.1.1</version>
8846
<scope>compile</scope>
89-
</dependency>
90-
</dependencies>
91-
<properties>
92-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
93-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
94-
<maven.compile.source>1.5</maven.compile.source>
95-
<maven.compile.target>1.5</maven.compile.target>
96-
<maven.compile.optimize>true</maven.compile.optimize>
97-
<maven.compile.deprecation>true</maven.compile.deprecation>
98-
</properties>
99-
<build>
100-
<plugins>
101-
<plugin>
102-
<groupId>org.apache.maven.plugins</groupId>
103-
<artifactId>maven-compiler-plugin</artifactId>
104-
<version>2.0.2</version>
105-
<configuration>
106-
<source>1.5</source>
107-
<target>1.5</target>
108-
</configuration>
109-
</plugin>
110-
<plugin>
111-
<groupId>org.codehaus.mojo</groupId>
112-
<artifactId>properties-maven-plugin</artifactId>
113-
<version>1.0-alpha-2</version>
114-
<!--
115-
<executions>
116-
<execution>
117-
<phase>initialize</phase>
118-
<goals>
119-
<goal>read-project-properties</goal>
120-
</goals>
121-
<configuration>
122-
<files>
123-
<file>${user.home}/anet-java-sdk.properties</file>
124-
</files>
125-
</configuration>
126-
</execution>
127-
</executions>
128-
-->
129-
</plugin>
130-
<plugin>
131-
<groupId>org.apache.maven.plugins</groupId>
132-
<artifactId>maven-surefire-plugin</artifactId>
133-
<version>2.9</version>
134-
<configuration>
135-
<includes>
136-
<include> **/mocktest/**.java</include>
137-
</includes>
138-
<skipTests>false</skipTests>
139-
<forkCount>1</forkCount>
140-
<systemPropertyVariables>
141-
<API_LOGIN_ID>${api.login.id}</API_LOGIN_ID>
142-
<TRANSACTION_KEY>${transaction.key}</TRANSACTION_KEY>
143-
<MD5_HASH_KEY>${md5.hash.key}</MD5_HASH_KEY>
144-
</systemPropertyVariables>
145-
<environmentVariables>
146-
<API_LOGIN_ID>API_LOGIN_ID</API_LOGIN_ID>
147-
<TRANSACTION_KEY>TRANSACTION_KEY</TRANSACTION_KEY>
148-
<MD5_HASH_KEY>MD5_HASH_KEY</MD5_HASH_KEY>
149-
</environmentVariables>
150-
</configuration>
151-
</plugin>
152-
</plugins>
153-
<resources>
154-
<resource>
155-
<directory>resources</directory>
156-
<filtering>true</filtering>
157-
<includes>
158-
<include>**/AuthorizedNetSensitiveTagsConfig.json</include>
159-
</includes>
160-
</resource>
161-
<resource>
162-
<directory>resources</directory>
163-
<filtering>false</filtering>
164-
<includes>
165-
<include>**/*.*</include>
166-
</includes>
167-
<excludes>
168-
<exclude>log4j.properties</exclude>
169-
</excludes>
170-
</resource>
171-
</resources>
172-
</build>
47+
</dependency>
48+
<dependency>
49+
<groupId>org.apache.httpcomponents</groupId>
50+
<artifactId>httpclient</artifactId>
51+
<version>4.5.3</version>
52+
<scope>compile</scope>
53+
</dependency>
54+
<dependency>
55+
<groupId>org.apache.httpcomponents</groupId>
56+
<artifactId>httpcore</artifactId>
57+
<version>4.4.6</version>
58+
<scope>compile</scope>
59+
</dependency>
60+
<dependency>
61+
<groupId>log4j</groupId>
62+
<artifactId>log4j</artifactId>
63+
<version>1.2.16</version>
64+
<scope>compile</scope>
65+
</dependency>
66+
<dependency>
67+
<groupId>org.jmock</groupId>
68+
<artifactId>jmock</artifactId>
69+
<version>2.6.0</version>
70+
<scope>test</scope>
71+
</dependency>
72+
<dependency>
73+
<groupId>org.hamcrest</groupId>
74+
<artifactId>hamcrest-core</artifactId>
75+
<version>1.3</version>
76+
<scope>test</scope>
77+
</dependency>
78+
<dependency>
79+
<groupId>org.hamcrest</groupId>
80+
<artifactId>hamcrest-library</artifactId>
81+
<version>1.3</version>
82+
<scope>test</scope>
83+
</dependency>
84+
<dependency>
85+
<groupId>com.google.code.gson</groupId>
86+
<artifactId>gson</artifactId>
87+
<version>2.3.1</version>
88+
<scope>compile</scope>
89+
</dependency>
90+
</dependencies>
91+
<properties>
92+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
93+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
94+
<maven.compile.source>1.5</maven.compile.source>
95+
<maven.compile.target>1.5</maven.compile.target>
96+
<maven.compile.optimize>true</maven.compile.optimize>
97+
<maven.compile.deprecation>true</maven.compile.deprecation>
98+
</properties>
99+
<build>
100+
<plugins>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-compiler-plugin</artifactId>
104+
<version>2.0.2</version>
105+
<configuration>
106+
<source>1.5</source>
107+
<target>1.5</target>
108+
</configuration>
109+
</plugin>
110+
<plugin>
111+
<groupId>org.codehaus.mojo</groupId>
112+
<artifactId>properties-maven-plugin</artifactId>
113+
<version>1.0-alpha-2</version>
114+
<!-- <executions> <execution> <phase>initialize</phase> <goals> <goal>read-project-properties</goal>
115+
</goals> <configuration> <files> <file>${user.home}/anet-java-sdk.properties</file>
116+
</files> </configuration> </execution> </executions> -->
117+
</plugin>
118+
<plugin>
119+
<groupId>org.apache.maven.plugins</groupId>
120+
<artifactId>maven-surefire-plugin</artifactId>
121+
<version>2.9</version>
122+
<configuration>
123+
<includes>
124+
<include> **/mocktest/**.java</include>
125+
</includes>
126+
<skipTests>false</skipTests>
127+
<forkCount>1</forkCount>
128+
<systemPropertyVariables>
129+
<API_LOGIN_ID>${api.login.id}</API_LOGIN_ID>
130+
<TRANSACTION_KEY>${transaction.key}</TRANSACTION_KEY>
131+
</systemPropertyVariables>
132+
<environmentVariables>
133+
<API_LOGIN_ID>API_LOGIN_ID</API_LOGIN_ID>
134+
<TRANSACTION_KEY>TRANSACTION_KEY</TRANSACTION_KEY>
135+
</environmentVariables>
136+
</configuration>
137+
</plugin>
138+
</plugins>
139+
<resources>
140+
<resource>
141+
<directory>resources</directory>
142+
<filtering>true</filtering>
143+
<includes>
144+
<include>**/AuthorizedNetSensitiveTagsConfig.json</include>
145+
</includes>
146+
</resource>
147+
<resource>
148+
<directory>resources</directory>
149+
<filtering>false</filtering>
150+
<includes>
151+
<include>**/*.*</include>
152+
</includes>
153+
<excludes>
154+
<exclude>log4j.properties</exclude>
155+
</excludes>
156+
</resource>
157+
</resources>
158+
</build>
173159
</project>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.