OPS4J Pax Web - Samples - OSGi Spring War sample

org.ops4j.pax.web.samples : war-spring-osgi

Oct 26, 2021

Add dependency in Maven / Gradle

<dependency>
    <groupId>org.ops4j.pax.web.samples</groupId>
    <artifactId>war-spring-osgi</artifactId>
    <version>7.4.3</version>
</dependency>

1. Add dependency to a Maven project

Maven: Add the org.ops4j.pax.web.samples:war-spring-osgi library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.ops4j.pax.web.samples</groupId>
  <artifactId>war-spring-osgi</artifactId>
  <version>7.4.3</version>
</dependency>
</dependencies>

To install org.ops4j.pax.web.samples:war-spring-osgi library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.ops4j.pax.web.samples:war-spring-osgi library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.ops4j.pax.web.samples:war-spring-osgi:7.4.3'
}

Gradle Kotlin DSL: Add the org.ops4j.pax.web.samples:war-spring-osgi library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.ops4j.pax.web.samples:war-spring-osgi:7.4.3")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.ops4j.pax.web.samples:war-spring-osgi library to your build.sbt file:

libraryDependencies += "org.ops4j.pax.web.samples" % "war-spring-osgi" % "7.4.3"

4. Add dependency to a Grape project

Grape: Add an annotation org.ops4j.pax.web.samples:war-spring-osgi library to your groovy script file:

@Grapes(
    @Grab('org.ops4j.pax.web.samples:war-spring-osgi:7.4.3')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (5)

Test Dependencies (1)

Group / Artifact Usage
org.springframework » spring-test 4.3k
© 2022 JMaven.com