forked from UniversalMediaServer/UniversalMediaServer
-
Notifications
You must be signed in to change notification settings - Fork 1
Developers
Philippe edited this page Nov 16, 2015
·
6 revisions
This page is ment to keep some commonly used commands by project members to be copy/pasted.
git clone git@github.com:taconaut/ums-mlx.git
cd ums-mlx
mvn external:install
mvn package
Linux: mvn -P linux -P osx package
Select the branch you want to reset to the head of ums and perform following:
git fetch ums
git reset --hard ums/master
git push --force origin <branch_name>
git remote add ums git://github.com/UniversalMediaServer/UniversalMediaServer.git
git fetch ums
git merge ums/master
mvn javadoc:jar source:jar deploy [-Dgpg.passphrase=pass_phrase]
Credentials have to be set in order to deploy artifacts to Sonatype. These are being set in the maven settings.xml file. If a new settings.xml file has to be created, this one can be used:
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>sonatype-nexus-snapshots</id>
<username>your-jira-id</username>
<password>your-jira-pwd</password>
</server>
<server>
<id>sonatype-nexus-staging</id>
<username>your-jira-id</username>
<password>your-jira-pwd</password>
</server>
</servers>
</settings>
It is not required to sign files when deploying them to Sonatype, but it is, when they are being released. This is being done when setting '-Dgpg.passphrase=pass_phrase'. Previously, a key has to be generated and made available.
- Download the gpg key manager (Gpg4Win, OSX GPGTools)
- Generate a key and upload the public key to one of those sites (TODO: add links)
git fetch ums
git reset --hard ums/master
- Download and install DbVisualizer.
- Download latest h2 version
- Replace jdbc driver for 'h2 embedded' in DbVisualizer (tools/driver manager)
Create a new connection in DbVisualizer using following configuration:
- Database driver='h2 embedded'
- URL='jdbc:h2:C:\ProgramData\ums-mlx\db/ums-mlx'
- User='sa'
- Pwd=''