-
1. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
oupellamspc May 7, 2015 6:15 AM (in response to oupellamspc)I've just tried installing JBoss Developer Studio into my Eclipse Luna installation, with exactly the same error here! Any thoughts? Pulling my hair out here (not got much left)
-
2. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
maxandersen May 7, 2015 6:43 AM (in response to oupellamspc)Hi Carl,
Sorry for your troubles. Lets see what we can find.
Are you by any chance behind a proxy ?
Asking since the error is stating that when looking up the dependencies on Index of /techpreview/all it has a connect timed out.
Can you open Index of /techpreview/all in browser and see its content ?
Can you build the project from the CLI without problems ?
If you are behind a proxy you need to configure that in Eclipse preferences if it for some reason have not figure out how to use your native OS proxy settings.
That said, I cannot actually find p5 at Index of /techpreview/all/org/switchyard/quickstarts/switchyard-quickstart-parent only p6 and onwards.
Do you have a link to exact docs you are reading ? I want to find out if bugs in the docs or some missing upload to the maven repo.
Thanks!
-
3. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
oupellamspc May 7, 2015 6:56 AM (in response to maxandersen)Hi Max,
Thanks for replying, answers to your questions:
- Yes, I'm behind a proxy.
- From Chrome and IE, they both get to the /techpreview/all page and list libraries
- I've checked Eclipse and JBoss developer environments and Proxy's have automatically been configured. Further to this, the browser within Eclipse gets to the /techpreview/all page and lists details
- A link to the document I'm following:
There isn't anything 'specific' listed in here that I've had to set. It's why I'm surprised this isn't working.
As for building from the CLI, I'm struggling with what to do here. Is there a command line command I can run to do that? If so, I'm not familiar with what to do in that case.
Kind regards
Carl
-
4. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
rawagner May 7, 2015 7:18 AM (in response to oupellamspc)Hi Carl,
can you try configuring proxy into your maven's settings.xml? You can use this guide https://maven.apache.org/guides/mini/guide-proxies.html
Then select your projects, open context menu Maven->Update Project..., check Force Update of Snapshots/Releases and press OK.
Let us know if it worked.
Thanks!
-
5. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
oupellamspc May 7, 2015 7:41 AM (in response to rawagner)Thanks Max/Rastislav), will do.
FYI, I've just installed Maven for CLI and have just run a "mvn clean install" command in the Switchyard/BPel-Service/say_hello and it has both compiled and installed to server!
So this looks like a problem in Eclipse/JBoss.
Thanks, I'll continue with instruction above.
-
6. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
oupellamspc May 7, 2015 7:40 AM (in response to oupellamspc)Hi Max (sorry Rastilav),
No luck, both Eclipse Luna and JBoss Dev still show error. This is most odd! I can confirm that the CLI worked ok.
Any other thoughts? Working from CLI would be painful.
Kind regards
Carl
-
7. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
oupellamspc May 7, 2015 8:34 AM (in response to oupellamspc)I tell a lie! I've just gone over all settings and noticed the XML Proxy I've added into the settings.xml was invalid. I've now corrected and am seeing things build! I still see project errors, but I happened to have switched to the Maven 3.2.5 I installed too. Now figuring out what is what, but at least I can start testing.
A Huge thanks
-
8. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
rawagner May 7, 2015 8:38 AM (in response to oupellamspc)I'm glad it helped
-
9. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
maxandersen May 7, 2015 12:33 PM (in response to oupellamspc)glad to help!
just to fix my sanity can you tell me if you have the r5 or r6 in your local ~/.m2 folder ?
-
10. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
oupellamspc May 8, 2015 4:59 AM (in response to maxandersen)Hi Max,
I've just looked into the folder. What am I looking for? I see nothing with r5 or r6 in folder names. Are you looking for me to find something in one of the config/xml files??? Sorry for my ignorance in this, but I need a little more instruction.
Kind regards
Carl
-
11. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
oupellamspc May 8, 2015 5:05 AM (in response to maxandersen)Ah, figured it. I've taken a look in the switchyard-parent folder!
1.1.1-p5-redhat-1
2.0.0.Alpha2
2.0.0.CR1
all listed.
-
12. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
maxandersen May 12, 2015 4:58 AM (in response to oupellamspc)So its still a mystery how fixing the proxy fixed this since p5-redhat-1 is *not* available in our repo thus
it seems very weird you got it there. Unless you build the pom your self accidentally?
Do you have a _remote.repositories file in this dir ? It should tell you where each version have been fetched from.
That could give a more specific clue.
-
13. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
rawagner May 12, 2015 5:25 AM (in response to maxandersen)I looked at switchyard quickstarts and org.switchyard.quickstarts:switchyard-quickstart-parent:1.1.1-p5-redhat-1 is distrubuted with them. switchyard-quickstart-parent then references org.switchyard:switchyard-parent:pom:1.1.1-p5-redhat-1 which is in our repo https://maven.repository.redhat.com/techpreview/all/org/switchyard/switchyard-parent/1.1.1-p5-redhat-1/switchyard-parent…
-
14. Re: JBossDev 8 with Early Access Integration - Maven problem with Switchyard quickstart
maxandersen May 21, 2015 6:58 AM (in response to rawagner)okey but then why was he getting the error about p5 missing initially? thats what I don't get.