Skip to content

Sybila Repository

papousek edited this page Jan 2, 2013 · 7 revisions

Resolve Dependencies

Add the following code to pom.xml in your project:

<distributionManagement>
    <snapshotRepository>
        <id>sybila-cloudbees-snapshots</id>
        <name>Maven snapshot repository hosted on cloudbees</name>
        <url>dav:https://repository-sybila.forge.cloudbees.com/snapshot/</url>
        <uniqueVersion>false</uniqueVersion>
    </snapshotRepository>
    <repository>
        <id>sybila-cloudbees-releases</id>
        <name>Maven release repository hosted on cloudbees</name>
        <url>dav:https://repository-sybila.forge.cloudbees.com/release</url>
    </repository>
</distributionManagement>

Deployment

You have to have access to anna.fi.muni.cz server (be a member of Sybila laboratory). Open ~/.m2/settings.xml file (on Linux) or C:\Documents and Settings\your username\.m2\settings.xml (on Windows, the path can't contain space character). If the file doesn't exist, create it. Copy the following text to the settings.xml file:

<server>
    <id>sybila-cloudbees-snapshots</id>
    <username>sybila</username>
    <password><!-- PASSWORD --></password>
</server>
<server>
    <id>sybila-cloudbees-releases</id>
    <username>sybila</username>
    <password><!-- PASSWORD --></password>
</server>

Now if your project has parasim-parent as a parent (use <parent></parent> element in pom.xml), you can deploy your project using mvn deploy.