mg-groovy

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

License

License

Categories

Categories

Groovy Languages
GroupId

GroupId

com.github.mg365
ArtifactId

ArtifactId

mg-groovy
Last Version

Last Version

1.0.5
Release Date

Release Date

Type

Type

jar
Description

Description

mg-groovy
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Project URL

Project URL

http://maven.apache.org

Download mg-groovy

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.mg365/mg-groovy/ -->
<dependency>
    <groupId>com.github.mg365</groupId>
    <artifactId>mg-groovy</artifactId>
    <version>1.0.5</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.mg365/mg-groovy/
implementation 'com.github.mg365:mg-groovy:1.0.5'
// https://jarcasting.com/artifacts/com.github.mg365/mg-groovy/
implementation ("com.github.mg365:mg-groovy:1.0.5")
'com.github.mg365:mg-groovy:jar:1.0.5'
<dependency org="com.github.mg365" name="mg-groovy" rev="1.0.5">
  <artifact name="mg-groovy" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.mg365', module='mg-groovy', version='1.0.5')
)
libraryDependencies += "com.github.mg365" % "mg-groovy" % "1.0.5"
[com.github.mg365/mg-groovy "1.0.5"]

Dependencies

compile (61)

Group / Artifact Type Version
com.github.mg365 : mg-fw jar 1.0.5
javax.servlet : jstl jar 1.2
org.springframework : spring-core jar 4.1.3.RELEASE
org.springframework : spring-web jar 4.1.3.RELEASE
org.springframework : spring-webmvc jar 4.1.3.RELEASE
org.springframework : spring-context jar 4.1.3.RELEASE
org.springframework : spring-context-support jar 4.1.3.RELEASE
org.springframework : spring-orm jar 4.1.3.RELEASE
org.springframework : spring-struts jar 3.2.8.RELEASE
org.apache.poi : poi jar 3.10-FINAL
org.apache.poi : poi-ooxml jar 3.10-FINAL
c3p0 : c3p0 jar 0.9.1.2
commons-beanutils : commons-beanutils jar 1.9.0
commons-digester : commons-digester jar 1.8
org.codehaus.jackson : jackson-jaxrs jar 1.9.13
com.fasterxml.jackson.core : jackson-databind jar 2.3.3
com.fasterxml.jackson.core : jackson-annotations jar 2.3.3
com.fasterxml.jackson.core : jackson-core jar 2.3.3
commons-lang : commons-lang jar 2.6
commons-fileupload : commons-fileupload jar 1.3.1
commons-collections : commons-collections jar 3.1
commons-configuration : commons-configuration jar 1.6
org.aspectj : aspectjweaver jar 1.7.4
org.slf4j : slf4j-api jar 1.7.7
ch.qos.logback : logback-core jar 1.1.2
ch.qos.logback : logback-classic jar 1.1.2
xerces : xercesImpl jar 2.11.0
mysql : mysql-connector-java jar 5.1.29
org.hamcrest : hamcrest-all jar 1.3
opensymphony : sitemesh jar 2.4.2
org.apache.velocity : velocity-tools jar 1.3
asm : asm jar 3.1
cglib : cglib jar 2.2.2
sslext : sslext jar 1.2-0
com.mysema.querydsl : querydsl-apt jar 3.5.1
com.mysema.querydsl : querydsl-jpa jar 3.5.1
org.springframework.data : spring-data-jpa jar 1.7.1.RELEASE
org.hibernate : hibernate-entitymanager jar 4.2.11.Final
org.hibernate : hibernate-core jar 4.2.11.Final
org.hibernate : hibernate-ehcache jar 4.2.11.Final
org.hibernate : hibernate-validator jar 5.1.1.Final
com.alibaba : druid jar 1.0.7
com.alibaba : fastjson jar 1.1.41
org.apache.httpcomponents : httpclient jar 4.3.5
org.freemarker : freemarker jar 2.3.20
org.codehaus.mojo : jdepend-maven-plugin jar 2.0-beta-2
net.sourceforge.jtds : jtds jar 1.2.4
p6spy : p6spy jar 2.1.4
com.fasterxml.uuid : java-uuid-generator jar 3.1.3
org.activiti : activiti-engine jar 5.14
org.activiti : activiti-bpmn-layout jar 5.14
org.activiti : activiti-spring jar 5.14
org.apache.shiro : shiro-core jar 1.2.2
org.apache.shiro : shiro-spring jar 1.2.2
org.apache.shiro : shiro-web jar 1.2.2
org.apache.shiro : shiro-ehcache jar 1.2.2
org.codehaus.groovy : groovy jar 2.3.8
org.codehaus.groovy : groovy-jsr223 jar 2.3.8
net.sf.jxls : jxls-core jar 1.0.6
com.aliyun : aliyun-java-sdk-core jar 3.7.1
com.aliyun : aliyun-java-sdk-dysmsapi jar 1.1.0

