It's not a secret anymore!
The moose likes SOA and ESB and the fly likes Can't find correct Mule Repository Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » SOA and ESB
Bookmark "Can Watch "Can New topic
Author

Can't find correct Mule Repository

David McWilliams
Ranch Hand

Joined: Mar 14, 2009
Posts: 73
Hi all,

I've created a small Mule/Maven project. When I run 'mvn package' on the POM, I get the following error:

Missing:
----------
1) org.mule.modules:mule-module-http:jar:2.2.1

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.mule.modules -DartifactId=mule-module-http -Dversion=2.2.1 -Dpackaging=jar -Dfile=/path/to/file


Does anyone know the correct repository (or plugins) to use in my POM for Mule? I am currently using these:
<repositories>
<repository>
<id>codehaus-repo</id>
<name>Codehaus Repository</name>
<url>http://dist.codehaus.org/mule/dependencies/maven2</url>
<layout>default</layout>
</repository>
<repository>
<id>muleforge-repo</id>
<name>MuleForge Repository</name>
<url>http://repository.muleforge.org</url>
<layout>default</layout>
</repository>

<repository>
<id>codehaus-repo</id>
<name>Codehaus Repository</name>
<url>http://dist.codehaus.org/mule/dependencies/maven2</url>
<layout>default</layout>
</repository>
</repositories>


Can anyone suggest a repository?

Thanks,
David
Roger Sterling
Ranch Hand

Joined: Apr 06, 2012
Posts: 426

Please try the modern, up-to-date version 3.4 of Mule ESB. Alot of dependencies that were not part of Mule V2.x are now included in the base build.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can't find correct Mule Repository
 
It's not a secret anymore!