Here's what I did...

Edited the pom file in the root and changed the version of the two smack
entries to the current version, then ran "mvn -Dmaven.test.skip=true clean
install"
As expected, this complained that the jars were not found and gave an mvn
install command to use to install each one.  I did that pointing to the
current jar files.  Then I ran the "clean install" mvn command again.  Now,
the failure is that the entire org.jivesoftware.smack package is not found.
I know almost nothing about maven, except what I've seen while working on
this, so I really have not idea what to do next...

Side observation: this build process has a pretty steep learning curve just
to change 10 lines or so in XMPPEndPoint.java.

On Wed, May 28, 2008 at 3:29 PM, Bruce Snyder <[EMAIL PROTECTED]>
wrote:

> On Wed, May 28, 2008 at 4:21 PM, Jeff Sexton <[EMAIL PROTECTED]> wrote:
> > Here's my last question for today.....
> >
> > One of the things I need to change is the close() method on an
> > XMPPConnection object (from the smack jar) which is now disconnect().  I
> > changed it in XMPPEndPoint.java and replaced the two smack jars in
> > servicemix-xmpp/version_1/lib with the latest editions.
> >
> > However, "mvn install" fails telling me that disconnect() is not found in
> > org.jivesoftware.smack.XMPPConnection.   I don't see any other smack jars
> on
> > the system.  What's it building against?  There's another change that's
> > behaving the same way.  And those are the only two errors I have.
>
> That's because you need to change the smack jars version in the SMX
> root pom.xml file where the smack version is listed. Changing the
> version where you did is just a hack and won't affect anything. After
> you change the root POM, you'll need to build from the top level using
> a single command:
>
> mvn -Dmaven.test.skip=true clean install
>
> Because you've already built SMX once using the two-step build
> process, you won't need to do the two-step build again until the
> version changes.
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
>
> Blog: http://bruceblog.org/
>

Reply via email to