24 changed files with 155 additions and 41 deletions
@ -0,0 +1,27 @@
@@ -0,0 +1,27 @@
|
||||
<?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> |
||||
<parent> |
||||
<groupId>com.moparisthebest.jdbcmapper</groupId> |
||||
<artifactId>jdbcmapper-parent</artifactId> |
||||
<version>1.0-SNAPSHOT</version> |
||||
</parent> |
||||
<artifactId>common</artifactId> |
||||
<name>${project.artifactId}</name> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>junit</groupId> |
||||
<artifactId>junit</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.derby</groupId> |
||||
<artifactId>derby</artifactId> |
||||
<scope>test</scope> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
</dependencies> |
||||
<build> |
||||
<finalName>${project.artifactId}</finalName> |
||||
</build> |
||||
</project> |
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
||||
package com.moparisthebest.classgen; |
||||
package com.moparisthebest.jdbc.codegen; |
||||
|
||||
/** |
||||
* Created by mopar on 5/25/17. |
@ -0,0 +1,71 @@
@@ -0,0 +1,71 @@
|
||||
<?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> |
||||
<parent> |
||||
<groupId>com.moparisthebest.jdbcmapper</groupId> |
||||
<artifactId>jdbcmapper-parent</artifactId> |
||||
<version>1.0-SNAPSHOT</version> |
||||
</parent> |
||||
<artifactId>jdbcmapper</artifactId> |
||||
<name>${project.artifactId}</name> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>${project.groupId}</groupId> |
||||
<artifactId>common</artifactId> |
||||
<version>${project.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>${project.groupId}</groupId> |
||||
<artifactId>querymapper</artifactId> |
||||
<version>${project.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>${project.groupId}</groupId> |
||||
<artifactId>querymapper</artifactId> |
||||
<version>${project.version}</version> |
||||
<type>test-jar</type> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>junit</groupId> |
||||
<artifactId>junit</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.derby</groupId> |
||||
<artifactId>derby</artifactId> |
||||
<scope>test</scope> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
</dependencies> |
||||
<build> |
||||
<finalName>${project.artifactId}</finalName> |
||||
|
||||
<plugins> |
||||
<plugin> |
||||
<artifactId>maven-compiler-plugin</artifactId> |
||||
<version>3.1</version> |
||||
<configuration> |
||||
<source>1.6</source> |
||||
<target>1.6</target> |
||||
<debug>true</debug> |
||||
<!--compilerArgument>-Xlint:unchecked</compilerArgument--> |
||||
</configuration> |
||||
<executions> |
||||
<execution> |
||||
<id>my-testCompile</id> |
||||
<phase>test-compile</phase> |
||||
<goals> |
||||
<goal>testCompile</goal> |
||||
</goals> |
||||
<configuration> |
||||
<annotationProcessors> |
||||
<annotationProcessor>com.moparisthebest.jdbc.codegen.JdbcMapperProcessor</annotationProcessor> |
||||
</annotationProcessors> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</project> |
@ -1,4 +1,6 @@
@@ -1,4 +1,6 @@
|
||||
package com.moparisthebest.classgen; |
||||
package com.moparisthebest.jdbc.codegen; |
||||
|
||||
import com.moparisthebest.jdbc.codegen.SQLParser; |
||||
|
||||
/** |
||||
* Created by mopar on 5/25/17. |
@ -1,8 +1,5 @@
@@ -1,8 +1,5 @@
|
||||
package com.moparisthebest.jdbc.codegen; |
||||
|
||||
import com.moparisthebest.classgen.SQLParser; |
||||
import com.moparisthebest.classgen.SimpleSQLParser; |
||||
|
||||
import javax.annotation.processing.*; |
||||
import javax.lang.model.SourceVersion; |
||||
import javax.lang.model.element.*; |
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
||||
package com.moparisthebest.classgen; |
||||
package com.moparisthebest.jdbc.codegen; |
||||
|
||||
import java.util.regex.Pattern; |
||||
|
@ -1,7 +1,5 @@
@@ -1,7 +1,5 @@
|
||||
package com.moparisthebest.jdbc.codegen; |
||||
|
||||
import com.moparisthebest.classgen.SQLParser; |
||||
import com.moparisthebest.classgen.SimpleSQLParser; |
||||
import org.junit.Test; |
||||
|
||||
import static org.junit.Assert.*; |
@ -0,0 +1,25 @@
@@ -0,0 +1,25 @@
|
||||
<?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> |
||||
<parent> |
||||
<groupId>com.moparisthebest.jdbcmapper</groupId> |
||||
<artifactId>jdbcmapper-parent</artifactId> |
||||
<version>1.0-SNAPSHOT</version> |
||||
</parent> |
||||
<artifactId>runtime-compiler</artifactId> |
||||
<name>${project.artifactId}</name> |
||||
<properties> |
||||
<maven.test.skip>false</maven.test.skip> |
||||
<maven.test.failure.ignore>false</maven.test.failure.ignore> |
||||
</properties> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>junit</groupId> |
||||
<artifactId>junit</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
<build> |
||||
<finalName>${project.artifactId}</finalName> |
||||
</build> |
||||
</project> |
Loading…
Reference in new issue