Changes between Version 2 and Version 3 of Nexus


Ignore:
Timestamp:
06/09/15 13:57:53 (9 years ago)
Author:
Twan Goosen
Comment:

updated and extended information

Legend:

Unmodified
Added
Removed
Modified
  • Nexus

    v2 v3  
    33A publicly accessible [http://maven.apache.org/ Maven] repository, intended to be used by the broader CLARIN development community, is available at:
    44
    5 * https://catalog.clarin.eu/ds/nexus/
     5* https://nexus.clarin.eu
    66
    7 Users with a CLARIN website account can log in (username = email address) and use these credentials to deploy artefacts into the repository.
     7Users with a CLARIN website account in the 'developer' role can log in (username = email address) and use these credentials to deploy artefacts into the repository.
     8
     9== Settings for deployment of artifacts ==
     10
     11Use the following in your '''project POM''' files:
     12
     13{{{#!xml
     14<distributionManagement>
     15        <snapshotRepository>
     16                <id>CLARIN</id>
     17                <url>https://nexus.clarin.eu/content/repositories/Clarin</url>
     18        </snapshotRepository>
     19        <repository>
     20                <id>CLARIN-Snapshot</id>
     21                <url>https://nexus.clarin.eu/content/repositories/clarin-snapshot</url>
     22        </repository>
     23</distributionManagement>
     24}}}
     25
     26Add the following sections to your Maven '''settings.xml''' file:
     27
     28{{{#!xml
     29<servers>
     30        ...
     31        <server>
     32                <id>CLARIN</id>
     33                <username>user@institute.org</username>
     34                <password>{....}</password>
     35        </server>
     36
     37        <server>
     38                <id>CLARIN-Snapshot</id>
     39                <username>user@institute.org</username>
     40                <password>{....}</password>
     41        </server>
     42</servers>
     43}}}
     44
     45{{{#!xml
     46<repositories>
     47        ...
     48        <repository>
     49                <id>CLARIN</id>
     50                <name>CLARIN Repository</name>
     51                <url>https://nexus.clarin.eu/content/repositories/Clarin</url>
     52                <snapshots>
     53                        <enabled>false</enabled>
     54                </snapshots>
     55        </repository>
     56        <repository>
     57                <id>CLARIN-Snapshot</id>
     58                <name>CLARIN Snapshot Repository</name>
     59                <url>https://nexus.clarin.eu/content/repositories/clarin-snapshot</url>
     60                <snapshots>
     61                        <enabled>true</enabled>
     62                </snapshots>
     63        </repository>
     64</repositories>
     65
     66}}}
     67
     68'''Store passwords encrypted! ''' See [https://maven.apache.org/guides/mini/guide-encryption.html] for instructions.
    869
    970== More information ==