wiki:Nexus

Version 3 (modified by Twan Goosen, 9 years ago) (diff)

updated and extended information

CLARIN Nexus Maven Repository

A publicly accessible Maven repository, intended to be used by the broader CLARIN development community, is available at:

Users 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.

Settings for deployment of artifacts

Use the following in your project POM files:

<distributionManagement>
        <snapshotRepository>
                <id>CLARIN</id>
                <url>https://nexus.clarin.eu/content/repositories/Clarin</url>
        </snapshotRepository>
        <repository>
                <id>CLARIN-Snapshot</id>
                <url>https://nexus.clarin.eu/content/repositories/clarin-snapshot</url>
        </repository>
</distributionManagement>

Add the following sections to your Maven settings.xml file:

<servers>
        ...
        <server>
                <id>CLARIN</id>
                <username>user@institute.org</username>
                <password>{....}</password>
        </server>

        <server>
                <id>CLARIN-Snapshot</id>
                <username>user@institute.org</username>
                <password>{....}</password>
        </server>
</servers>
<repositories>
        ...
        <repository>
                <id>CLARIN</id>
                <name>CLARIN Repository</name>
                <url>https://nexus.clarin.eu/content/repositories/Clarin</url>
                <snapshots>
                        <enabled>false</enabled>
                </snapshots>
        </repository>
        <repository>
                <id>CLARIN-Snapshot</id>
                <name>CLARIN Snapshot Repository</name>
                <url>https://nexus.clarin.eu/content/repositories/clarin-snapshot</url>
                <snapshots>
                        <enabled>true</enabled>
                </snapshots>
        </repository>
</repositories>

Store passwords encrypted! See https://maven.apache.org/guides/mini/guide-encryption.html for instructions.

More information

If you have questions or remarks, please contact Twan Goosen?.