|
1 | 1 | <?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 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 4 | <modelVersion>4.0.0</modelVersion> |
4 | 5 | <groupId>org.buddycloud</groupId> |
5 | 6 | <artifactId>channelserver</artifactId> |
|
11 | 12 | </scm> |
12 | 13 | <dependencies> |
13 | 14 | <dependency> |
14 | | - <groupId>org.xbill</groupId> |
15 | | - <artifactId>dnsjava</artifactId> |
16 | | - <version>2.1.6</version> |
| 15 | + <groupId>org.xbill</groupId> |
| 16 | + <artifactId>dnsjava</artifactId> |
| 17 | + <version>2.1.6</version> |
17 | 18 | </dependency> |
18 | 19 | <dependency> |
19 | 20 | <groupId>junit</groupId> |
|
98 | 99 | <scope>test</scope> |
99 | 100 | </dependency> |
100 | 101 | <dependency> |
101 | | - <groupId>org.hsqldb</groupId> |
102 | | - <artifactId>hsqldb</artifactId> |
103 | | - <version>2.2.8</version> |
| 102 | + <groupId>org.hsqldb</groupId> |
| 103 | + <artifactId>hsqldb</artifactId> |
| 104 | + <version>2.2.8</version> |
104 | 105 | </dependency> |
105 | 106 | <dependency> |
106 | | - <groupId>commons-collections</groupId> |
107 | | - <artifactId>commons-collections</artifactId> |
108 | | - <version>3.2.1</version> |
| 107 | + <groupId>commons-collections</groupId> |
| 108 | + <artifactId>commons-collections</artifactId> |
| 109 | + <version>3.2.1</version> |
109 | 110 | </dependency> |
110 | 111 | <dependency> |
111 | | - <groupId>nl.jqno.equalsverifier</groupId> |
112 | | - <artifactId>equalsverifier</artifactId> |
113 | | - <version>1.1.3</version> |
114 | | - <scope>test</scope> |
| 112 | + <groupId>nl.jqno.equalsverifier</groupId> |
| 113 | + <artifactId>equalsverifier</artifactId> |
| 114 | + <version>1.1.3</version> |
| 115 | + <scope>test</scope> |
115 | 116 | </dependency> |
116 | 117 | <dependency> |
117 | | - <groupId>proxool</groupId> |
118 | | - <artifactId>proxool</artifactId> |
119 | | - <version>0.8.3</version> |
| 118 | + <groupId>proxool</groupId> |
| 119 | + <artifactId>proxool</artifactId> |
| 120 | + <version>0.8.3</version> |
120 | 121 | </dependency> |
121 | 122 | <dependency> |
122 | | - <groupId>commons-lang</groupId> |
123 | | - <artifactId>commons-lang</artifactId> |
124 | | - <version>2.6</version> |
| 123 | + <groupId>commons-lang</groupId> |
| 124 | + <artifactId>commons-lang</artifactId> |
| 125 | + <version>2.6</version> |
125 | 126 | </dependency> |
126 | 127 | <dependency> |
127 | 128 | <groupId>org.lazyluke</groupId> |
128 | 129 | <artifactId>log4jdbc-remix</artifactId> |
129 | 130 | <version>0.2.3</version> |
130 | | - </dependency> |
131 | | - <dependency> |
| 131 | + </dependency> |
| 132 | + <dependency> |
132 | 133 | <groupId>joda-time</groupId> |
133 | 134 | <artifactId>joda-time</artifactId> |
134 | 135 | <version>2.3</version> |
135 | | - </dependency> |
| 136 | + </dependency> |
136 | 137 | <dependency> |
137 | 138 | <groupId>net.xeoh</groupId> |
138 | 139 | <artifactId>jspf.core</artifactId> |
|
146 | 147 | <url>file:${project.basedir}/repo</url> |
147 | 148 | </repository> |
148 | 149 | </repositories> |
149 | | - <pluginRepositories> |
150 | | - <pluginRepository> |
151 | | - <id>evgenyg</id> |
152 | | - <name>Evgeny Goldin repo</name> |
153 | | - <url>http://evgenyg.artifactoryonline.com/evgenyg/repo/com/github/goldin/</url> |
154 | | - </pluginRepository> |
155 | | - </pluginRepositories> |
156 | 150 | <build> |
157 | | - <plugins> |
158 | | - <plugin> |
159 | | - <!-- Extended Maven antrun plugin --> |
160 | | - <!-- https://maven-antrun-extended-plugin.dev.java.net/ --> |
161 | | - <groupId>org.jvnet.maven-antrun-extended-plugin</groupId> |
162 | | - <artifactId>maven-antrun-extended-plugin</artifactId> |
163 | | - <executions> |
164 | | - <execution> |
| 151 | + <plugins> |
| 152 | + <plugin> |
| 153 | + <!-- Extended Maven antrun plugin --> |
| 154 | + <!-- https://maven-antrun-extended-plugin.dev.java.net/ --> |
| 155 | + <groupId>org.jvnet.maven-antrun-extended-plugin</groupId> |
| 156 | + <artifactId>maven-antrun-extended-plugin</artifactId> |
| 157 | + <executions> |
| 158 | + <execution> |
165 | 159 | <id>test-reports</id> |
166 | 160 | <phase>test</phase> |
167 | 161 | <configuration> |
168 | | - <tasks unless="maven.test.skip"> |
169 | | - <junitreport todir="target/surefire-reports"> |
170 | | - <fileset dir="target/surefire-reports"> |
171 | | - <include name="**/*.xml"/> |
172 | | - </fileset> |
173 | | - <report format="noframes" todir="target/surefire-reports"/> |
174 | | - </junitreport> |
175 | | - </tasks> |
| 162 | + <tasks unless="maven.test.skip"> |
| 163 | + <junitreport todir="target/surefire-reports"> |
| 164 | + <fileset dir="target/surefire-reports"> |
| 165 | + <include name="**/*.xml" /> |
| 166 | + </fileset> |
| 167 | + <report format="noframes" |
| 168 | + todir="target/surefire-reports" /> |
| 169 | + </junitreport> |
| 170 | + </tasks> |
176 | 171 | </configuration> |
177 | 172 | <goals> |
178 | | - <goal>run</goal> |
| 173 | + <goal>run</goal> |
179 | 174 | </goals> |
180 | | - </execution> |
181 | | - </executions> |
182 | | - <dependencies> |
183 | | - <dependency> |
| 175 | + </execution> |
| 176 | + </executions> |
| 177 | + <dependencies> |
| 178 | + <dependency> |
184 | 179 | <groupId>org.apache.ant</groupId> |
185 | 180 | <artifactId>ant-junit</artifactId> |
186 | 181 | <version>1.8.0</version> |
187 | | - </dependency> |
188 | | - <dependency> |
| 182 | + </dependency> |
| 183 | + <dependency> |
189 | 184 | <groupId>org.apache.ant</groupId> |
190 | 185 | <artifactId>ant-trax</artifactId> |
191 | 186 | <version>1.8.0</version> |
192 | | - </dependency> |
193 | | - </dependencies> |
194 | | - </plugin> |
195 | | - <plugin> |
196 | | - <groupId>org.apache.maven.plugins</groupId> |
197 | | - <artifactId>maven-surefire-plugin</artifactId> |
198 | | - <version>2.5</version> |
199 | | - <configuration> |
200 | | - <argLine>-Duser.timezone=UTC -XX:MaxPermSize=1024m -Xmx1024m</argLine> |
201 | | - <skipTests>false</skipTests> |
202 | | - <testFailureIgnore>true</testFailureIgnore> |
203 | | - <forkMode>once</forkMode> |
204 | | - <includes> |
205 | | - <include>**/*Test.java</include> |
206 | | - </includes> |
207 | | - <useFile>false</useFile> |
208 | | - </configuration> |
209 | | - </plugin> |
210 | | - <plugin> |
211 | | - <groupId>org.apache.maven.plugins</groupId> |
212 | | - <artifactId>maven-compiler-plugin</artifactId> |
213 | | - <version>2.5.1</version> |
214 | | - <configuration> |
215 | | - <source>1.6</source> |
216 | | - <target>1.6</target> |
217 | | - </configuration> |
218 | | - </plugin> |
219 | | - <plugin> |
220 | | - <artifactId>maven-assembly-plugin</artifactId> |
221 | | - <configuration> |
222 | | - <archive> |
223 | | - <manifest> |
224 | | - <mainClass>org.buddycloud.channelserver.Main</mainClass> |
225 | | - </manifest> |
226 | | - </archive> |
227 | | - <descriptorRefs> |
228 | | - <descriptorRef>${project.build.withDependencies}</descriptorRef> |
229 | | - </descriptorRefs> |
230 | | - </configuration> |
231 | | - <executions> |
232 | | - <execution> |
233 | | - <id>jar-with-dependencies</id> |
234 | | - <phase>package</phase> |
235 | | - <goals> |
236 | | - <goal>single</goal> |
237 | | - </goals> |
238 | | - </execution> |
239 | | - </executions> |
240 | | - </plugin> |
241 | | - <plugin> |
242 | | - <groupId>com.github.goldin</groupId> |
243 | | - <artifactId>copy-maven-plugin</artifactId> |
244 | | - <version>0.2.5</version> |
245 | | - <executions> |
| 187 | + </dependency> |
| 188 | + </dependencies> |
| 189 | + </plugin> |
| 190 | + <plugin> |
| 191 | + <groupId>org.apache.maven.plugins</groupId> |
| 192 | + <artifactId>maven-surefire-plugin</artifactId> |
| 193 | + <version>2.5</version> |
| 194 | + <configuration> |
| 195 | + <argLine>-Duser.timezone=UTC -XX:MaxPermSize=1024m -Xmx1024m</argLine> |
| 196 | + <skipTests>false</skipTests> |
| 197 | + <testFailureIgnore>true</testFailureIgnore> |
| 198 | + <forkMode>once</forkMode> |
| 199 | + <includes> |
| 200 | + <include>**/*Test.java</include> |
| 201 | + </includes> |
| 202 | + <useFile>false</useFile> |
| 203 | + </configuration> |
| 204 | + </plugin> |
| 205 | + <plugin> |
| 206 | + <groupId>org.apache.maven.plugins</groupId> |
| 207 | + <artifactId>maven-compiler-plugin</artifactId> |
| 208 | + <version>2.5.1</version> |
| 209 | + <configuration> |
| 210 | + <source>1.6</source> |
| 211 | + <target>1.6</target> |
| 212 | + </configuration> |
| 213 | + </plugin> |
| 214 | + <plugin> |
| 215 | + <groupId>org.apache.maven.plugins</groupId> |
| 216 | + <artifactId>maven-shade-plugin</artifactId> |
| 217 | + <version>2.3</version> |
| 218 | + <configuration> |
| 219 | + <outputFile>${project.build.directory}/${project.build.finalName}-${project.build.withDependencies}.jar</outputFile> |
| 220 | + <transformers> |
| 221 | + <transformer |
| 222 | + implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 223 | + <mainClass>org.buddycloud.channelserver.Main</mainClass> |
| 224 | + </transformer> |
| 225 | + </transformers> |
| 226 | + </configuration> |
| 227 | + <executions> |
246 | 228 | <execution> |
247 | | - <id>create-archive</id> |
248 | | - <phase>package</phase> |
249 | | - <goals> |
250 | | - <goal>copy</goal> |
251 | | - </goals> |
252 | | - <configuration> |
253 | | - <resources> |
254 | | - <resource> |
255 | | - <targetPath>${project.build.directory}</targetPath> |
256 | | - <file>target/${project.build.finalName}.jar</file> |
257 | | - <destFileName>${project.artifactId}.jar</destFileName> |
258 | | - </resource> |
259 | | - <resource> |
260 | | - <targetPath>${project.build.directory}</targetPath> |
261 | | - <file>${project.build.directory}/${project.build.finalName}-${project.build.withDependencies}.jar</file> |
262 | | - <destFileName>${project.artifactId}-${project.build.withDependencies}.jar</destFileName> |
263 | | - </resource> |
264 | | - </resources> |
265 | | - </configuration> |
| 229 | + <phase>package</phase> |
| 230 | + <goals> |
| 231 | + <goal>shade</goal> |
| 232 | + </goals> |
266 | 233 | </execution> |
267 | | - </executions> |
268 | | - </plugin> |
269 | | - </plugins> |
| 234 | + </executions> |
| 235 | + </plugin> |
| 236 | + </plugins> |
270 | 237 | </build> |
271 | 238 | <properties> |
272 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
273 | | - <project.build.withDependencies>jar-with-dependencies</project.build.withDependencies> |
| 239 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 240 | + <project.build.withDependencies>jar-with-dependencies</project.build.withDependencies> |
274 | 241 | </properties> |
275 | 242 | </project> |
0 commit comments