Skip to content

Commit bd7f28e

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

File tree

6 files changed

+85
-18
lines changed

6 files changed

+85
-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: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
1+
#*
2+
* Copyright 2010-2022 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*#
116
<a name="Primeros_pasos"></a>
217
# Primeros pasos
318

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

7-
## Instalación
22+
#[[##]]# Instalación
823

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

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

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

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

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

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
1+
#*
2+
* Copyright 2010-2022 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*#
116
<a name="スタートガイド"></a>
217
# スタートガイド
318

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

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

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

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

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

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

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

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
1+
#*
2+
* Copyright 2010-2022 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*#
116
<a name="시작하기"></a>
217
# 시작하기
318

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

6-
## 설치
21+
#[[##]]# 설치
722

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

@@ -17,7 +32,7 @@
1732
</dependency>
1833
```
1934

20-
## 빠른 설정
35+
#[[##]]# 빠른 설정
2136

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

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

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
1+
#*
2+
* Copyright 2010-2022 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*#
116
<a name="Getting_Started"></a>
217
# Getting Started
318

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

6-
## Installation
21+
#[[##]]# Installation
722

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

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

20-
## Quick Setup
35+
#[[##]]# Quick Setup
2136

2237
To use MyBatis with Spring you need at least two things defined in the Spring application context:
2338
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: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
1+
#*
2+
* Copyright 2010-2022 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*#
116
<a name="入门"></a>
217
# 入门
318

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

6-
## 安装
21+
#[[##]]# 安装
722

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

@@ -17,7 +32,7 @@
1732
</dependency>
1833
```
1934

20-
## 快速上手
35+
#[[##]]# 快速上手
2136

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

0 commit comments

Comments
 (0)