Skip to content

Commit 6cf076a

Browse files
author
Neil Avery
authored
Merge pull request #1 from logscape/maven-switch
Maven switch
2 parents 7ec6d51 + e29771e commit 6cf076a

File tree

117 files changed

+1690
-3080
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+1690
-3080
lines changed

.circleci/config.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Java Maven CircleCI 2.0 configuration file
2+
#
3+
# Check https://circleci.com/docs/2.0/language-java/ for more details
4+
#
5+
version: 2
6+
jobs:
7+
build:
8+
docker:
9+
# specify the version you desire here
10+
- image: circleci/openjdk:8-jdk
11+
12+
# Specify service dependencies here if necessary
13+
# CircleCI maintains a library of pre-built images
14+
# documented at https://circleci.com/docs/2.0/circleci-images/
15+
# - image: circleci/postgres:9.4
16+
17+
working_directory: ~/repo
18+
19+
environment:
20+
# Customize the JVM maximum heap limit
21+
MAVEN_OPTS: -Xmx4096m
22+
23+
steps:
24+
- checkout
25+
26+
# Download and cache dependencies
27+
- restore_cache:
28+
keys:
29+
- v1-dependencies-{{ checksum "pom.xml" }}
30+
# fallback to using the latest cache if no exact match is found
31+
- v1-dependencies-
32+
33+
- run: mvn dependency:go-offline
34+
35+
- save_cache:
36+
paths:
37+
- ~/.m2
38+
key: v1-dependencies-{{ checksum "pom.xml" }}
39+
40+
# run tests!
41+
- run: mvn integration-test

boot/boot.iml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<SOURCES />
2727
</library>
2828
</orderEntry>
29+
<orderEntry type="library" name="all-libs" level="project" />
2930
</component>
3031
<component name="org.twodividedbyzero.idea.findbugs">
3132
<option name="_basePreferences">
@@ -220,5 +221,4 @@
220221
</map>
221222
</option>
222223
</component>
223-
</module>
224-
224+
</module>

boot/pom.xml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<groupId>com.logscape</groupId>
6+
<artifactId>boot</artifactId>
7+
<version>3.5.0-SNAPSHOT</version>
8+
9+
<parent>
10+
<groupId>com.logscape</groupId>
11+
<artifactId>parent</artifactId>
12+
<version>3.5.0-SNAPSHOT</version>
13+
</parent>
14+
15+
<build>
16+
<sourceDirectory>src</sourceDirectory>
17+
<resources>
18+
<resource>
19+
<directory>resources</directory>
20+
</resource>
21+
</resources>
22+
<testSourceDirectory>test</testSourceDirectory>
23+
<testResources>
24+
<testResource>
25+
<directory>test-data</directory>
26+
</testResource></testResources>
27+
<plugins>
28+
<plugin>
29+
<groupId>org.apache.maven.plugins</groupId>
30+
<artifactId>maven-compiler-plugin</artifactId>
31+
<configuration>
32+
<compilerArgs>
33+
<arg>-Xlint:all,-serial,-rawtypes</arg>
34+
<arg>-parameters</arg>
35+
<!-- <arg>-Werror</arg>-->
36+
</compilerArgs>
37+
</configuration>
38+
</plugin>
39+
40+
<plugin>
41+
<groupId>org.apache.maven.plugins</groupId>
42+
<artifactId>maven-jar-plugin</artifactId>
43+
<executions>
44+
<execution>
45+
<goals>
46+
<goal>test-jar</goal>
47+
</goals>
48+
</execution>
49+
</executions>
50+
</plugin>
51+
</plugins>
52+
53+
</build>
54+
</project>

0 commit comments

Comments
 (0)