Browse Source

Add script to build contract utils

pull/6/head
Dave Syer 7 years ago
parent
commit
9d1eed6a82
  1. 10
      README.adoc
  2. 1
      circle.yml
  3. 3
      config/releaser.yml
  4. 4
      scripts/build.sh

10
README.adoc

@ -114,17 +114,7 @@ following command: @@ -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

1
circle.yml

@ -9,6 +9,7 @@ machine: @@ -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

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

4
scripts/build.sh

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