Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9317861e
Kaydet (Commit)
9317861e
authored
Ara 20, 2015
tarafından
Thorsten Behrens
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
solenv: clarify maven/buck/jar upload howto
Change-Id: Ia8897583ad88f30dfcfbbb36c8d37632bc2877ce
üst
f4fabf42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
12 deletions
+23
-12
README.md
solenv/maven/README.md
+23
-12
No files found.
solenv/maven/README.md
Dosyayı görüntüle @
9317861e
...
...
@@ -6,10 +6,11 @@ API to Maven Central or local Maven repository.
To install LibreOffice API to local Maven repository or deploy the API
to the Maven Central, extra build toolchain is required.
`Ant`
is used to bootstrap
`Buck`
build tool.
`Buck`
build tool is used to
build sources and javadocs for the API and install or deploy the artifacts
to Maven repository.
`Maven`
commands are invoked for that from within
`Buck`
driven build. To be able to upload the API to Maven Central, access
`Ant`
is used to bootstrap
`Buck`
build tool.
`Buck`
build tool is
used to build sources and javadocs for the API and install or deploy
the artifacts to Maven repository.
`Maven`
commands are invoked for
that from within
`Buck`
driven build - so make sure you've maven
installed, too. To be able to upload the API to Maven Central, access
must be granted to LibreOffice project on OSSRH.
...
...
@@ -173,11 +174,15 @@ account to be able to upload artifacts to Maven Central.
*
Configure your Sonatype user and password in
`~/.m2/settings.xml`
:
----
<server>
<id>
sonatype-nexus-staging
</id>
<username>
USER
</username>
<password>
PASSWORD
</password>
</server>
<settings>
<servers>
<server>
<id>
sonatype-nexus-staging
</id>
<username>
USER
</username>
<password>
PASSWORD
</password>
</server>
</servers>
</settings>
----
*
Request permissions to upload artifacts to the
`org.libreoffice`
...
...
@@ -202,7 +207,9 @@ while until it is visible to the Sonatype server.
The PGP key is needed to be able to sign the artifacts before the
upload to Maven Central.
The PGP passphrase can be put in
`~/.m2/settings.xml`
:
The PGP passphrase can be put in
`~/.m2/settings.xml`
, or
alternatively make gpg use the agent to provide and cache the
credentials:
----
<settings>
...
...
@@ -212,6 +219,8 @@ The PGP passphrase can be put in `~/.m2/settings.xml`:
<properties>
<gpg
.
executable
>
gpg2
</gpg
.executable
>
<gpg
.
passphrase
>
mypassphrase
</gpg
.passphrase
>
<gpg
.
keyname
>
mykeynameoremail
</gpg
.keyname
>
<gpg
.
useAgent
>
true
</gpg
.useAgent
>
</properties>
</profile>
</profiles>
...
...
@@ -246,10 +255,12 @@ Build LibreOffice as usually, so that API JARs are created.
== Publish the LibreOffice artifacts to local Maven repository
Execute this command to install LibreOffice API to local Maven repository:
Execute this command to install LibreOffice API to your local Maven
repository. For troubleshooting, the environment variable
`VERBOSE`
can be set:
----
buck build api_install
VERBOSE=1
buck build api_install
----
Once executed, he local Maven respoitory contains the LibreOffice API
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment