forked from microsoft/botbuilder-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexec.patch
More file actions
127 lines (118 loc) · 4.43 KB
/
Copy pathexec.patch
File metadata and controls
127 lines (118 loc) · 4.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
diff --git a/libraries/bot-connector/pom.xml b/libraries/bot-connector/pom.xml
index a51605f..1f7188b 100644
--- a/libraries/bot-connector/pom.xml
+++ b/libraries/bot-connector/pom.xml
@@ -4,8 +4,15 @@
<groupId>com.microsoft.bot.connector</groupId>
<artifactId>bot-connector</artifactId>
- <version>4.0.0</version>
<packaging>jar</packaging>
+ <version>4.0.0</version>
+
+ <parent>
+ <groupId>com.microsoft.bot</groupId>
+ <artifactId>bot-parent</artifactId>
+ <version>4.0.0</version>
+ <relativePath>../../</relativePath>
+ </parent>
<name>bot-connector</name>
<url>http://maven.apache.org</url>
diff --git a/libraries/botbuilder-schema/pom.xml b/libraries/botbuilder-schema/pom.xml
index d58364f..9ca96e4 100644
--- a/libraries/botbuilder-schema/pom.xml
+++ b/libraries/botbuilder-schema/pom.xml
@@ -4,8 +4,15 @@
<groupId>com.microsoft.bot.schema</groupId>
<artifactId>botbuilder-schema</artifactId>
- <version>4.0.0</version>
<packaging>jar</packaging>
+ <version>4.0.0</version>
+
+ <parent>
+ <groupId>com.microsoft.bot</groupId>
+ <artifactId>bot-parent</artifactId>
+ <version>4.0.0</version>
+ <relativePath>../../</relativePath>
+ </parent>
<name>botbuilder-schema</name>
<url>http://maven.apache.org</url>
diff --git a/pom.xml b/pom.xml
index 5006517..f5a904f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,8 +12,8 @@
<url>https://github.com/Microsoft/botbuilder-java</url>
<modules>
- <module>./libraries/botbuilder-schema</module>
- <module>./libraries/bot-connector</module>
- <module>./samples/bot-connector-sample</module>
+ <module>libraries/botbuilder-schema</module>
+ <module>libraries/bot-connector</module>
+ <module>samples/bot-connector-sample</module>
</modules>
</project>
\ No newline at end of file
diff --git a/samples/bot-connector-sample/pom.xml b/samples/bot-connector-sample/pom.xml
index 74c896a..fc37670 100644
--- a/samples/bot-connector-sample/pom.xml
+++ b/samples/bot-connector-sample/pom.xml
@@ -4,8 +4,15 @@
<groupId>com.microsoft.bot.connector.sample</groupId>
<artifactId>bot-connector-sample</artifactId>
- <version>1.0.0</version>
<packaging>jar</packaging>
+ <version>1.0.0</version>
+
+ <parent>
+ <groupId>com.microsoft.bot</groupId>
+ <artifactId>bot-parent</artifactId>
+ <version>4.0.0</version>
+ <relativePath>../../</relativePath>
+ </parent>
<name>bot-connector-sample</name>
<url>http://maven.apache.org</url>
@@ -36,6 +43,16 @@
<artifactId>jackson-datatype-jsr310</artifactId>
<version>2.9.2</version>
</dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>LATEST</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-simple</artifactId>
+ <version>LATEST</version>
+ </dependency>
<dependency>
<groupId>com.microsoft.bot.schema</groupId>
<artifactId>botbuilder-schema</artifactId>
@@ -59,6 +76,14 @@
<target>1.8</target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.6.0</version>
+ <configuration>
+ <mainClass>com.microsoft.bot.connector.sample.App</mainClass>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/samples/bot-connector-sample/src/main/java/com/microsoft/bot/connector/sample/App.java b/samples/bot-connector-sample/src/main/java/com/microsoft/bot/connector/sample/App.java
index c0ef0ea..738c52c 100644
--- a/samples/bot-connector-sample/src/main/java/com/microsoft/bot/connector/sample/App.java
+++ b/samples/bot-connector-sample/src/main/java/com/microsoft/bot/connector/sample/App.java
@@ -24,8 +24,8 @@ import java.util.logging.Logger;
public class App {
private static final Logger LOGGER = Logger.getLogger( App.class.getName() );
- private static String appId = "<-- app id -->";
- private static String appPassword = "<-- app password -->";
+ private static String appId = "39619a59-5a0c-4f9b-87c5-816c648ff357"; // <-- app id -->
+ private static String appPassword = "b90er1BC2xp9Y5Exqwj8qwf"; // <-- app password -->
public static void main( String[] args ) throws IOException {
CredentialProvider credentialProvider = new CredentialProviderImpl(appId, appPassword);