回答編集履歴

1

pom.xmlを省略せずに記載

2018/03/07 15:40

投稿

nakazawaken1
nakazawaken1

スコア94

test CHANGED
@@ -2,9 +2,49 @@
2
2
 
3
3
 
4
4
 
5
- [pom.xml抜粋]
5
+ [pom.xml]
6
6
 
7
7
  ```xml
8
+
9
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10
+
11
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12
+
13
+ <modelVersion>4.0.0</modelVersion>
14
+
15
+ <groupId>...</groupId>
16
+
17
+ <artifactId>...</artifactId>
18
+
19
+ <version>0.0.1-SNAPSHOT</version>
20
+
21
+ <build>
22
+
23
+ <sourceDirectory>src</sourceDirectory>
24
+
25
+ <plugins>
26
+
27
+ <plugin>
28
+
29
+ <artifactId>maven-compiler-plugin</artifactId>
30
+
31
+ <version>3.7.0</version>
32
+
33
+ <configuration>
34
+
35
+ <source>9</source>
36
+
37
+ <target>9</target>
38
+
39
+ </configuration>
40
+
41
+ </plugin>
42
+
43
+ </plugins>
44
+
45
+ </build>
46
+
47
+ <dependencies>
8
48
 
9
49
  <dependency>
10
50
 
@@ -16,7 +56,9 @@
16
56
 
17
57
  </dependency>
18
58
 
59
+ </dependencies>
19
60
 
61
+ </project>
20
62
 
21
63
  ```
22
64
 
@@ -44,13 +86,13 @@
44
86
 
45
87
  return new ConfigurationBuilder()
46
88
 
47
- .setOAuthConsumerKey("aaa")
89
+ .setOAuthConsumerKey("...")
48
90
 
49
- .setOAuthConsumerSecret("bbb")
91
+ .setOAuthConsumerSecret("...")
50
92
 
51
- .setOAuthAccessToken("ccc")
93
+ .setOAuthAccessToken("...")
52
94
 
53
- .setOAuthAccessTokenSecret("ddd");
95
+ .setOAuthAccessTokenSecret("...");
54
96
 
55
97
  }
56
98