AspectJ Weaver

org.aspectj : aspectjweaver

The AspectJ weaver applies aspects to Java classes. It can be used as a Java agent in order to apply load-time weaving (LTW) during class-loading and also contains the AspectJ runtime classes.

[Website] ·
1.8k usages
· 72 stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>org.aspectj</groupId>
    <artifactId>aspectjweaver</artifactId>
    <version>1.9.8.RC3</version>
</dependency>

How to add dependency in a project

  1. Add dependency to a Maven project
  2. Add dependency to a Gradle project
  3. Add dependency to a SBT Scala project
  4. Add dependency to a Grape project

1. Add dependency to a Maven project

Maven: Add the org.aspectj:aspectjweaver library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.aspectj</groupId>
  <artifactId>aspectjweaver</artifactId>
  <version>1.9.8.RC3</version>
</dependency>
</dependencies>

To install org.aspectj:aspectjweaver library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.aspectj:aspectjweaver library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.aspectj:aspectjweaver:1.9.8.RC3'
}

Gradle Kotlin DSL: Add the org.aspectj:aspectjweaver library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.aspectj:aspectjweaver:1.9.8.RC3")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.aspectj:aspectjweaver library to your build.sbt file:

libraryDependencies += "org.aspectj" % "aspectjweaver" % "1.9.8.RC3"

4. Add dependency to a Grape project

Grape: Add an annotation org.aspectj:aspectjweaver library to your groovy script file:

@Grapes(
    @Grab('org.aspectj:aspectjweaver:1.9.8.RC3')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (0)

Group / Artifact Usage

Recommended for You

More from Group