JBehave
  1. JBehave
  2. JBEHAVE-453

Building jBehave requires com.google.code.guice:guice:2.0.1

    Details

    • Type: Task Task
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.3
    • Component/s: Build
    • Labels:
      None
    • Number of attachments :
      0

      Description

      1. checkout jbehave-core
      2. execute mvn clean install -Pexamples,gui -U

      Get error building for unsatisfied dependency which is not in any public repo that I know of.

      [ERROR] Failed to execute goal on project jbehave-hudson-plugin: Could not resolve dependencies for project org.jbehave:jbehave-hudson-plugin:hpi:3.3-SNAPSHOT: Could not find artifact com.google.code.guice:guice:jar:2.0.1
      

      The two repos in settings.xml do not contain it either.

      Suggest upgrade to already publicly available guice release or put it somewhere.

        Activity

        Hide
        Peter Lynch added a comment -

        There is http://code.google.com/p/guice-maven/ I suppose, if I trust it.

        Show
        Peter Lynch added a comment - There is http://code.google.com/p/guice-maven/ I suppose, if I trust it.
        Hide
        Mauro Talevi added a comment -

        Which version of mvn are your using?

        Show
        Mauro Talevi added a comment - Which version of mvn are your using?
        Hide
        Peter Lynch added a comment -

        Using Java version: 1.6
        Apache Maven 3.0.2 (r1056850; 2011-01-08 19:58:10-0500)
        Java version: 1.6.0_24, vendor: Apple Inc.
        Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
        Default locale: en_US, platform encoding: MacRoman
        OS name: "mac os x", version: "10.6.7", arch: "x86_64", family: "mac"

        BTW, after adding the above repo I mention, I get further along but eventually fail with

        Failed to execute goal on project jbehave-noughtsandcrosses-example: Could not resolve dependencies for project org.jbehave:jbehave-noughtsandcrosses-example:jar:3.3-SNAPSHOT: Could not find artifact tyburn:tyburn:jar:0.1
        

        Not sure where to get that version, latest I see is 1.1.

        Show
        Peter Lynch added a comment - Using Java version: 1.6 Apache Maven 3.0.2 (r1056850; 2011-01-08 19:58:10-0500) Java version: 1.6.0_24, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x", version: "10.6.7", arch: "x86_64", family: "mac" BTW, after adding the above repo I mention, I get further along but eventually fail with Failed to execute goal on project jbehave-noughtsandcrosses-example: Could not resolve dependencies for project org.jbehave:jbehave-noughtsandcrosses-example:jar:3.3-SNAPSHOT: Could not find artifact tyburn:tyburn:jar:0.1 Not sure where to get that version, latest I see is 1.1.
        Hide
        Mauro Talevi added a comment -

        To build the noughtsandcrosses example you need to install the tyburn lib, which is not found on maven central:
        https://github.com/jbehave/jbehave-core/blob/master/examples/noughtsandcrosses/README.txt

        Or you can simply exclude it by not invoking the gui profile.
        mvn clean install -Pexamples

        Show
        Mauro Talevi added a comment - To build the noughtsandcrosses example you need to install the tyburn lib, which is not found on maven central: https://github.com/jbehave/jbehave-core/blob/master/examples/noughtsandcrosses/README.txt Or you can simply exclude it by not invoking the gui profile. mvn clean install -Pexamples
        Mauro Talevi made changes -
        Field Original Value New Value
        Issue Type Bug [ 1 ] Task [ 3 ]
        Assignee Mauro Talevi [ maurotalevi ]
        Fix Version/s 3.3 [ 17108 ]
        Hide
        Mauro Talevi added a comment -

        Improved documentation on building from source: JBEHAVE-457

        Show
        Mauro Talevi added a comment - Improved documentation on building from source: JBEHAVE-457
        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            Peter Lynch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: