Skip to content

Commit b2376e6

Browse files
authored
mvn が極力 en で動作するよう変更 (#403)
* mvn が極力 en で動作するよう変更 * PASSPHRASEを設定するためのメソッドを追加。
1 parent 8c9e9d9 commit b2376e6

File tree

5 files changed

+36
-3
lines changed

5 files changed

+36
-3
lines changed

.mvn/jvm.config

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-Duser.language=en -Duser.country=US
2+
3+

MEMO-MVN-RELEASE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ mvn release:perform
3232
- Staging Repositories
3333
- Close
3434
- Release
35-
- `しばらく` 待つ
35+
- `しばらく` 待つ。目安は 60分
3636

3737
# MEMO
3838

pom.xml

+22-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
35
<modelVersion>4.0.0</modelVersion>
46
<groupId>jp.igapyon.oiyokan</groupId>
57
<artifactId>oiyokan</artifactId>
@@ -157,6 +159,13 @@
157159
<groupId>org.apache.maven.plugins</groupId>
158160
<artifactId>maven-surefire-plugin</artifactId>
159161
<version>3.0.0-M5</version>
162+
<configuration>
163+
<argLine>-Duser.language=en -Duser.region=US</argLine>
164+
<systemPropertyVariables>
165+
<user.language>en</user.language>
166+
<user.region>US</user.region>
167+
</systemPropertyVariables>
168+
</configuration>
160169
</plugin>
161170

162171
<!-- create sources.jar -->
@@ -174,6 +183,18 @@
174183
<groupId>org.apache.maven.plugins</groupId>
175184
<artifactId>maven-javadoc-plugin</artifactId>
176185
<version>3.2.0</version>
186+
<configuration>
187+
<additionalJOptions>
188+
<additionalJOption>-J-Duser.language=en</additionalJOption>
189+
<additionalJOption>-J-Duser.region=US</additionalJOption>
190+
</additionalJOptions>
191+
<locale>en</locale>
192+
<source>11</source>
193+
<show>protected</show>
194+
<encoding>UTF-8</encoding>
195+
<charset>UTF-8</charset>
196+
<docencoding>UTF-8</docencoding>
197+
</configuration>
177198
</plugin>
178199

179200
<!-- gpg -->

src/main/java/jp/oiyokan/OiyokanConstants.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class OiyokanConstants {
2727
/**
2828
* Oiyokan のバージョン番号
2929
*/
30-
public static final String VERSION = "1.11.20210503a";
30+
public static final String VERSION = "1.11.20210503h";
3131

3232
/**
3333
* 暗号化で利用するパスフレーズ。環境変数 OIYOKAN_PASSPHRASE で上書き動作。

src/main/java/jp/oiyokan/common/OiyoInfo.java

+9
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,13 @@ public String getPassphrase() {
6767

6868
return passphrase;
6969
}
70+
71+
/**
72+
* パスフレーズを設定。
73+
*
74+
* @param passphrase パスフレーズ.
75+
*/
76+
public void setPassphrase(String passphrase) {
77+
this.passphrase = passphrase;
78+
}
7079
}

0 commit comments

Comments
 (0)