mirror of https://github.com/apache/kafka.git
MINOR: Clarify how to publish specific projects to the local repo (#11938)
The current README instruction for local publishing boils the ocean by building and installing every jar in the project with both 2.12 and 2.13. While that is some times what people want to do, they are also often trying to just build a specific jar. Reviewers: Bill Bejeck <bbejeck@apache.org>
This commit is contained in:
parent
a3adf41d8b
commit
dcd09de1ed
10
README.md
10
README.md
|
@ -180,8 +180,8 @@ Please note for this to work you should create/update user maven settings (typic
|
|||
...
|
||||
|
||||
|
||||
### Installing the jars to the local Maven repository ###
|
||||
The recommended command is:
|
||||
### Installing ALL the jars to the local Maven repository ###
|
||||
The recommended command to build for both Scala 2.12 and 2.13 is:
|
||||
|
||||
./gradlewAll publishToMavenLocal
|
||||
|
||||
|
@ -189,6 +189,12 @@ For backwards compatibility, the following also works:
|
|||
|
||||
./gradlewAll install
|
||||
|
||||
### Installing specific projects to the local Maven repository ###
|
||||
|
||||
./gradlew -PskipSigning :streams:publishToMavenLocal
|
||||
|
||||
If needed, you can specify the Scala version with `-PscalaVersion=2.13`.
|
||||
|
||||
### Building the test jar ###
|
||||
./gradlew testJar
|
||||
|
||||
|
|
Loading…
Reference in New Issue