JPetStore Demo 6

The MyBatis parent POM.

License

License

Categories

Categories

MyBatis Data ORM
GroupId

GroupId

org.mybatis
ArtifactId

ArtifactId

jpetstore
Last Version

Last Version

6.0.2
Release Date

Release Date

Type

Type

war
Description

Description

JPetStore Demo 6
The MyBatis parent POM.
Project URL

Project URL

http://www.mybatis.org
Project Organization

Project Organization

MyBatis.org
Source Code Management

Source Code Management

http://github.com/mybatis/jpetstore-6

Download jpetstore

How to add to project

<!-- https://jarcasting.com/artifacts/org.mybatis/jpetstore/ -->
<dependency>
    <groupId>org.mybatis</groupId>
    <artifactId>jpetstore</artifactId>
    <version>6.0.2</version>
    <type>war</type>
</dependency>
// https://jarcasting.com/artifacts/org.mybatis/jpetstore/
implementation 'org.mybatis:jpetstore:6.0.2'
// https://jarcasting.com/artifacts/org.mybatis/jpetstore/
implementation ("org.mybatis:jpetstore:6.0.2")
'org.mybatis:jpetstore:war:6.0.2'
<dependency org="org.mybatis" name="jpetstore" rev="6.0.2">
  <artifact name="jpetstore" type="war" />
</dependency>
@Grapes(
@Grab(group='org.mybatis', module='jpetstore', version='6.0.2')
)
libraryDependencies += "org.mybatis" % "jpetstore" % "6.0.2"
[org.mybatis/jpetstore "6.0.2"]

Dependencies

compile (9)

Group / Artifact Type Version
ognl : ognl jar 3.1.12
org.mybatis : mybatis jar 3.4.1
org.mybatis : mybatis-spring jar 1.3.0
org.springframework : spring-jdbc jar 4.3.4.RELEASE
org.springframework : spring-web jar 4.3.4.RELEASE
net.sourceforge.stripes : stripes jar 1.6.0
javax.servlet : jstl jar 1.2
log4j : log4j jar 1.2.17
org.hsqldb : hsqldb jar 2.3.4

provided (1)

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

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-core jar 2.2.26

Project Modules

There are no modules declared in this project.

MyBatis JPetStore

Build Status Coverage Status License

mybatis-jpetstore

JPetStore 6 is a full web application built on top of MyBatis 3, Spring 5 and Stripes.

Essentials

Other versions that you may want to know about

Run on Application Server

Running JPetStore sample under Tomcat (using the cargo-maven2-plugin).

  • Clone this repository

    $ git clone https://github.com/mybatis/jpetstore-6.git
    
  • Build war file

    $ cd jpetstore-6
    $ ./mvnw clean package
    
  • Startup the Tomcat server and deploy web application

    $ ./mvnw cargo:run -P tomcat90
    

    Note:

    We provide maven profiles per application server as follow:

    Profile Description
    tomcat90 Running under the Tomcat 9.0
    tomcat85 Running under the Tomcat 8.5
    tomcat70 Running under the Tomcat 7.0
    tomee80 Running under the TomEE 8.0(Java EE 8)
    tomee71 Running under the TomEE 7.1(Java EE 7)
    wildfly20 Running under the WildFly 20(Java EE 8)
    wildfly13 Running under the WildFly 13(Java EE 7)
    liberty-ee8 Running under the WebSphere Liberty(Java EE 8)
    liberty-ee7 Running under the WebSphere Liberty(Java EE 7)
    jetty Running under the Jetty 9
    glassfish5 Running under the GlassFish 5(Java EE 8)
    glassfish4 Running under the GlassFish 4(Java EE 7)
    resin Running under the Resin 4
  • Run application in browser http://localhost:8080/jpetstore/

  • Press Ctrl-C to stop the server.

Try integration tests

Perform integration tests for screen transition.

$ ./mvnw clean verify -P tomcat90
org.mybatis

MyBatis

Versions

Version
6.0.2