Add script to build contract utils

This commit is contained in:
Dave Syer
2017-10-16 16:54:19 +01:00
parent eeadc829b9
commit 9d1eed6a82
4 changed files with 8 additions and 10 deletions

View File

@@ -114,17 +114,7 @@ following command:
The generated eclipse projects can be imported by selecting `import existing projects`
from the `file` menu.
==== Importing into Intellij
Spring Cloud projects need a specific version of Maven and a profile enabled.
Intellij 14.1+ requires some configuration to ensure these are setup properly.
1. Click New, Project from Existing Sources, choose your spring-cloud project directory
2. Choose Maven, and select Environment Settings. *Ensure you are using Maven 3.3.3*
3. In the next screen, *Select the profile `spring`* click Next until Finish.
4. Click Build, Rebuild Project, and you are ready to go!
==== Importing into other IDEs
Maven is well supported by most Java IDEs. Refer to you vendor documentation.
== Contributing

View File

@@ -9,6 +9,7 @@ machine:
_JAVA_OPTIONS: "-Xms1024m -Xmx2048m"
dependencies:
override:
- cd spring-cloud-netflix-hystrix-contract && ../mvnw clean install
- ./mvnw -s .settings.xml -U --fail-never dependency:go-offline || true
test:
override:

3
config/releaser.yml Normal file
View File

@@ -0,0 +1,3 @@
releaser:
maven:
buildCommand: ./scripts/build.sh

4
scripts/build.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
(cd spring-cloud-netflix-hystrix-contract && ./mvnw clean install)
./mvnw clean install