Skip to content

Instantly share code, notes, and snippets.

View seropian's full-sized avatar

Dikran Seropian seropian

View GitHub Profile
@seropian
seropian / pom.xml
Last active April 3, 2018 09:48
Compile main code with default java compiler and compile test code with eclipse-groovy compiler, with unit tests and integration tests in separate directories
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
#1. UPDATE YUM
yum update
#2. UPGRADE KERNEL
#See http://bicofino.io/2014/10/25/install-kernel-3-dot-10-on-centos-6-dot-5/
#As root:
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.Scheduler;
import org.springframework.beans.BeanWrapper;
import org.springframework.beans.BeansException;
import org.springframework.beans.MutablePropertyValues;
import org.springframework.beans.PropertyAccessorFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;