Update SNAPSHOT to 1.0.1.RELEASE
This commit is contained in:
28
README.adoc
28
README.adoc
@@ -29,13 +29,15 @@ See the http://zookeeper.apache.org[Zookeeper site] for more information. Sprin
|
||||
2. http://zookeeper.apache.org/doc/current/zookeeperStarted.html#sc_InstallingSingleMode[Start zookeeper].
|
||||
3. http://zookeeper.apache.org/doc/current/zookeeperStarted.html#sc_ConnectingToZooKeeper[Verify zookeeper is running].
|
||||
4. Run `mvn --settings .settings.xml package` this will bring in the required spring cloud maven repositories and build
|
||||
5. Run `java -jar spring-cloud-zookeeper-sample/target/spring-cloud-zookeeper-sample-1.0.0.BUILD-SNAPSHOT.jar`
|
||||
5. Run `java -jar spring-cloud-zookeeper-sample/target/spring-cloud-zookeeper-sample-1.0.1.RELEASE.jar`
|
||||
6. Visit http://localhost:8080, verify that `{"serviceId":"testZookeeperApp","host":"<yourhost>","port":8080}` results
|
||||
7. run `java -jar spring-cloud-zookeeper-sample/target/spring-cloud-zookeeper-sample-1.0.0.BUILD-SNAPSHOT.jar --server.port=8081`
|
||||
7. run `java -jar spring-cloud-zookeeper-sample/target/spring-cloud-zookeeper-sample-1.0.1.RELEASE.jar --server.port=8081`
|
||||
8. visit http://localhost:8080 again, verify that `{"serviceId":"testZookeeperApp","host":"<yourhost>","port":8081}` eventually shows up in the results in a round robbin fashion (may take a minute or so).
|
||||
|
||||
== Building
|
||||
|
||||
:jdkversion: 1.7
|
||||
|
||||
=== Basic Compile and Test
|
||||
|
||||
To build the source you will need to install JDK {jdkversion}.
|
||||
@@ -94,24 +96,21 @@ If you don't have an IDE preference we would recommend that you use
|
||||
http://www.springsource.com/developer/sts[Spring Tools Suite] or
|
||||
http://eclipse.org[Eclipse] when working with the code. We use the
|
||||
http://eclipse.org/m2e/[m2eclipe] eclipse plugin for maven support. Other IDEs and tools
|
||||
should also work without issue.
|
||||
should also work without issue as long as they use Maven 3.3.3 or better.
|
||||
|
||||
==== Importing into eclipse with m2eclipse
|
||||
We recommend the http://eclipse.org/m2e/[m2eclipe] eclipse plugin when working with
|
||||
eclipse. If you don't already have m2eclipse installed it is available from the "eclipse
|
||||
marketplace".
|
||||
|
||||
Unfortunately m2e does not yet support Maven 3.3, so once the projects
|
||||
are imported into Eclipse you will also need to tell m2eclipse to use
|
||||
the `.settings.xml` file for the projects. If you do not do this you
|
||||
may see many different errors related to the POMs in the
|
||||
projects. Open your Eclipse preferences, expand the Maven
|
||||
preferences, and select User Settings. In the User Settings field
|
||||
click Browse and navigate to the Spring Cloud project you imported
|
||||
selecting the `.settings.xml` file in that project. Click Apply and
|
||||
then OK to save the preference changes.
|
||||
|
||||
NOTE: Alternatively you can copy the repository settings from https://github.com/spring-cloud/spring-cloud-build/blob/master/.settings.xml[`.settings.xml`] into your own `~/.m2/settings.xml`.
|
||||
NOTE: Older versions of m2e do not support Maven 3.3, so once the
|
||||
projects are imported into Eclipse you will also need to tell
|
||||
m2eclipse to use the right profile for the projects. If you
|
||||
see many different errors related to the POMs in the projects, check
|
||||
that you have an up to date installation. If you can't upgrade m2e,
|
||||
add the "spring" profile to your `settings.xml`. Alternatively you can
|
||||
copy the repository settings from the "spring" profile of the parent
|
||||
pom into your `settings.xml`.
|
||||
|
||||
==== Importing into eclipse without m2eclipse
|
||||
If you prefer not to use m2eclipse you can generate eclipse project metadata using the
|
||||
@@ -125,6 +124,7 @@ following command:
|
||||
The generated eclipse projects can be imported by selecting `import existing projects`
|
||||
from the `file` menu.
|
||||
|
||||
|
||||
== Contributing
|
||||
|
||||
Spring Cloud is released under the non-restrictive Apache 2.0 license,
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-zookeeper</artifactId>
|
||||
<version>1.0.1.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.1.RELEASE</version>
|
||||
</parent>
|
||||
<artifactId>spring-cloud-zookeeper-docs</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
@@ -20,14 +20,14 @@ See the http://zookeeper.apache.org[Zookeeper site] for more information. Sprin
|
||||
2. http://zookeeper.apache.org/doc/current/zookeeperStarted.html#sc_InstallingSingleMode[Start zookeeper].
|
||||
3. http://zookeeper.apache.org/doc/current/zookeeperStarted.html#sc_ConnectingToZooKeeper[Verify zookeeper is running].
|
||||
4. Run `mvn --settings .settings.xml package` this will bring in the required spring cloud maven repositories and build
|
||||
5. Run `java -jar spring-cloud-zookeeper-sample/target/spring-cloud-zookeeper-sample-1.0.0.BUILD-SNAPSHOT.jar`
|
||||
5. Run `java -jar spring-cloud-zookeeper-sample/target/spring-cloud-zookeeper-sample-1.0.1.RELEASE.jar`
|
||||
6. Visit http://localhost:8080, verify that `{"serviceId":"testZookeeperApp","host":"<yourhost>","port":8080}` results
|
||||
7. run `java -jar spring-cloud-zookeeper-sample/target/spring-cloud-zookeeper-sample-1.0.0.BUILD-SNAPSHOT.jar --server.port=8081`
|
||||
7. run `java -jar spring-cloud-zookeeper-sample/target/spring-cloud-zookeeper-sample-1.0.1.RELEASE.jar --server.port=8081`
|
||||
8. visit http://localhost:8080 again, verify that `{"serviceId":"testZookeeperApp","host":"<yourhost>","port":8081}` eventually shows up in the results in a round robbin fashion (may take a minute or so).
|
||||
|
||||
== Building
|
||||
|
||||
include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/docs/src/main/asciidoc/building-base-no-lombok.adoc[]
|
||||
include::https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/docs/src/main/asciidoc/building.adoc[]
|
||||
|
||||
== Contributing
|
||||
|
||||
|
||||
6
pom.xml
6
pom.xml
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-zookeeper</artifactId>
|
||||
<version>1.0.1.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.1.RELEASE</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>Spring Cloud Zookeeper</name>
|
||||
<description>Spring Cloud Zookeeper</description>
|
||||
@@ -14,7 +14,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-build</artifactId>
|
||||
<version>1.1.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.1.1.RELEASE</version>
|
||||
<relativePath/>
|
||||
<!-- lookup parent from repository -->
|
||||
</parent>
|
||||
@@ -183,7 +183,7 @@
|
||||
|
||||
<properties>
|
||||
<checkstyle.version>2.17</checkstyle.version>
|
||||
<spring-cloud-build.version>1.1.1.BUILD-SNAPSHOT</spring-cloud-build.version>
|
||||
<spring-cloud-build.version>1.1.1.RELEASE</spring-cloud-build.version>
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-zookeeper</artifactId>
|
||||
<version>1.0.1.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.1.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
<artifactId>spring-cloud-starter-zookeeper-all</artifactId>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-zookeeper</artifactId>
|
||||
<version>1.0.1.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.1.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
<artifactId>spring-cloud-starter-zookeeper-config</artifactId>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-zookeeper</artifactId>
|
||||
<version>1.0.1.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.1.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
<artifactId>spring-cloud-starter-zookeeper-discovery</artifactId>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-zookeeper</artifactId>
|
||||
<version>1.0.1.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.1.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
<artifactId>spring-cloud-starter-zookeeper</artifactId>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-zookeeper</artifactId>
|
||||
<version>1.0.1.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.1.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-zookeeper</artifactId>
|
||||
<version>1.0.1.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.1.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -5,18 +5,18 @@
|
||||
<parent>
|
||||
<artifactId>spring-cloud-dependencies-parent</artifactId>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<version>1.1.2.BUILD-SNAPSHOT</version>
|
||||
<version>1.1.1.RELEASE</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
<artifactId>spring-cloud-zookeeper-dependencies</artifactId>
|
||||
<version>1.0.1.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.1.RELEASE</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>spring-cloud-zookeeper-dependencies</name>
|
||||
<description>Spring Cloud Zookeeper Dependencies</description>
|
||||
<properties>
|
||||
<spring-cloud-zookeeper.version>1.0.1.BUILD-SNAPSHOT</spring-cloud-zookeeper.version>
|
||||
<spring-cloud-commons.version>1.1.1.BUILD-SNAPSHOT</spring-cloud-commons.version>
|
||||
<spring-cloud-netflix.version>1.1.1.BUILD-SNAPSHOT</spring-cloud-netflix.version>
|
||||
<spring-cloud-zookeeper.version>1.0.1.RELEASE</spring-cloud-zookeeper.version>
|
||||
<spring-cloud-commons.version>1.1.1.RELEASE</spring-cloud-commons.version>
|
||||
<spring-cloud-netflix.version>1.1.1.RELEASE</spring-cloud-netflix.version>
|
||||
<curator.version>2.10.0</curator.version>
|
||||
</properties>
|
||||
<dependencyManagement>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-zookeeper</artifactId>
|
||||
<version>1.0.1.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.1.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-zookeeper</artifactId>
|
||||
<version>1.0.1.BUILD-SNAPSHOT</version>
|
||||
<version>1.0.1.RELEASE</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user