-
Notifications
You must be signed in to change notification settings - Fork 1
Sybila Repository
papousek edited this page Jul 1, 2012
·
7 revisions
Add the following code to pom.xml
in your project:
<repositories>
<repository>
<id>sybila-maven-snapshots-http</id>
<url>http://sybila.fi.muni.cz/public/maven/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<updatePolicy>daily</updatePolicy>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>sybila-maven-releases-http</id>
<url>http://sybila.fi.muni.cz/public/maven/releases</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
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:
<servers>
<server>
<id>sybila-maven-snapshots-ssh</id>
<username>xpapous1</username>
<filePermissions>664</filePermissions>
<privateKey>${user.home}/.ssh/id_rsa.misc</privateKey>
<directoryPermissions>775</directoryPermissions>
</server>
<server>
<id>sybila-maven-releases-ssh</id>
<username>xpapous1</username>
<filePermissions>664</filePermissions>
<privateKey>${user.home}/.ssh/id_rsa.misc</privateKey>
<directoryPermissions>775</directoryPermissions>
</server>
<server>
<id>sybila-site-ssh</id>
<username>xpapous1</username>
<filePermissions>664</filePermissions>
<privateKey>${user.home}/.ssh/id_rsa.misc</privateKey>
<directoryPermissions>775</directoryPermissions>
</server>
</servers>
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
.