The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

azahra (3) [Avatar] Offline
#1
I could not get the examples to build with the mule version set to 3.3.1. There were many mule artifacts that could not be found. I had to switch to 3.3.0.

Is there a public repo with 3.3.1 artifacts?

I also had to add http://mirrors.ibiblio.org/maven/mule/dependencies/maven2/ to our local nexus repo get the osgi artifacts.

The mule-module-spring-config in the chapter01 pom was specified twice, so I removed one of them.

Message was edited by:
azahra
David Dossot (233) [Avatar] Offline
#2
Re: Maven dependencies
> I could not get the examples to build with the mule
> version set to 3.3.1. There were many mule artifacts
> that could not be found. I had to switch to 3.3.0.

I've tried to build with an empty local Maven repo and had no issue:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Mule in Action, Second Edition .................... SUCCESS [0.781s]
[INFO] Mule in Action, Second Edition - Chapter 1 ........ SUCCESS [8:07.241s]
[INFO] Mule in Action, Second Edition - Chapter 2 ........ SUCCESS [55.510s]
[INFO] Mule in Action, Second Edition - Chapter 3 ........ SUCCESS [1:15.508s]
[INFO] Mule in Action, Second Edition - Chapter 4 ........ SUCCESS [39.127s]
[INFO] Mule in Action, Second Edition - Chapter 5 ........ SUCCESS [18.686s]
[INFO] Mule in Action, Second Edition - Chapter 6 ........ SUCCESS [33.258s]
[INFO] Mule in Action, Second Edition - Chapter 12 ....... SUCCESS [1:09.410s]
[INFO] Mule in Action, Second Edition - Appendix A ....... SUCCESS [4.286s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13:08.223s
[INFO] Finished at: Fri Dec 07 08:51:31 PST 2012
[INFO] Final Memory: 67M/160M
[INFO] ------------------------------------------------------------------------

So what errors where you getting? What Maven and JDK versions are you using?

Also, I'm surprised that you could build with 3.3.0 as some tests require 3.3.1.

> Is there a public repo with 3.3.1 artifacts?

Yes, it is defined in the parent pom as repo id "mule-in-action".

> I also had to add http://mirrors.ibiblio.org/maven/mule/dependencies/maven2/ to our local nexus repo get the osgi artifacts.

I do not use Nexus and did not need this repo either in the parent pom nor in my local Maven settings, maybe something required just when one uses Nexus?

> The mule-module-spring-config in the chapter01 pom was specified twice, so I removed one of them.

Good catch thanks, I fixed the issue.
azahra (3) [Avatar] Offline
#3
Re: Maven dependencies
I bypassed our nexus and it builds now, so something to do with our nexus config.
David Dossot (233) [Avatar] Offline
#4
Re: Maven dependencies
FYI MuleSoft has released 3.3.1 CE to http://repository.codehaus.org ; we will soon update the book build to stop using our own repo.