Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.jbehave:jbehave-core:jbehave-5.2.0'
}
dependencies {
implementation("com.github.jbehave:jbehave-core:jbehave-5.2.0")
}
<dependency>
<groupId>com.github.jbehave</groupId>
<artifactId>jbehave-core</artifactId>
<version>jbehave-5.2.0</version>
</dependency>
libraryDependencies += "com.github.jbehave" % "jbehave-core" % "jbehave-5.2.0"
:dependencies [[com.github.jbehave/jbehave-core "jbehave-5.2.0"]]
JBehave is a BDD framework for Java and all JVM languages (Groovy, Kotlin, Ruby, Scala).
<img src="http://jbehave.org/reference/preview/images/jbehave-logo.png" alt="JBehave logo" align="right" />Canonical information for JBehave:
Please report issues, feature requests on JIRA or discuss them on the dev mailing list.
Keep an eye on the Github Actions server for JBehave builds.
At compile-time, JDK 11 is required to build JBehave modules
At runtime, end users can use JDK 8 or above in their own projects that use JBehave for testing.
Maven version required to build: 3.6 or above (while tested with 3.6.x it may also work with previous 3.x versions)
Some additional setup may be required to build the
Configure IDE to use UTF-8 for all files Configure Maven by adding "-Dfile.encoding=UTF-8" to $MAVEN_OPTS
Maven is supported in all major IDEs, including Intellij IDEA and Eclipse.
The first time you run the Maven build, do:
mvn install -s settings.xml
After that, it is necessary to only do the following:
mvn install
Note: profiles are additive and the default profile is always active.
mvn install -Pexamples
mvn install -Preporting,distribution
mvn release:prepare -Preporting,distribution
mvn release:perform -Preporting,distribution
See also:
See LICENSE.txt in the source root (BSD).