Maven Local Repository Plug-in for the Kobalt build system https://github.com/ethauvin/kobalt-maven-local
Find a file
2017-04-26 15:59:31 -07:00
.idea Kobalt 1.0.69 update. 2017-04-18 17:50:31 -07:00
example Prep for 0.5.3 release. 2017-04-24 14:59:50 -07:00
kobalt Added compileOnly for kobalt-plugin-api dependency. 2017-04-26 15:59:31 -07:00
lib Rebuild IDEA project from scratch. 2017-03-06 14:19:35 -08:00
src/main Removed test template. 2017-03-26 22:59:55 -07:00
.gitattributes Updated to Kobalt 1.0.12 2017-03-15 18:58:23 -07:00
.gitignore Prep for 0.5.3 release. 2017-04-24 14:59:50 -07:00
.travis.yml Added before_cache 2017-03-21 18:43:06 -07:00
kobalt-maven-local.iml Kobalt 1.0.69 update. 2017-04-18 17:50:31 -07:00
kobaltw Moved code from apply {} to init {} 2016-07-20 18:30:44 -07:00
kobaltw.bat Initial commit. 2016-07-20 16:02:48 -07:00
LICENSE.TXT Updated license copyright. 2017-03-08 12:19:23 -08:00
README.md Prep for 0.5.3 release. 2017-04-24 14:59:50 -07:00

Maven Local Repository plug-in for Kobalt

License (3-Clause BSD) Build Status Download

The plug-in will detect the Maven Local Repository location, similarly to Gradle's mavenLocal() repository handler.

To use the plug-in include the following in your Build.kt file:

val bs = buildScript {
    plugins("net.thauvin.erik:kobalt-maven-local:")
}

val p = project {
    name = "example"
}

To publish to the Maven Local Repository use the publishToMavenLocal task:

./kobaltw publishToMavenLocal

View Example

Locations

The plug-in looks for the Maven Local Repository in the following locations:

maven.repo.local

Either as a system property or in the project's local.properties file.

To set the system property use:

./kobaltw -Dmaven.repo.local=~/foo/repository ...

or in local.properties add:

maven.repo.local=~/foo/repository

~/.m2/settings.xml

If <localRepository> is set:

<localRepository>~/foo/repository</localRepository>

$M2_HOME/conf/settings.xml

If the $M2_HOME environment variable and <localRepository> are set.

~/.m2/repository

If the directory exists.