Skip to content

Commit

Permalink
restore .vm usage lost in .xdoc to .md migration
Browse files Browse the repository at this point in the history
this fixes Reproducible Builds issue
  • Loading branch information
hboutemy committed Nov 27, 2022
1 parent 35834c1 commit bd7f28e
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 18 deletions.
8 changes: 0 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,6 @@
<artifactId>maven-site-plugin</artifactId>
<configuration>
<locales>en,es,zh_CN,ja,ko</locales>
<!-- Build using files that replace a placeholder using project properties -->
<siteDirectory>${project.build.directory}/site-src</siteDirectory>
</configuration>
</plugin>
</plugins>
Expand All @@ -354,12 +352,6 @@
<resource>
<directory>${project.basedir}/src/main/resources</directory>
</resource>
<!-- Copy for replacing a placeholder using project properties -->
<resource>
<directory>${project.basedir}/src/site</directory>
<targetPath>${project.build.directory}/site-src</targetPath>
<filtering>true</filtering>
</resource>
</resources>
<testResources>
<testResource>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
#*
* Copyright 2010-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*#
<a name="Primeros_pasos"></a>
# Primeros pasos

Este capítulo te mostrará en pocos pasos cómo instalar y configurar MyBatis-Spring y cómo construir
una pequeña aplicación transaccional.

## Instalación
#[[##]]# Instalación

Para usar el módulo MyBatis-Spring, debes incluir el fichero `mybatis-spring-${project.version}.jar` y sus dependencias en el classpath.

Expand All @@ -18,7 +33,7 @@ Si usas Maven simplemente añade la siguiente dependencia a tu pom.xml:
</dependency>
```

## Configuración rápida
#[[##]]# Configuración rápida

Para usar MyBatis con Spring necesitas definir al menos dos cosas en tu contexto Spring: una `SqlSessionFactory` y al menos un mapper interface.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
#*
* Copyright 2010-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*#
<a name="スタートガイド"></a>
# スタートガイド

この章では、MyBatis-Spring のインストール・設定手順と、トランザクション処理を含むシンプルなアプリケーションの構築する方法について説明します。

## インストール
#[[##]]# インストール

MyBatis-Spring を使うためには、 `mybatis-spring-${project.version}.jar` と依存するライブラリをクラスパスに追加するだけで OK です。

Expand All @@ -17,7 +32,7 @@ Maven をお使いの場合は、 pom.xml に次の dependency を追加して
</dependency>
```

## クイックセットアップ
#[[##]]# クイックセットアップ

MyBatis と Spring を組み合わせて使う場合、Spring の Application Context 内に少なくとも `SqlSessionFactory` と一つ以上の Mapper インターフェイスを定義する必要があります。

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
#*
* Copyright 2010-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*#
<a name="시작하기"></a>
# 시작하기

이 장은 마이바티스 스프링 연동모듈을 설치하고 셋팅하는 방법에 대해 간단히 보여준다. 그리고 트랜잭션을 사용하는 간단한 애플리케이션을 만드는 방법까지 다룰 것이다.

## 설치
#[[##]]# 설치

마이바티스 스프링 연동모듈을 사용하기 위해서, 클래스패스에 `mybatis-spring-${project.version}.jar`를 포함시켜야 한다.

Expand All @@ -17,7 +32,7 @@
</dependency>
```

## 빠른 설정
#[[##]]# 빠른 설정

마이바티스를 스프링과 함께 사용하려면 스프링의 애플리케이션 컨텍스트에 적어도 두개를 정의해줄 필요가 있다.
두가지는 `SqlSessionFactory`와 한개 이상의 매퍼 인터페이스이다.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
#*
* Copyright 2010-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*#
<a name="Getting_Started"></a>
# Getting Started

This chapter will show you in a few steps how to install and setup MyBatis-Spring and how to build a simple transactional application.

## Installation
#[[##]]# Installation

To use the MyBatis-Spring module, you just need to include the `mybatis-spring-${project.version}.jar` file and its dependencies in the classpath.

Expand All @@ -17,7 +32,7 @@ If you are using Maven just add the following dependency to your pom.xml:
</dependency>
```

## Quick Setup
#[[##]]# Quick Setup

To use MyBatis with Spring you need at least two things defined in the Spring application context:
an `SqlSessionFactory` and at least one mapper interface.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
#*
* Copyright 2010-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*#
<a name="入门"></a>
# 入门

本章将会以简略的步骤告诉你如何安装和配置 MyBatis-Spring,并构建一个简单的具备事务管理功能的数据访问应用程序。

## 安装
#[[##]]# 安装

要使用 MyBatis-Spring 模块,只需要在类路径下包含 `mybatis-spring-${project.version}.jar` 文件和相关依赖即可。

Expand All @@ -17,7 +32,7 @@
</dependency>
```

## 快速上手
#[[##]]# 快速上手

要和 Spring 一起使用 MyBatis,需要在 Spring 应用上下文中定义至少两样东西:一个 `SqlSessionFactory` 和至少一个数据映射器类。

Expand Down

0 comments on commit bd7f28e

Please sign in to comment.