Scala Maven Plugin

net.alchim31.maven : scala-maven-plugin

The scala-maven-plugin (previously maven-scala-plugin) is used for compiling/testing/running/documenting scala code of any maven project.

[Website] ·
3 usages
· 504 stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>net.alchim31.maven</groupId>
    <artifactId>scala-maven-plugin</artifactId>
    <version>4.5.6</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 net.alchim31.maven:scala-maven-plugin library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>net.alchim31.maven</groupId>
  <artifactId>scala-maven-plugin</artifactId>
  <version>4.5.6</version>
</dependency>
</dependencies>

To install net.alchim31.maven:scala-maven-plugin library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the net.alchim31.maven:scala-maven-plugin library to the dependencies section of your build.gradle file:

dependencies {
implementation 'net.alchim31.maven:scala-maven-plugin:4.5.6'
}

Gradle Kotlin DSL: Add the net.alchim31.maven:scala-maven-plugin library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("net.alchim31.maven:scala-maven-plugin:4.5.6")
}

3. Add dependency to a SBT Scala project

Scala: Add the net.alchim31.maven:scala-maven-plugin library to your build.sbt file:

libraryDependencies += "net.alchim31.maven" % "scala-maven-plugin" % "4.5.6"

4. Add dependency to a Grape project

Grape: Add an annotation net.alchim31.maven:scala-maven-plugin library to your groovy script file:

@Grapes(
    @Grab('net.alchim31.maven:scala-maven-plugin:4.5.6')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (8)

Test Dependencies (2)

Group / Artifact Usage
junit » junit 63,836
com.github.stefanbirkner » system-rules 397