Skip to content

Commit 5494807

Browse files
author
Lloyd Watkin
committed
Travis uses mvn 3.1.0 which has a backwards-compatibility break with 3.0.0
(semantic versioning FTW!) This breaks the additional jar file copying plugin, although there is a fix on the way evgeny-goldin/maven-plugins#10 So in the meantime we'll just use a separate pom file without the plugin
1 parent 248a7b6 commit 5494807

2 files changed

Lines changed: 230 additions & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: java
2-
install: mvn install --quiet -DskipTests=true
2+
script: mvn -s pom-travis.xml test
33
jdk:
44
- oraclejdk7
55
- openjdk6

pom-travis.xml

Lines changed: 229 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,229 @@
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">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>org.buddycloud</groupId>
5+
<artifactId>channelserver</artifactId>
6+
<packaging>jar</packaging>
7+
<version>0.13.3-SNAPSHOT</version>
8+
<name>Buddycloud Java Server</name>
9+
<scm>
10+
<url>https://github.com/buddycloud/buddycloud-server-java</url>
11+
</scm>
12+
<dependencies>
13+
<dependency>
14+
<groupId>junit</groupId>
15+
<artifactId>junit</artifactId>
16+
<version>4.8.1</version>
17+
<scope>test</scope>
18+
</dependency>
19+
<dependency>
20+
<groupId>commons-io</groupId>
21+
<artifactId>commons-io</artifactId>
22+
<version>1.4</version>
23+
</dependency>
24+
<dependency>
25+
<groupId>com.googlecode.concurrentlinkedhashmap</groupId>
26+
<artifactId>concurrentlinkedhashmap-lru</artifactId>
27+
<version>1.2</version>
28+
</dependency>
29+
<dependency>
30+
<groupId>postgresql</groupId>
31+
<artifactId>postgresql</artifactId>
32+
<version>9.1-901.jdbc4</version>
33+
</dependency>
34+
<dependency>
35+
<groupId>dom4j</groupId>
36+
<artifactId>dom4j</artifactId>
37+
<version>1.6.1</version>
38+
</dependency>
39+
<dependency>
40+
<groupId>jaxen</groupId>
41+
<artifactId>jaxen</artifactId>
42+
<version>1.1.3</version>
43+
<exclusions>
44+
<exclusion>
45+
<artifactId>maven-cobertura-plugin</artifactId>
46+
<groupId>maven-plugins</groupId>
47+
</exclusion>
48+
<exclusion>
49+
<artifactId>maven-findbugs-plugin</artifactId>
50+
<groupId>maven-plugins</groupId>
51+
</exclusion>
52+
</exclusions>
53+
</dependency>
54+
<dependency>
55+
<groupId>log4j</groupId>
56+
<artifactId>log4j</artifactId>
57+
<version>1.2.16</version>
58+
</dependency>
59+
<dependency>
60+
<groupId>org.slf4j</groupId>
61+
<artifactId>slf4j-api</artifactId>
62+
<version>1.5.8</version>
63+
</dependency>
64+
<dependency>
65+
<groupId>org.slf4j</groupId>
66+
<artifactId>slf4j-log4j12</artifactId>
67+
<version>1.5.8</version>
68+
</dependency>
69+
<dependency>
70+
<groupId>xmlunit</groupId>
71+
<artifactId>xmlunit</artifactId>
72+
<version>1.3</version>
73+
</dependency>
74+
<dependency>
75+
<groupId>xpp3</groupId>
76+
<artifactId>xpp3</artifactId>
77+
<version>1.1.4c</version>
78+
</dependency>
79+
<dependency>
80+
<groupId>org.igniterealtime</groupId>
81+
<artifactId>tinder</artifactId>
82+
<version>1.2.2</version>
83+
</dependency>
84+
<dependency>
85+
<groupId>org.jivesoftware</groupId>
86+
<artifactId>whack</artifactId>
87+
<version>1.0.0</version>
88+
</dependency>
89+
<dependency>
90+
<groupId>org.mockito</groupId>
91+
<artifactId>mockito-all</artifactId>
92+
<version>1.9.0</version>
93+
<scope>test</scope>
94+
</dependency>
95+
<dependency>
96+
<groupId>org.hsqldb</groupId>
97+
<artifactId>hsqldb</artifactId>
98+
<version>2.2.8</version>
99+
</dependency>
100+
<dependency>
101+
<groupId>commons-collections</groupId>
102+
<artifactId>commons-collections</artifactId>
103+
<version>3.2.1</version>
104+
</dependency>
105+
<dependency>
106+
<groupId>nl.jqno.equalsverifier</groupId>
107+
<artifactId>equalsverifier</artifactId>
108+
<version>1.1.3</version>
109+
<scope>test</scope>
110+
</dependency>
111+
<dependency>
112+
<groupId>proxool</groupId>
113+
<artifactId>proxool</artifactId>
114+
<version>0.8.3</version>
115+
</dependency>
116+
<dependency>
117+
<groupId>commons-lang</groupId>
118+
<artifactId>commons-lang</artifactId>
119+
<version>2.6</version>
120+
</dependency>
121+
<dependency>
122+
<groupId>org.lazyluke</groupId>
123+
<artifactId>log4jdbc-remix</artifactId>
124+
<version>0.2.3</version>
125+
</dependency>
126+
<dependency>
127+
<groupId>joda-time</groupId>
128+
<artifactId>joda-time</artifactId>
129+
<version>2.3</version>
130+
</dependency>
131+
</dependencies>
132+
<repositories>
133+
<repository>
134+
<id>project.local</id>
135+
<name>project</name>
136+
<url>file:${project.basedir}/repo</url>
137+
</repository>
138+
</repositories>
139+
<build>
140+
<plugins>
141+
<plugin>
142+
<!-- Extended Maven antrun plugin -->
143+
<!-- https://maven-antrun-extended-plugin.dev.java.net/ -->
144+
<groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
145+
<artifactId>maven-antrun-extended-plugin</artifactId>
146+
<executions>
147+
<execution>
148+
<id>test-reports</id>
149+
<phase>test</phase>
150+
<configuration>
151+
<tasks unless="maven.test.skip">
152+
<junitreport todir="target/surefire-reports">
153+
<fileset dir="target/surefire-reports">
154+
<include name="**/*.xml"/>
155+
</fileset>
156+
<report format="noframes" todir="target/surefire-reports"/>
157+
</junitreport>
158+
</tasks>
159+
</configuration>
160+
<goals>
161+
<goal>run</goal>
162+
</goals>
163+
</execution>
164+
</executions>
165+
<dependencies>
166+
<dependency>
167+
<groupId>org.apache.ant</groupId>
168+
<artifactId>ant-junit</artifactId>
169+
<version>1.8.0</version>
170+
</dependency>
171+
<dependency>
172+
<groupId>org.apache.ant</groupId>
173+
<artifactId>ant-trax</artifactId>
174+
<version>1.8.0</version>
175+
</dependency>
176+
</dependencies>
177+
</plugin>
178+
<plugin>
179+
<groupId>org.apache.maven.plugins</groupId>
180+
<artifactId>maven-surefire-plugin</artifactId>
181+
<version>2.5</version>
182+
<configuration>
183+
<skipTests>false</skipTests>
184+
<testFailureIgnore>true</testFailureIgnore>
185+
<forkMode>once</forkMode>
186+
<includes>
187+
<include>**/*Test.java</include>
188+
</includes>
189+
<useFile>false</useFile>
190+
</configuration>
191+
</plugin>
192+
<plugin>
193+
<groupId>org.apache.maven.plugins</groupId>
194+
<artifactId>maven-compiler-plugin</artifactId>
195+
<version>2.5.1</version>
196+
<configuration>
197+
<source>1.6</source>
198+
<target>1.6</target>
199+
</configuration>
200+
</plugin>
201+
<plugin>
202+
<artifactId>maven-assembly-plugin</artifactId>
203+
<configuration>
204+
<archive>
205+
<manifest>
206+
<mainClass>org.buddycloud.channelserver.Main</mainClass>
207+
</manifest>
208+
</archive>
209+
<descriptorRefs>
210+
<descriptorRef>${project.build.withDependencies}</descriptorRef>
211+
</descriptorRefs>
212+
</configuration>
213+
<executions>
214+
<execution>
215+
<id>jar-with-dependencies</id>
216+
<phase>package</phase>
217+
<goals>
218+
<goal>single</goal>
219+
</goals>
220+
</execution>
221+
</executions>
222+
</plugin>
223+
</plugins>
224+
</build>
225+
<properties>
226+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
227+
<project.build.withDependencies>jar-with-dependencies</project.build.withDependencies>
228+
</properties>
229+
</project>

0 commit comments

Comments
 (0)