File tree 9 files changed +16
-31
lines changed
src/test/java/io/mosn/layotto/examples
9 files changed +16
-31
lines changed Original file line number Diff line number Diff line change @@ -75,9 +75,9 @@ mvn clean install
75
75
76
76
#### 第三步:运行java sdk示例
77
77
通过以下Examples示例来了解如何使用SDK:
78
- * [ Hello world] ( ./examples/src/main /java/io/mosn/layotto/examples/helloworld )
79
- * [ State management] ( ./examples/src/main /java/io/mosn/layotto/examples/state )
80
- * [ Pubsub API] ( ./examples/src/main /java/io/mosn/layotto/examples/pubsub )
78
+ * [ Hello world] ( ./examples/src/test /java/io/mosn/layotto/examples/helloworld )
79
+ * [ State management] ( ./examples/src/test /java/io/mosn/layotto/examples/state )
80
+ * [ Pubsub API] ( ./examples/src/test /java/io/mosn/layotto/examples/pubsub )
81
81
82
82
## java sdk开发指南
83
83
### java sdk职责
Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ mvn clean install
46
46
47
47
48
48
Try the following examples to learn more about this SDK:
49
- * [ Hello world] ( ./examples/src/main /java/io/mosn/layotto/examples/helloworld )
50
- * [ State management] ( ./examples/src/main /java/io/mosn/layotto/examples/state )
51
- * [ Pubsub API] ( ./examples/src/main /java/io/mosn/layotto/examples/pubsub )
49
+ * [ Hello world] ( ./examples/src/test /java/io/mosn/layotto/examples/helloworld )
50
+ * [ State management] ( ./examples/src/test /java/io/mosn/layotto/examples/state )
51
+ * [ Pubsub API] ( ./examples/src/test /java/io/mosn/layotto/examples/pubsub )
52
52
53
53
## java sdk developer guide
54
54
### How to format java sdk code
Original file line number Diff line number Diff line change 12
12
13
13
<artifactId >examples</artifactId >
14
14
15
-
16
- <properties >
17
- <!-- Build args -->
18
- <module .install.skip>true</module .install.skip>
19
- <module .deploy.skip>true</module .deploy.skip>
20
- </properties >
21
-
22
15
<dependencies >
23
16
<dependency >
24
17
<groupId >io.mosn.layotto</groupId >
51
44
<plugins >
52
45
<plugin >
53
46
<groupId >org.apache.maven.plugins</groupId >
54
- <artifactId >maven-install-plugin</artifactId >
55
- <configuration >
56
- <skip >${module.install.skip} </skip >
57
- </configuration >
58
- </plugin >
59
- <plugin >
60
- <groupId >org.apache.maven.plugins</groupId >
61
- <artifactId >maven-deploy-plugin</artifactId >
62
- <configuration >
63
- <skip >${module.deploy.skip} </skip >
64
- </configuration >
65
- </plugin >
66
- <plugin >
67
- <groupId >org.apache.maven.plugins</groupId >
68
- <artifactId >maven-surefire-plugin</artifactId >
69
- <configuration >
70
- <skipTests >true</skipTests >
71
- </configuration >
47
+ <artifactId >maven-source-plugin</artifactId >
48
+ <version >3.0.1</version >
49
+ <executions >
50
+ <execution >
51
+ <id >attach-sources</id >
52
+ <goals >
53
+ <goal >jar</goal >
54
+ </goals >
55
+ </execution >
56
+ </executions >
72
57
</plugin >
73
58
</plugins >
74
59
</build >
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments