The Artima Developer Community
Sponsored Link

Java Buzz Forum
Maven Local Repository Plug-in for Kobalt

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Erik C. Thauvin

Posts: 4232
Nickname: ethauvin
Registered: Apr, 2004

Erik C. Thauvin maintains one of the web's first and most popular linkblogs.
Maven Local Repository Plug-in for Kobalt Posted: Jul 23, 2016 4:51 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Erik C. Thauvin.
Original Post: Maven Local Repository Plug-in for Kobalt
Feed Title: Erik's Weblog
Feed URL: http://erik.thauvin.net/blog/feed.jsp?cat=Java
Feed Description: The Truth is Out There!
Latest Java Buzz Posts
Latest Java Buzz Posts by Erik C. Thauvin
Latest Posts From Erik's Weblog

Advertisement
I've released another plug-in for Cédric's Kobalt build system based on Kotlin.

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:
import net.thauvin.erik.kobalt.plugin.maven.local.*
 
val pl = plugins("net.thauvin.erik:kobalt-maven-local:")
 
val p = project {
    name = "example"
}
Use the localMaven() directive to tell Kobalt to look for artifacts in the Maven Local Repository:
val repos = repos(localMaven())
To publish to the Maven Local Repository use the publishToMavenLocal task:
./kobaltw publishToMavenLocal
The plug-in will look for a local repository in these standard Maven locations:
  1. maven.repo.local
  2. ~/.m2/settings.xml
  3. $M2_HOME/conf/settings.xml
  4. ~/.m2/repository
Documentation and source are on GitHub.
 
""

Read: Maven Local Repository Plug-in for Kobalt

Topic: 36% off iProp Bean Bag Universal Tablet Stand - Deal Alert Previous Topic   Next Topic Topic: Exclusive: Oracle to reboot Java EE for the cloud

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use