I don't think that they are the same type of tool at all.
Nexus and its equivalents are Maven repositories that make working with
Maven a lot easier.
Normally it holds your own artifacts that you want to deploy so that
other projects can use them as dependencies.
It can also hold 3rd party artifacts that you have purchased or
downloaded as free software that is available under licences that
prevent them from being included in the main Maven Central repo
(Oracle/Sun issues free stuff this way).
It can act as a proxy for external Maven Repos such as Maven Central and
other organizations that do not publish their libraries to Maven Central
but make them available to others from their own Maven Repo.
This makes your settings.xml file very simple - just configure in your
Nexus and the Nexus administrator will make sure that Nexus gives you
everything as if it was on your own Nexus server.
XBean seems to be a container for running applications.
Ron
On 19/06/2012 2:45 AM, rlou wrote:
Thanks for your reply, Ron.
No, I don't have Maven Repo. My local .M2 repo talks directly to Maven
Repository (http://mvnrepository.com/)
You mentioned about Nexus. I think the author is also promoting XBean. Do i
need to install Nexus or XBean to resolve this issue?
According to the book, the command to launch ActiveMQ is:
"activemq
xbean:src/main/resources/org/apache/activemq/book/ch2/activemq.xml"
And here is the settings.xml& activemq.xml:
-----------------------------------------------------------------------
settings.xml
IEBrowserProxySettings -> IE -> Tools -> Internet Options -> Connections ->
LAN Settings -> Advanced
-----------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>myHostInMyIEBrowserProxySettings</host>
<port>myPortInMyIEBrowserProxySettings</port>
<username>myWinLoginId</username>
<password>myWinLoginPwd</password>
<nonProxyHosts>myExceptionsInMyIEBrowserProxySettings</nonProxyHosts>
</proxy>
</proxies>
</settings>
-----------------------------------------------------------------------
activemq.xml
-----------------------------------------------------------------------
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:amq="http://activemq.apache.org/schema/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd
http://activemq.apache.org/camel/schema/spring
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd">
<bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"/>
<broker xmlns="http://activemq.apache.org/schema/core"
brokerName="localhost" dataDirectory="${activemq.base}/data">
<transportConnectors>
<transportConnector name="openwire" uri="tcp://localhost:61616" />
</transportConnectors>
</broker>
</beans>
--
View this message in context:
http://maven.40175.n5.nabble.com/Could-not-transfer-metadata-org-springframework-spring-core-maven-metadata-xml-tp5711441p5711512.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]