provided (2)

Group / Artifact Type Version
javax.servlet.jsp : javax.servlet.jsp-api jar 2.3.1
javax.servlet : servlet-api jar 2.5

runtime (3)

Group / Artifact Type Version
org.bgee.log4jdbc-log4j2 : log4jdbc-log4j2-jdbc4.1 jar 1.16
com.googlecode.log4jdbc : log4jdbc jar 1.2
org.jboss.spec.javax.el : jboss-el-api_3.0_spec jar 1.0.0.Final

test (6)

Group / Artifact Type Version
junit : junit jar 4.11
org.assertj : assertj-core jar 1.5.0
org.dbunit : dbunit jar 2.4.9
org.springframework : spring-test jar 4.1.3.RELEASE
org.eclipse.jetty : jetty-server jar 9.4.0.M0
org.testng : testng jar 6.1.1

Project Modules

There are no modules declared in this project.

metadata 元数据框架

spring + hibernate + groovy + report

how to use

Add dependency to your project

  <dependencies>
    <dependency>
      <groupId>com.github.mg365</groupId>
      <artifactId>mg-framework</artifactId>
      <version>1.0</version>
      <type>pom</type>
    </dependency>
    <dependency>
      <groupId>com.github.mg365</groupId>
      <artifactId>mg-entity</artifactId>
      <version>1.0</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>com.github.mg365</groupId>
      <artifactId>mg-fw</artifactId>
      <version>1.0</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>com.github.mg365</groupId>
      <artifactId>mg-common</artifactId>
      <version>1.0</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>com.github.mg365</groupId>
      <artifactId>mg-groovy</artifactId>
      <version>1.0</version>
      <type>jar</type>
    </dependency>
    <dependency>
      <groupId>com.github.mg365</groupId>
      <artifactId>mg-report</artifactId>
      <version>1.0</version>
      <type>jar</type>
    </dependency>
  </dependencies>
  

add plus for generate-sources

<plugins>
      <plugin>
        <groupId>com.mysema.maven</groupId>
        <artifactId>apt-maven-plugin</artifactId>
        <version>1.1.2</version>
        <executions>
          <execution>
            <id>querydsl-process</id>
            <!--<phase>clean</phase>-->
            <phase>generate-sources</phase>
            <goals>
              <goal>process</goal>
            </goals>
            <configuration>
              <outputDirectory>
                target/generated-sources/java
              </outputDirectory>
              <processor>
                com.mysema.query.apt.jpa.JPAAnnotationProcessor
              </processor>
              <!--<showWarnings>true</showWarnings>-->
              <logOnlyOnError>true</logOnlyOnError>
            </configuration>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>1.7</version>
        <executions>
          <execution>
            <id>add-source</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>add-source</goal>
            </goals>
            <configuration>
              <sources>
                <source>target/generated-sources/java</source>
              </sources>
            </configuration>
          </execution>
        </executions>
      </plugin>
  </plugins>

generator db sql

find the class "com.mg.common.tools.HibernateDDLGenerator"

debug or running the main method,The SQL statement will be entered at the console

Versions

Version
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0