Thanks it works (i.e the codehaus wadi repository). I do not know about the 4.1 snapshot, sorry.
Igor Bondarenko wrote: > > Here is how you can get the 4.0.1 release to work with Maven 2: > > 1. Add the Codehaus repository to your POM first: > > <repositories> > <repository> > <id>activemq</id> > <name>activemq</name> > <url>http://dist.codehaus.org/wadi/dependencies/maven2</url> > </repository> > </repositories> > > 2. Add the ActiveMQ 4.0.1 dependency -- note that the group ID is > incubator-activemq, as opposed to activemq per your original email: > > <dependency> > <groupId>incubator-activemq</groupId> > <artifactId>activemq</artifactId> > <version>4.0.1</version> > </dependency> > > P.S. I did not find a solution to the Maven2/ActiveMQ 4.1 snapshot issue > I posted earlier, so if you can figure that out, please post an update. > > -Igor > > > > -----Original Message----- > From: christophe blin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 17, 2006 8:56 AM > To: [email protected] > Subject: Where to find pom.xml for maven2 ? > > > Hi, > > I recently did a prototype with ActiveMQ and Spring for our next > messaging system. > The prototype went well so we are goig to integrate it into the main > code base. > > The problem is that the main code base uses maven2 as its build system. > And doing : > <dependency> > <groupId>activemq</groupId> > <artifactId>activemq</artifactId> > <version>4.0.1</version> > </dependency> > > does not work because 1/ the 4.0.1 does not exist in the ibiblio > repository and 2/ in the pom.xml at ibiblio the dependencies are written > like this : > "xxx-${version}" so maven will not find the correct xxx-version.jar > > So my question is : for those using activeMQ with maven2, where did you > find the dependencies (i.e how do you write it in your pom.xml) ? > Note : I had search the issue tracker and the forum without any hit but > I would appreciate if you could point me to a post or an issue that I > missed. > > Best regards, > Chris > -- > View this message in context: > http://www.nabble.com/Where-to-find-pom.xml-for-maven2---tf2459329.html# > a6854566 > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > > -- View this message in context: http://www.nabble.com/Where-to-find-pom.xml-for-maven2---tf2459329.html#a6855790 Sent from the ActiveMQ - User mailing list archive at Nabble.com.
