forked from sialcasa/mvvmFX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy_release.sh
executable file
·28 lines (26 loc) · 1023 Bytes
/
deploy_release.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
# Script for the deployment of releases to maven central
#
# Expecting a "settings-mvvmfx.xml" file in maven_home with the authentication configuration for the central repository.
#
# The settings file should look something like this:
#
# <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 USERNAME</username>
# <password>YOUR PASSWORD</password>
# </server>
# <server>
# <id>sonatype-nexus-staging</id>
# <username>YOUR USERNAME</username>
# <password>YOUR PASSWORD</password>
# </server>
# </servers>
# </settings>
mvn clean deploy -pl 'mvvmfx,mvvmfx-cdi,mvvmfx-guice,mvvmfx-archetype,mvvmfx-utils,mvvmfx-testing-utils' -am -DskipTests=true -Pdeploy-release --settings ~/.m2/settings-mvvmfx.xml