Mojo's AspectJ Maven Plugin

org.codehaus.mojo : aspectj-maven-plugin

Handles AspectJ usage within Maven. Functionality provided is: weaving of aspects (or existing aspects from libraries) with the test and/or main classes, weaving of pre-existing jars and ajdoc reporting.

[Website] ·
1 usages

Add dependency in Maven / Gradle

<dependency>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>aspectj-maven-plugin</artifactId>
    <version>1.14.0</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.codehaus.mojo:aspectj-maven-plugin library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>aspectj-maven-plugin</artifactId>
  <version>1.14.0</version>
</dependency>
</dependencies>

To install org.codehaus.mojo:aspectj-maven-plugin library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.codehaus.mojo:aspectj-maven-plugin library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.codehaus.mojo:aspectj-maven-plugin:1.14.0'
}

Gradle Kotlin DSL: Add the org.codehaus.mojo:aspectj-maven-plugin library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.codehaus.mojo:aspectj-maven-plugin:1.14.0")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.codehaus.mojo:aspectj-maven-plugin library to your build.sbt file:

libraryDependencies += "org.codehaus.mojo" % "aspectj-maven-plugin" % "1.14.0"

4. Add dependency to a Grape project

Grape: Add an annotation org.codehaus.mojo:aspectj-maven-plugin library to your groovy script file:

@Grapes(
    @Grab('org.codehaus.mojo:aspectj-maven-plugin:1.14.0')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (4)

Test Dependencies (2)

Recommended for You

More from Group