-- Dependencies required for building Exhibitor
-- Launch CentOS console via VMPlayer
-- login as root/Password1
$ yum install git
$ yum install maven
$ quit
-- login as admin/Password
$ sudo mkdir ~/temp
$ cd ~/temp
$ sudo git clone git://github.com/Netflix/exhibitor.git
$ cd exhibitor/exhibitor-standalone/src/main/resources/buildscripts/war/maven
$ sudo vi src/main/resources/exhibitor.properties
-- uncommented the two prop lines, port to 8080 and then save the file
exhibitor-configtype=file
exhibitor-port=8080
$ sudo vi pow.xml
-- change the version to 1.5.5 and save the file
$ sudo mvn clean compile war:war
-- The exhibitor war file is built and ready to use.
-- Next Steps (if required)
$ sudo cp exhibitor/exhibitor-standalone/src/main/resources/buildscripts/war/maven/target/exhibitor-war-1.0.war /opt/tomcat/webapps/ROOT.war
$ sudo /opt/tomcat/bin/startup.sh start
Verify http://192.168.174.128:8080/exhibitor/v1/ui/index.html
-- Launch CentOS console via VMPlayer
-- login as root/Password1
$ yum install git
$ yum install maven
$ quit
-- login as admin/Password
$ sudo mkdir ~/temp
$ cd ~/temp
$ sudo git clone git://github.com/Netflix/exhibitor.git
$ cd exhibitor/exhibitor-standalone/src/main/resources/buildscripts/war/maven
$ sudo vi src/main/resources/exhibitor.properties
-- uncommented the two prop lines, port to 8080 and then save the file
exhibitor-configtype=file
exhibitor-port=8080
$ sudo vi pow.xml
-- change the version to 1.5.5 and save the file
$ sudo mvn clean compile war:war
-- The exhibitor war file is built and ready to use.
-- Next Steps (if required)
$ sudo cp exhibitor/exhibitor-standalone/src/main/resources/buildscripts/war/maven/target/exhibitor-war-1.0.war /opt/tomcat/webapps/ROOT.war
$ sudo /opt/tomcat/bin/startup.sh start
Verify http://192.168.174.128:8080/exhibitor/v1/ui/index.html
Note:
Found the root cause of version not rendering on the Exhibitor landing page.Its says "dev" on the right hand side corner instead of the actual version.
If you use the 1.5.1 and 1.5.2 it works and displays the version.
Based on the artifact version in pom.xml file maven downloads files from http://repo.maven.apache.org/maven2/com/netflix/exhibitor/exhibitor-standalone/1.5.2/exhibitor-standalone-1.5.2.pom
compare with 1.5.3
http://repo.maven.apache.org/maven2/com/netflix/exhibitor/exhibitor-standalone/1.5.3/exhibitor-standalone-1.5.3.pom
the scope is runtime vs compile
therefore its not compiling for 1.5.3 or higher
so it all depends on how soon netflix would fix it and upload file.
compare with 1.5.3
http://repo.maven.apache.org/maven2/com/netflix/exhibitor/exhibitor-standalone/1.5.3/exhibitor-standalone-1.5.3.pom
the scope is runtime vs compile
therefore its not compiling for 1.5.3 or higher
so it all depends on how soon netflix would fix it and upload file.
No comments:
Post a Comment