Closed nmcl closed 8 years ago
Just did a clean build of the master in the parent of the quickstarts:
/Users/ceposta/fabric8/ipaas-quickstarts/quickstart
Seemed to build fine:
ceposta@postamac(ipaas-quickstarts (master)) $ java -version java version "1.8.0_65" Java(TM) SE Runtime Environment (build 1.8.0_65-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode) ceposta@postamac(ipaas-quickstarts (master)) $ mvn --version Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1512m; support was removed in 8.0 Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T10:29:23-07:00) Maven home: /usr/local/Cellar/maven32/3.2.5/libexec Java version: 1.8.0_65, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac" ceposta@postamac(ipaas-quickstarts (master)) $
I should have been clearer here, but if you check the gist you'll see that ...
mvn clean install
... works fine.
It's mvn exec:java that fails.
Following this quick start doc https://github.com/fabric8io/ipaas-quickstarts/tree/master/quickstart/java/simple-fatjar
Seems to work fine on my side... maybe try running mvn exec:java
from within the simple-fatjar folder?
ceposta@postamac(simple-fatjar (master)) $ mvn exec:java Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1512m; support was removed in 8.0 [INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Fabric8 :: Quickstarts :: Java :: Simple fat jar 2.2.84-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ java-simple-fatjar --- Hello Fabric8! Here's your random string: XBUfR Hello Fabric8! Here's your random string: cwPfH Hello Fabric8! Here's your random string: 1HMzj Hello Fabric8! Here's your random string: PSHKh Hello Fabric8! Here's your random string: X2KkO Hello Fabric8! Here's your random string: 9Hh6q Hello Fabric8! Here's your random string: VGfLo Hello Fabric8! Here's your random string: qek3o Hello Fabric8! Here's your random string: XZGPT Hello Fabric8! Here's your random string: MrBS6 ^Cceposta@postamac(simple-fatjar (master)) $
Clarification here https://github.com/fabric8io/ipaas-quickstarts/pull/1076
Yes, that works fine. It's the docs that are inconsistent then.
I'm happy to close this issue with your change.
See gist for more details of failure, but Mac OS 10.9.5 with ...
rorschach:java marklittle$ java -version java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) rorschach:java marklittle$ pwd /Users/marklittle/github/ipaas-quickstarts/quickstart/java rorschach:java marklittle$ mvn --version Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 16:22:22+0100) Maven home: /usr/local/Cellar/maven/3.1.1/libexec Java version: 1.8.0_45, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac"
And a clean checkout and build results in ...
https://gist.github.com/nmcl/dce69676f0bd4c203a04