Code snippets for article BAEL-818 (#1934)

* Quartz example for article: Introduction to Quartz

* Adding new module for Java Quartz

* Removing Quartz code from jee7 module

* Fixing folder structure

* Removing java-quartz module and adding code snippets in libraries module
This commit is contained in:
Alex Vargas 2017-05-25 14:45:53 -07:00 committed by Zeger Hendrikse
parent a2e2192494
commit 772038390f
5 changed files with 7 additions and 71 deletions

View File

@ -1,31 +0,0 @@
<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>
<groupId>com.baeldung</groupId>
<artifactId>java-quartz</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>java-quartz</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>
</project>

View File

@ -1,38 +0,0 @@
package com.baeldung.java_quartz;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( String testName )
{
super( testName );
}
/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite( AppTest.class );
}
/**
* Rigourous Test :-)
*/
public void testApp()
{
assertTrue( true );
}
}

View File

@ -269,6 +269,11 @@
<artifactId>h2</artifactId>
<version>1.4.195</version>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>
<properties>
<multiverse.version>0.7.0</multiverse.version>

View File

@ -1,4 +1,4 @@
package com.baeldung.java_quartz;
package com.baeldung.quartz;
import org.quartz.JobBuilder;
import org.quartz.JobDetail;

View File

@ -1,4 +1,4 @@
package com.baeldung.java_quartz;
package com.baeldung.quartz;
import org.quartz.Job;
import org.quartz.JobExecutionContext;