3 Replies Latest reply on Sep 10, 2010 3:19 AM by tomjenkinson

    Bad path when deploying blacktie-2.0.0.CR1

    tomwalter

      I am attempting to deploy blacktie on a SUSE 11-64 linux box and when running the first sample app, a download fails for the following paths:

       

      Downloading: http://repo1.maven.org/maven2/org/jboss/blacktie/jatmibroker-xatmi-client/2.0.0.CR1/jatmibroker-xatmi-client-2.0.0.CR1.pom
      [INFO] Unable to find resource 'org.jboss.blacktie:jatmibroker-xatmi-client:pom:2.0.0.CR1' in repository central (http://repo1.maven.org/maven2)
      [INFO] [enforcer:enforce {execution: ban-bad-dependencies}]

       

      and:

      jatmibroker-xatmi-client:jar
      http://repo1.maven.org/maven2/org/jboss/blacktie/jatmibroker-xatmi-client/2.0.0.CR1/jatmibroker-xatmi-client-2.0.0.CR1.jar

       

      I could find neither file on the web. I did find the jar file in the local blacktie directory blacktie-2.0.0.CR1/jatmibroker-xatmi-client/ and installed it using mvn and proceeded but was unable to proceed with the .pom file failure. I'm assuming some jar file is requiring that path.

       

      I am new to jboss and not too familiar with the ant/mvn build process but am making my way. After evaluating on linux, I hope to eventually deploy on our production platform os: AIX.

       

      Thanks in advance.

        • 1. Re: Bad path when deploying blacktie-2.0.0.CR1
          tomwalter

          Sorry for the discussion in the general blacktie section. This would have been better under the deploy article.

          I went ahead and built my own using the instructions under building thirdparty and building blacktie.

           

          thanks.

          • 2. Re: Bad path when deploying blacktie-2.0.0.CR1
            tomjenkinson

            Tom,

             

            My apologies for not responding to you yesterday, we are actually putting a small update to BlackTie (CR2 together) - generally tidy up the layout of the distribution on disk, e.g. a consolidated lib folder (lib/cxx lib/java etc).

             

            Plus a further apology, I had not "promoted" our build artifacts to the main JBoss repository (release is a two-stage process for our new Nexus repo and I forgot the second stage - oops), this should now be remedied, although building from source as you did would have populated your .m2 folder correctly anyway.

             

            Sorry for the confusion and hope you are enjoying your time with BlackTie. CR2 should drop either today or Monday but it is very similar to CR1, the main code differences are:

            1. Allow environment variable substitution in btconfig.xml (intended so that you dont need to search and replace so many variables to get the examples running).

            2. Allow the IP address of a server to be used in the btconfig.xml for "btadmin startup/shutdown"

             

            Thanks for looking at our project,

            Tom

            • 3. Re: Bad path when deploying blacktie-2.0.0.CR1
              tomjenkinson

              Actually, I also realised that the example poms do not have the configuration in them to use the external Maven repository. For CR1 you can edit your ~/.m2/settings.xml as per: http://community.jboss.org/wiki/MavenGettingStarted-Developers

               

              I will update the poms for CR2 so that this configuration is not required.