Am 10.02.2014 00:10, schrieb Rob Weir:
> On Sun, Feb 9, 2014 at 3:58 PM, Svante Schubert
> <[email protected]> wrote:
>> You need to have access to the Maven repository and add the credential
>> to your Maven settings.xml
> It looks like I have access. I can log into repository.apache.org
> with my Apache credentials.
>
> I don't have an ~/.m2/settings.xml file. The website you mentioned
> suggested something like this:
>
> <servers>
> <server>
> <id>snapshots</id>
> <username>deployment</username>
> <password>deployment123</password>
> </server>
> <server>
> <id>releases</id>
> <username>deployment</username>
> <password>deployment123</password>
> </server>
> </servers>
>
>
> Do we do they same, with the <id>'s?
>
Yes, if I remember correctly.
Havn't done it for years, I would have to read in again myself, but
guess Florian did it last time and might remember easier.
By the way, I did not meant "repository.apache.org", I meant the Maven
Central Sonatype repository.
Take a look into the end of the ODFDOM pom.xml, there I wrote the
following comment:
<!-- Profile for deploying to the Sonatype repository, which requires
GPG signatures
see
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven
https://issues.sonatype.org/browse/OSSRH-960
Regards,
Svante