Skip to content

PatrickSauts/play235-scala211-scoverage-rpm-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Play framework 2.35 with scala 2.11.2 scoverage rpm maven-site

Dependencies are handled by maven

Introduction

Why this project - maven integration in an IDE is far better than sbt integration

Features

  • Multi modules dependencies don't need to be installed inside eclipse + update dependencies without re-importing or running play eclipse ...
  • This project aim to industrialize play2 akka with maven
  • Single versions modules (modules use the parent version) - use mvn version plugin for versionning

Import in eclipse

  • Import existing maven project

  • Install Scala IDE from update site Kepler or dev update site Kepler or dev update site Juno

    - Add update site
    - Choose Scala IDE and Scala IDE Plugins
    - Continue and finish install
    
  • Add scala project nature on project module

          Right click on module project go to the end Configure --> Add Scala Nature
    

Install first

	mvn clean install

launch

	./activator start/stop

or

	mvn play2:start/stop

Hot reload with debugging

	$ ./activator -jvm-debug 9999 ~run

Build rpm package (tested on centos for centos needs rpmbuild)

	./activator rpm:packageBin

or

	mvn package -P with-rpm

Produce rpm and deploy it with your jars (code and source code) to your repository

	mvn deploy -P with-rpm
  • uses a different repository for snapshots and releases

Produce reporting maven-site with scala doc and scoverage (code coverage)

	mvn site site:deploy

No duplicate jars between maven local repo and ivy local repo

  • sbt will check ivy local repository then maven local repository for dependencies then standard sbt scala repositories

Big Thanks to gslowikowski who developed most of the plugins used here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages