Sitelet https://github.com/cypruska/java/commit/16bc5f36238404b7cca8f458152c378d67299087
Skip to content

Commit 16bc5f3

Browse files
committed
implement maven unit tests
1 parent 4a25315 commit 16bc5f3

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

‎java/pom.xml‎

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,54 @@
3434
</developers>
3535
<properties>
3636
<powermock.version>1.6.2</powermock.version>
37+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3738
</properties>
39+
<build>
40+
<sourceDirectory>${project.basedir}/src</sourceDirectory>
41+
<testSourceDirectory>${project.basedir}/srcTest</testSourceDirectory>
42+
<plugins>
43+
<plugin>
44+
<groupId>org.apache.maven.plugins</groupId>
45+
<artifactId>maven-surefire-plugin</artifactId>
46+
<version>2.18.1</version>
47+
<dependencies>
48+
<dependency>
49+
<groupId>org.apache.maven.surefire</groupId>
50+
<artifactId>surefire-junit47</artifactId>
51+
<version>2.18.1</version>
52+
</dependency>
53+
</dependencies>
54+
<configuration>
55+
<includes>
56+
<include>com/pubnub/api/**/*Test.java</include>
57+
</includes>
58+
</configuration>
59+
</plugin>
60+
<plugin>
61+
<groupId>org.codehaus.mojo</groupId>
62+
<artifactId>build-helper-maven-plugin</artifactId>
63+
<version>1.9.1</version>
64+
<executions>
65+
<execution>
66+
<id>add-source</id>
67+
<phase>generate-sources</phase>
68+
<goals>
69+
<goal>add-source</goal>
70+
</goals>
71+
<configuration>
72+
<sources>
73+
<source>src</source>
74+
<source>src1</source>
75+
<source>srcLogging</source>
76+
<source>srcCrypto</source>
77+
<source>srcPubnubApi</source>
78+
</sources>
79+
</configuration>
80+
</execution>
81+
</executions>
82+
</plugin>
83+
</plugins>
84+
</build>
3885
<dependencies>
3986
<dependency>
4087
<groupId>org.json</groupId>

0 commit comments

Comments
 (0)