Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydl-generator
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
余保谷
ydl-generator
Commits
e2bbf6f7
Commit
e2bbf6f7
authored
Jul 06, 2018
by
bianpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升级1.20
parent
85f3646e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
91 additions
and
105 deletions
+91
-105
pom.xml
pom.xml
+87
-101
TestMain.java
src/main/java/com/github/mybatis/test/TestMain.java
+4
-4
No files found.
pom.xml
View file @
e2bbf6f7
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<groupId>
com.github
</groupId>
<groupId>
com.github
</groupId>
<artifactId>
mybatis-dsc-generator
</artifactId>
<artifactId>
mybatis-dsc-generator
</artifactId>
<version>
1.
1
.0.RELEASE
</version>
<version>
1.
2
.0.RELEASE
</version>
<packaging>
jar
</packaging>
<packaging>
jar
</packaging>
<name>
mybatis-dsc-generator
</name>
<name>
mybatis-dsc-generator
</name>
...
@@ -79,105 +79,91 @@
...
@@ -79,105 +79,91 @@
</dependencies>
</dependencies>
<distributionManagement>
<distributionManagement>
<snapshotRepository>
<snapshotRepository>
<id>
oss
</id>
<id>
oss
</id>
<url>
https://oss.sonatype.org/content/repositories/snapshots/
</url>
<url>
https://oss.sonatype.org/content/repositories/snapshots/
</url>
</snapshotRepository>
</snapshotRepository>
<repository>
<repository>
<id>
oss
</id>
<id>
oss
</id>
<url>
https://oss.sonatype.org/service/local/staging/deploy/maven2/
</url>
<url>
https://oss.sonatype.org/service/local/staging/deploy/maven2/
</url>
</repository>
</repository>
</distributionManagement>
</distributionManagement>
<profiles>
<profile>
<id>
release
</id>
<build>
<resources>
<resource>
<directory>
${project.basedir}/src/main/resources
</directory>
<targetPath>
META-INF/resources/
</targetPath>
</resource>
</resources>
<plugins>
<!-- Source -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-source-plugin
</artifactId>
<version>
${maven-source-plugin.version}
</version>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
jar-no-fork
</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Javadoc -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-javadoc-plugin
</artifactId>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
jar
</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- GPG -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-gpg-plugin
</artifactId>
<version>
${maven-gpg-plugin.version}
</version>
<executions>
<execution>
<phase>
verify
</phase>
<goals>
<goal>
sign
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<profiles>
<build>
<profile>
<resources>
<id>
disable-javadoc-doclint
</id>
<resource>
<activation>
<directory>
${project.basedir}/src/main/resources
</directory>
<jdk>
[1.8,)
</jdk>
<targetPath>
META-INF/resources/
</targetPath>
</activation>
</resource>
<properties>
</resources>
<additionalparam>
-Xdoclint:none
</additionalparam>
<plugins>
</properties>
<!-- java编译插件 -->
</profile>
<plugin>
<profile>
<groupId>
org.apache.maven.plugins
</groupId>
<id>
release
</id>
<artifactId>
maven-compiler-plugin
</artifactId>
<build>
<version>
${maven-compiler-plugin.version}
</version>
<resources>
<configuration>
<resource>
<source>
${java.version}
</source>
<directory>
${project.basedir}/src/main/resources
</directory>
<target>
${java.version}
</target>
<targetPath>
META-INF/resources/
</targetPath>
<encoding>
${project.build.sourceEncoding}
</encoding>
</resource>
</configuration>
</resources>
</plugin>
<plugins>
</plugins>
<!-- Source -->
</build>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-source-plugin
</artifactId>
<version>
${maven-source-plugin.version}
</version>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
jar-no-fork
</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Javadoc -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-javadoc-plugin
</artifactId>
<executions>
<execution>
<id>
attach-javadocs
</id>
<phase>
package
</phase>
<goals>
<goal>
jar
</goal>
</goals>
<configuration>
<additionalparam>
-Xdoclint:none
</additionalparam>
</configuration>
</execution>
</executions>
</plugin>
<!-- GPG -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-gpg-plugin
</artifactId>
<version>
${maven-gpg-plugin.version}
</version>
<executions>
<execution>
<phase>
verify
</phase>
<goals>
<goal>
sign
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<resources>
<resource>
<directory>
${project.basedir}/src/main/resources
</directory>
<targetPath>
META-INF/resources/
</targetPath>
</resource>
</resources>
<plugins>
<!-- java编译插件 -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
${maven-compiler-plugin.version}
</version>
<configuration>
<source>
${java.version}
</source>
<target>
${java.version}
</target>
<encoding>
${project.build.sourceEncoding}
</encoding>
</configuration>
</plugin>
</plugins>
</build>
</project>
</project>
src/main/java/com/github/mybatis/test/TestMain.java
View file @
e2bbf6f7
...
@@ -42,18 +42,18 @@ public class TestMain {
...
@@ -42,18 +42,18 @@ public class TestMain {
try
{
try
{
bi
=
EntityInfoUtil
.
getInfo
(
bi
);
bi
=
EntityInfoUtil
.
getInfo
(
bi
);
String
aa1
=
Generator
.
createEntity
(
"E:\\test_workspace\\mybatis-generator\\src\\main\\java\\"
,
bi
).
toString
();
String
aa1
=
Generator
.
createEntity
(
"E:\\test_workspace\\mybatis-generator\\src\\main\\java\\"
,
bi
).
toString
();
String
aa2
=
Generator
.
createDao
(
"E:\\test_workspace\\mybatis-generator\\src\\main\\java\\"
,
bi
).
toString
();
/*
String aa2=Generator.createDao("E:\\test_workspace\\mybatis-generator\\src\\main\\java\\", bi).toString();
String aa3=Generator.createDaoImpl("E:\\test_workspace\\mybatis-generator\\src\\main\\java\\", bi).toString();
String aa3=Generator.createDaoImpl("E:\\test_workspace\\mybatis-generator\\src\\main\\java\\", bi).toString();
String aa4=Generator.createService("E:\\test_workspace\\mybatis-generator\\src\\main\\java\\", bi).toString();
String aa4=Generator.createService("E:\\test_workspace\\mybatis-generator\\src\\main\\java\\", bi).toString();
String aa5=Generator.createServiceImpl("E:\\test_workspace\\mybatis-generator\\src\\main\\java\\", bi).toString();
String aa5=Generator.createServiceImpl("E:\\test_workspace\\mybatis-generator\\src\\main\\java\\", bi).toString();
String
aa6
=
Generator
.
createController
(
"E:\\test_workspace\\mybatis-generator\\src\\main\\java\\"
,
bi
).
toString
();
String aa6=Generator.createController("E:\\test_workspace\\mybatis-generator\\src\\main\\java\\", bi).toString();
*/
System
.
out
.
println
(
aa1
);
System
.
out
.
println
(
aa1
);
System
.
out
.
println
(
aa2
);
/*
System.out.println(aa2);
System.out.println(aa3);
System.out.println(aa3);
System.out.println(aa4);
System.out.println(aa4);
System.out.println(aa5);
System.out.println(aa5);
System
.
out
.
println
(
aa6
);
System.out.println(aa6);
*/
}
catch
(
SQLException
e
)
{
}
catch
(
SQLException
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment