27
27
<artifactId >okra-core</artifactId >
28
28
<packaging >jar</packaging >
29
29
30
+ <properties >
31
+ <maven .compiler.source>1.8</maven .compiler.source>
32
+ <maven .compiler.target>1.8</maven .compiler.target>
33
+ </properties >
34
+
35
+ <issueManagement >
36
+ <system >Github Issue</system >
37
+ <url >https://github.com/ogcs/Okra/issues</url >
38
+ </issueManagement >
39
+ <licenses >
40
+ <license >
41
+ <name >The Apache Software License, Version 2.0</name >
42
+ <url >http://apache.org/licenses/LICENSE-2.0.txt</url >
43
+ </license >
44
+ </licenses >
45
+ <developers >
46
+ <developer >
47
+ <name >TinyZ.</name >
48
+
49
+ </developer >
50
+ </developers >
51
+
52
+ <build >
53
+ <plugins >
54
+ <!-- 设置源文件编码方式 -->
55
+ <plugin >
56
+ <groupId >org.apache.maven.plugins</groupId >
57
+ <artifactId >maven-compiler-plugin</artifactId >
58
+ <!-- <configuration>
59
+ <defaultLibBundleDir>lib</defaultLibBundleDir>
60
+ <source>1.8</source>
61
+ <target>1.8</target>
62
+ <encoding>UTF-8</encoding>
63
+ </configuration>-->
64
+ </plugin >
65
+ <!-- 打包jar文件时,配置manifest文件,加入lib包的jar依赖 -->
66
+ <plugin >
67
+ <groupId >org.apache.maven.plugins</groupId >
68
+ <artifactId >maven-jar-plugin</artifactId >
69
+ <version >3.0.2</version >
70
+ <!-- <configuration>
71
+ <archive>
72
+ <manifest>
73
+ <addClasspath>true</addClasspath>
74
+ <classpathPrefix>lib/</classpathPrefix>
75
+ <mainClass>com.sysware.HelloWorld</mainClass>
76
+ </manifest>
77
+ </archive>
78
+ </configuration>-->
79
+ </plugin >
80
+ <!-- 拷贝依赖的jar包到lib目录 -->
81
+ <plugin >
82
+ <groupId >org.apache.maven.plugins</groupId >
83
+ <artifactId >maven-dependency-plugin</artifactId >
84
+ <executions >
85
+ <execution >
86
+ <id >copy</id >
87
+ <phase >package</phase >
88
+ <goals >
89
+ <goal >copy-dependencies</goal >
90
+ </goals >
91
+ <configuration >
92
+ <outputDirectory >${project.build.directory} /lib</outputDirectory >
93
+ </configuration >
94
+ </execution >
95
+ </executions >
96
+ </plugin >
97
+ <!-- 解决资源文件的编码问题 -->
98
+ <plugin >
99
+ <groupId >org.apache.maven.plugins</groupId >
100
+ <artifactId >maven-resources-plugin</artifactId >
101
+ <version >2.4</version >
102
+ <configuration >
103
+ <encoding >UTF-8</encoding >
104
+ </configuration >
105
+ </plugin >
106
+ <!-- 打包source文件为jar文件(源码,可选) -->
107
+ <plugin >
108
+ <artifactId >maven-source-plugin</artifactId >
109
+ <version >2.2.1</version >
110
+ <configuration >
111
+ <attach >true</attach >
112
+ <!-- <encoding>UTF-8</encoding>-->
113
+ </configuration >
114
+ <executions >
115
+ <execution >
116
+ <phase >compile</phase >
117
+ <goals >
118
+ <goal >jar</goal >
119
+ </goals >
120
+ </execution >
121
+ </executions >
122
+ </plugin >
123
+ </plugins >
124
+ </build >
125
+
30
126
<dependencies >
31
127
<dependency >
32
128
<groupId >io.netty</groupId >
44
140
<groupId >org.apache.logging.log4j</groupId >
45
141
<artifactId >log4j-api</artifactId >
46
142
</dependency >
143
+ <dependency >
144
+ <groupId >org.apache.flex.blazeds</groupId >
145
+ <artifactId >flex-messaging-core</artifactId >
146
+ <version >4.7.2</version >
147
+ </dependency >
148
+ <dependency >
149
+ <groupId >org.apache.flex.blazeds</groupId >
150
+ <artifactId >flex-messaging-common</artifactId >
151
+ <version >4.7.2</version >
152
+ </dependency >
47
153
</dependencies >
48
154
49
155
</project >
0 commit comments