Giter Site home page Giter Site logo

acote-coveo / scala-maven-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davidb/scala-maven-plugin

0.0 0.0 0.0 1.43 MB

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

Home Page: https://davidb.github.io/scala-maven-plugin/

License: The Unlicense

Java 92.97% Scala 0.64% Groovy 2.79% Kotlin 0.01% CSS 3.59%

scala-maven-plugin's Introduction

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

scala-maven-plugin's People

Contributors

davidb avatar dependabot[bot] avatar slandelle avatar dependabot-support avatar jsuereth avatar dependabot-preview[bot] avatar pvlugter avatar jstrachan avatar isomarcte avatar justwrote avatar jthurne avatar gzm55 avatar mephi42 avatar cmsr avatar indrajitr avatar brandonbyskov avatar sullis avatar pzygielo avatar pvodra avatar sirmax avatar matthewedge avatar liry avatar evantill avatar bennetelli avatar klaren avatar ashawley avatar ahcodedthat avatar scrapcodes avatar rajcspsg avatar robsonpeixoto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.