This blog demonstrates how to build/install maven projects in separate directories in Travis CI via GitHub.com
Group JUnit Test Cases using @Suite.SuiteClasses
Grouping Unit Tests [wp_ad_camp_5] At times there are certain set of unit tests we want to execute automatically. These tests may be critical or have been simply grouped for some reasons. To group JUnit test cases, we use @Suite.SuiteClasses annotation.
Parse CSV file using Apache Commons CSV
Why use CSV files? [wp_ad_camp_5] Sometimes we process data in bulk by reading them from files with specific format like CSV. This article demonstrates how to parse a CSV file using Apache Commons CSV. A CSV is a file format
Parse CSV file uploaded as MultipartFile using Apache Commons CSV
From MultiPartFile to Reader object [wp_ad_camp_5] The parse method only accepts a single java.io.Reader object and you may need to convert the MultipartFile object to a Reader object. The MultipartFile class has the getInputStream() whose return value can be passed
Point to local dependency in Maven using systemPath
[wp_ad_camp_1] Sometimes you may not have access to a repository and may need to go around it. If your colleagues have local copies of jar files needed to compile a whole Maven project, you may simply replace the content of
How to create multi-module application in Maven using Eclipse
Background [wp_ad_camp_5] Maven allows you to break down your application into multiple modules. The presentation, service, and integration layers will each be in separate module. This article demonstrates how to create just that. Software Environment Windows 7 Professional SP1 Java
How to create Maven project in Eclipse
Background This article demonstrates how create a Maven project in Eclipse. [wp_ad_camp_3] Software Environment Windows 7 Professional SP1 Java 1.7 (1.7.0_67 – Windows x86) Eclipse Kepler Dependecy Testing Apache Commons Lang 3 (3.3.2) Apache Commons IO (2.4) Create Maven Project
How to configure Maven to use proxy to connect to the network
Background This article demonstrates how configure Apache Maven to use proxy to connect to the network. [wp_ad_camp_1] Software Environment Windows 7 Professional SP1 Apache Maven 3.1.1 Java 1.7 (1.7.0_67 – Windows x86) Modify conf/settings.xml [wp_ad_camp_2] Download the Apache Maven from http://maven.apache.org/
Continuous Integration with GitHub and Jenkins in Red Hat, and AWS EC2
This post demonstrates how to setup a Continuous Integration environment using Jenkins to build codes checked in in GitHub.com. Our Jenkins instance runs on Red Hat Enterprise Linux in AWS EC2.
Parse Command-line Parameters with Apache Commons CLI
The Apache Common CLI library provides an API for parsing command line parameters passed to command-line programs in various familiar option-value formats, e.g., POSIX format (i.e., tar -zxvf myfile.tar.gz).