Need help with scala-maven-plugin?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

davidB
497 Stars 136 Forks The Unlicense 892 Commits 21 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

# 129,919
Rust
Scala
Jupyter...
builder...
383 commits
# 6,788
Scala
gatling
Maven
akka
48 commits
# 29,811
Scala
playfra...
sbt-plu...
sbt
40 commits
# 11,875
Scala
playfra...
hugo
akka
17 commits
# 484,246
Shell
PHP
C
static-...
7 commits
# 4,480
openshi...
Jenkins
jvm-lan...
static-...
6 commits
# 189,376
Scala
Emacs
emacs-l...
fs2
4 commits
# 275,159
HTML
C++
Shell
3 commits
# 503,307
webp
C++
C
bmp
3 commits
# 658,939
CSS
Kotlin
3 commits
# 98,314
HTML
specifi...
Kotlin
Gradle
3 commits
# 94,658
assembl...
vala
pattern...
analysi...
3 commits
# 44,802
Java
Shell
Scala
cypher
2 commits
# 33,219
jvm-lan...
jekyll-...
Jekyll
fp
2 commits
# 84,173
mocking...
mockito
jakarta...
Maven
2 commits
# 671,085
CSS
Kotlin
2 commits
# 18,977
playfra...
scalajs
mocking...
Maven
2 commits
# 268,880
s3
aws-s3
fuse
C++
2 commits
# 358,231
jackson
Groovy
Erlang
Shell
2 commits
# 193,184
intelli...
apache-...
jetbrai...
Groovy
2 commits

Scala Maven Plugin

ci Code Quality: Java Total Alerts Maven Central

The scala-maven-plugin (previously maven-scala-plugin) is used for compiling/testing/running/documenting Scala code in Maven.

Similar plugins

Build

Currently, you need Maven 3.x & JDK 8 to build the plugin, create the site, and run

integration-test
.

Commands

  • ./mvnw package
    : generate jar
  • ./mvnw site
    : generate the plugin website
  • ./mvnw integration-test
    :
    ./mvnw package
    + run all integration test
    • note: to run
      test_scalaHome
      : you have to set
      scala.home
      property in
      src/it/test_scalaHome/pom.xml
      to correspond to your environment. See Build section above for a simple setup.
  • ./mvnw integration-test -Dinvoker.test=test1
    : run integration test 'test1' (against all configuration) useful for tuning/debug
  • ./mvnw install
    : ./mvnw integration-test` + publish on local maven repository
  • ./mvnw install -Dmaven.test.skip=true
    : ./mvnw install` without run of unit test and run of integration test
  • release :
    • gpg --use-agent --armor --detach-sign --output $(mktemp) pom.xml
      to avoid issue on macosx with gpg signature see [MGPG-59] GPG Plugin: "gpg: signing failed: Inappropriate ioctl for device" - ASF JIRA
    • ./mvnw release:clean && ./mvnw release:prepare && ./mvnw release:perform
      : to publish on staging repository via plugin
    • ./mvnw release:clean && ./mvnw release:prepare -Darguments="-DskipTests -Dmaven.test.skip=true" && ./mvnw release:perform -Darguments="-DskipTests -Dmaven.test.skip=true"
      to publish without tests (integration test require 30min on CI)
    • ./mvnw site package source:jar javadoc:jar install:install gpg:sign deploy:deploy changes:announcement-generate -Dmaven.test.skip=true -DperformRelease=true
      : manual
    • connect to http://oss.sonatype.org/ close and release the request(about scala-maven-plugin) in staging repositories
    • browse the updated mvnsite (check version into samples, ...)

TODO

  • close issues from https://github.com/davidB/scala-maven-plugin/issues/
  • refactor :
    • reduce copy-paste
    • file path management can be improved (a lot)
    • clean the code

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.