Skip to content

Commit 1ce16d0

Browse files
committed
restore .vm usage lost in .xdoc to .md migration
this fixes Reproducible Builds issue
1 parent 35834c1 commit 1ce16d0

File tree

6 files changed

+10
-18
lines changed

6 files changed

+10
-18
lines changed

pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,6 @@
336336
<artifactId>maven-site-plugin</artifactId>
337337
<configuration>
338338
<locales>en,es,zh_CN,ja,ko</locales>
339-
<!-- Build using files that replace a placeholder using project properties -->
340-
<siteDirectory>${project.build.directory}/site-src</siteDirectory>
341339
</configuration>
342340
</plugin>
343341
</plugins>
@@ -354,12 +352,6 @@
354352
<resource>
355353
<directory>${project.basedir}/src/main/resources</directory>
356354
</resource>
357-
<!-- Copy for replacing a placeholder using project properties -->
358-
<resource>
359-
<directory>${project.basedir}/src/site</directory>
360-
<targetPath>${project.build.directory}/site-src</targetPath>
361-
<filtering>true</filtering>
362-
</resource>
363355
</resources>
364356
<testResources>
365357
<testResource>

src/site/es/markdown/getting-started.md renamed to src/site/es/markdown/getting-started.md.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Este capítulo te mostrará en pocos pasos cómo instalar y configurar MyBatis-Spring y cómo construir
55
una pequeña aplicación transaccional.
66

7-
## Instalación
7+
#[[##]]# Instalación
88

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

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

21-
## Configuración rápida
21+
#[[##]]# Configuración rápida
2222

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

src/site/ja/markdown/getting-started.md renamed to src/site/ja/markdown/getting-started.md.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

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

6-
## インストール
6+
#[[##]]# インストール
77

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

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

20-
## クイックセットアップ
20+
#[[##]]# クイックセットアップ
2121

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

src/site/ko/markdown/getting-started.md renamed to src/site/ko/markdown/getting-started.md.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

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

6-
## 설치
6+
#[[##]]# 설치
77

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

@@ -17,7 +17,7 @@
1717
</dependency>
1818
```
1919

20-
## 빠른 설정
20+
#[[##]]# 빠른 설정
2121

2222
마이바티스를 스프링과 함께 사용하려면 스프링의 애플리케이션 컨텍스트에 적어도 두개를 정의해줄 필요가 있다.
2323
두가지는 `SqlSessionFactory`와 한개 이상의 매퍼 인터페이스이다.

src/site/markdown/getting-started.md renamed to src/site/markdown/getting-started.md.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

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

6-
## Installation
6+
#[[##]]# Installation
77

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

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

20-
## Quick Setup
20+
#[[##]]# Quick Setup
2121

2222
To use MyBatis with Spring you need at least two things defined in the Spring application context:
2323
an `SqlSessionFactory` and at least one mapper interface.

src/site/zh/markdown/getting-started.md renamed to src/site/zh/markdown/getting-started.md.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

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

6-
## 安装
6+
#[[##]]# 安装
77

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

@@ -17,7 +17,7 @@
1717
</dependency>
1818
```
1919

20-
## 快速上手
20+
#[[##]]# 快速上手
2121

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

0 commit comments

Comments
 (0)